Documentation ¶
Index ¶
- Variables
- func ISDKeyServerHandle(ctx context.Context, o ISDKeyServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewISDKeyServerHandle(o ISDKeyServer) dcerpc.ServerHandle
- func RegisterISDKeyServer(conn dcerpc.Conn, o ISDKeyServer, opts ...dcerpc.Option)
- type GetKeyRequest
- type GetKeyResponse
- type ISDKeyClient
- type ISDKeyServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Syntax UUID ISDKeySyntaxUUID = &uuid.UUID{TimeLow: 0xb9785960, TimeMid: 0x524f, TimeHiAndVersion: 0x11df, ClockSeqHiAndReserved: 0x8b, ClockSeqLow: 0x6d, Node: [6]uint8{0x83, 0xdc, 0xde, 0xd7, 0x20, 0x85}} // Syntax ID ISDKeySyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: ISDKeySyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "gkdi"
)
Functions ¶
func ISDKeyServerHandle ¶
func NewISDKeyServerHandle ¶
func NewISDKeyServerHandle(o ISDKeyServer) dcerpc.ServerHandle
func RegisterISDKeyServer ¶
func RegisterISDKeyServer(conn dcerpc.Conn, o ISDKeyServer, opts ...dcerpc.Option)
Types ¶
type GetKeyRequest ¶
type GetKeyRequest struct { // cbTargetSD: This parameter is equal to the length, in bytes, of the security descriptor // supplied in pbTargetSD. TargetSDLength uint32 `idl:"name:cbTargetSD" json:"target_sd_length"` // pbTargetSD: This parameter is a pointer to the security descriptor for which the // group key is being requested. TargetSD []byte `idl:"name:pbTargetSD;size_is:(cbTargetSD);pointer:ref" json:"target_sd"` // pRootKeyID: This parameter represents the root key identifier of the requested key. // It can be set to NULL. RootKeyID *dtyp.GUID `idl:"name:pRootKeyID;pointer:unique" json:"root_key_id"` // L0KeyID: This parameter represents the L0 index of the requested group key. It MUST // be a signed 32-bit integer greater than or equal to -1. L0KeyID int32 `idl:"name:L0KeyID" json:"l0_key_id"` // L1KeyID: This parameter represents the L1 index of the requested group key. It MUST // be a signed 32-bit integer between -1 and 31 (inclusive). L1KeyID int32 `idl:"name:L1KeyID" json:"l1_key_id"` // L2KeyID: This parameter represents the L2 index of the requested group key. It MUST // be a 32-bit integer between -1 and 31 (inclusive). L2KeyID int32 `idl:"name:L2KeyID" json:"l2_key_id"` }
GetKeyRequest structure represents the GetKey operation request
func (*GetKeyRequest) MarshalNDR ¶
func (*GetKeyRequest) UnmarshalNDR ¶
type GetKeyResponse ¶
type GetKeyResponse struct { // pcbOut: This parameter is an unsigned, 32-bit integer. It MUST be equal to the length, // in bytes, of the data returned in ppbOut. OutLength uint32 `idl:"name:pcbOut" json:"out_length"` // ppbOut: On successful processing of a request, the server MUST set this to a pointer // that refers to the output key binary large object (BLOB), as specified in section // 2.2.4. Out []byte `idl:"name:ppbOut;size_is:(, pcbOut)" json:"out"` // Return: The GetKey return value. Return int32 `idl:"name:Return" json:"return"` }
GetKeyResponse structure represents the GetKey operation response
func (*GetKeyResponse) MarshalNDR ¶
func (*GetKeyResponse) UnmarshalNDR ¶
type ISDKeyClient ¶
type ISDKeyClient interface { // The syntax for the GetKey (Opnum 0) method consists of the following. // // Return Values: The server MUST return zero if it successfully processes the message // received from the client; otherwise, it MUST return a nonzero value. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetKey(context.Context, *GetKeyRequest, ...dcerpc.CallOption) (*GetKeyResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error }
ISDKey interface.
func NewISDKeyClient ¶
type ISDKeyServer ¶
type ISDKeyServer interface { // The syntax for the GetKey (Opnum 0) method consists of the following. // // Return Values: The server MUST return zero if it successfully processes the message // received from the client; otherwise, it MUST return a nonzero value. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error) }
ISDKey server interface.
Click to show internal directories.
Click to hide internal directories.