Partager via


2.2.1.2.1 KERB_ASN1_DATA

The KERB_ASN1_DATA structure is used to pack standards-compliant, predefined Kerberos structures, avoiding additional overhead incurred by a custom data type in the Kerberos Interface Definition Languages (IDLs) file.

 typedef struct _KERB_ASN1_DATA {
     ULONG Pdu;
     ULONG32 Length;
     [size_is(Length)] PUCHAR Asn1Buffer;
 } KERB_ASN1_DATA;

Pdu: A ULONG ([MS-DTYP] section 2.2.51) that contains the protocol data unit (PDU) that is used to decode the data. MUST be zero and SHOULD be ignored.<1>

Length: A ULONG32 ([MS-DTYP] section 2.2.53) that indicates the length of the Asn1Buffer field. 

Asn1Buffer: A pointer to a UCHAR ([MS-DTYP] section 2.2.45) that is an array of characters that contains the encoded data.