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 one of the values in the following table.

Value

Meaning

62

The encrypted data contains a KRB_AS_REP message.

63

The encrypted data contains a KRB_TGS_REP message.

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.