Documentation ¶
Index ¶
- Variables
- func BitsPeerAuthServerHandle(ctx context.Context, o BitsPeerAuthServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewBitsPeerAuthServerHandle(o BitsPeerAuthServer) dcerpc.ServerHandle
- func RegisterBitsPeerAuthServer(conn dcerpc.Conn, o BitsPeerAuthServer, opts ...dcerpc.Option)
- type BitsPeerAuthClient
- type BitsPeerAuthServer
- type ExchangePublicKeysRequest
- type ExchangePublicKeysResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Syntax UUID BitsPeerAuthSyntaxUUID = &uuid.UUID{TimeLow: 0xe3d0d746, TimeMid: 0xd2af, TimeHiAndVersion: 0x40fd, ClockSeqHiAndReserved: 0x8a, ClockSeqLow: 0x7a, Node: [6]uint8{0xd, 0x70, 0x78, 0xbb, 0x70, 0x92}} // Syntax ID BitsPeerAuthSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: BitsPeerAuthSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "bpau"
)
Functions ¶
func NewBitsPeerAuthServerHandle ¶
func NewBitsPeerAuthServerHandle(o BitsPeerAuthServer) dcerpc.ServerHandle
func RegisterBitsPeerAuthServer ¶
func RegisterBitsPeerAuthServer(conn dcerpc.Conn, o BitsPeerAuthServer, opts ...dcerpc.Option)
Types ¶
type BitsPeerAuthClient ¶
type BitsPeerAuthClient interface { // Return Values: An HRESULT indicating return status. See [MS-ERREF] for details of // the HRESULT type. // // ERROR_SUCCESS (0x00000000) // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ExchangePublicKeys(context.Context, *ExchangePublicKeysRequest, ...dcerpc.CallOption) (*ExchangePublicKeysResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error }
BitsPeerAuth interface.
func NewBitsPeerAuthClient ¶
type BitsPeerAuthServer ¶
type BitsPeerAuthServer interface { // Return Values: An HRESULT indicating return status. See [MS-ERREF] for details of // the HRESULT type. // // ERROR_SUCCESS (0x00000000) // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ExchangePublicKeys(context.Context, *ExchangePublicKeysRequest) (*ExchangePublicKeysResponse, error) }
BitsPeerAuth server interface.
type ExchangePublicKeysRequest ¶
type ExchangePublicKeysRequest struct { // ClientKeyLength: Length of the client's local certificate, or zero if ClientKey is // NULL. ClientKeyLength uint32 `idl:"name:ClientKeyLength" json:"client_key_length"` // ClientKey: The client's local certificate, encoded as a CERTIFICATE_BLOB (section // 2.2.2). If NULL, the client is choosing not to send a certificate. ClientKey []byte `idl:"name:ClientKey;size_is:(ClientKeyLength);pointer:unique" json:"client_key"` }
ExchangePublicKeysRequest structure represents the ExchangePublicKeys operation request
func (*ExchangePublicKeysRequest) MarshalNDR ¶
func (*ExchangePublicKeysRequest) UnmarshalNDR ¶
type ExchangePublicKeysResponse ¶
type ExchangePublicKeysResponse struct { // pServerKeyLength: On output, the length of the server's local certificate. Set to // zero if the return value is nonzero, or if pServerKey is NULL. ServerKeyLength uint32 `idl:"name:pServerKeyLength;pointer:ref" json:"server_key_length"` // pServerKey: On output, the server's local certificate, encoded as a CERTIFICATE_BLOB // (section 2.2.2). If NULL, the server is choosing not to return a certificate. Set // to NULL if the return value is nonzero. Ignored on the client if the method returns // an error or throws an exception. ServerKey []byte `idl:"name:pServerKey;size_is:(, pServerKeyLength);pointer:ref" json:"server_key"` // Return: The ExchangePublicKeys return value. Return int32 `idl:"name:Return" json:"return"` }
ExchangePublicKeysResponse structure represents the ExchangePublicKeys operation response
func (*ExchangePublicKeysResponse) MarshalNDR ¶
func (*ExchangePublicKeysResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.