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 |
---|---|
|
Use DES encryption in cipher-block-chaining mode with a CRC-32 checksum. |
|
Use DES encryption in cipher-block-chaining mode with a MD4 checksum. |
|
Use DES encryption in cipher-block-chaining mode with a MD5 checksum. |
|
Use no encryption. |
|
Use the RC4 stream cipher with a hash-based Message Authentication Code (MAC). |
|
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 |