KERB_CRYPTO_KEY structure (ntsecapi.h)

The KERB_CRYPTO_KEY structure contains information about a Kerberos cryptographic session key.

Syntax

typedef struct KERB_CRYPTO_KEY {
  LONG   KeyType;
  ULONG  Length;
  PUCHAR Value;
} KERB_CRYPTO_KEY, *PKERB_CRYPTO_KEY;

Members

KeyType

Indicates the type of session key stored in the structure. It can be one of the following values.

Value Meaning
KERB_ETYPE_DES_CBC_CRC
Use DES encryption in cipher-block-chaining mode with a CRC-32 checksum.
KERB_ETYPE_DES_CBC_MD4
Use DES encryption in cipher-block-chaining mode with a MD4 checksum.
KERB_ETYPE_DES_CBC_MD5
Use DES encryption in cipher-block-chaining mode with a MD5 checksum.
KERB_ETYPE_NULL
Use no encryption.
KERB_ETYPE_RC4_HMAC_NT
Use the RC4 stream cipher with a hash-based Message Authentication Code (MAC).
KERB_ETYPE_RC4_MD4
Use the RC4 stream cipher with the MD4 hash function.
 

Values greater than 127 are reserved for local values and may change without notice.

Length

Specifies the length, in bytes, of the cryptographic session key.

Value

Contains the cryptographic session key.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h