Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

functions

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/e3d0d746-d2af-40fd-8a7a-0d7078bb7092/1.0/functions"

Index

func ExchangePublicKeys

func ExchangePublicKeys(rpc ndr.Invoker, clientKey []byte) ([]byte, error)

ExchangePublicKeys calls ExchangePublicKeys (opnum 0) ([MS-BPAU] 3.2.4.1). The client offers its local certificate (a CERTIFICATE_BLOB, [MS-BPAU] 2.2.2) in clientKey — pass nil to decline — and receives the server’s certificate blob in return. The method returns an HRESULT; ERROR_SUCCESS (0x00000000) is success, and the server returns 0x80070005 (E_ACCESSDENIED) when the caller’s Kerberos identity is not trusted.