Extended kerberos key types

This commit is contained in:
MichaelGrafnetter 2016-11-17 12:01:50 +01:00
parent cad6cd1c9d
commit 63a1d00686
1 changed files with 25 additions and 4 deletions

View File

@ -1,11 +1,32 @@

namespace DSInternals.Common.Data
{
/// <summary>
/// Key types corresponding to various kerberos encryption types, as defined in ntsecapi.h.
/// </summary>
public enum KerberosKeyType : int
{
DES_CBC_CRC = 1,
DES_CBC_MD5 = 3,
AES128_CTS_HMAC_SHA1_96 = 17,
AES256_CTS_HMAC_SHA1_96 = 18
NULL = 0,
DES_CBC_CRC = 1,
DES_CBC_MD4 = 2,
DES_CBC_MD5 = 3,
AES128_CTS_HMAC_SHA1_96 = 17,
AES256_CTS_HMAC_SHA1_96 = 18,
DES_CBC_MD5_NT = 20,
RC4_HMAC_NT = 23,
RC4_HMAC_NT_EXP = 24,
RC4_MD4 = -128,
RC4_PLAIN2 = -129,
RC4_LM = -130,
RC4_SHA = -131,
DES_PLAIN = -132,
RC4_HMAC_OLD = -133,
RC4_PLAIN_OLD = -134,
RC4_HMAC_OLD_EXP = -135,
RC4_PLAIN_OLD_EXP = -136,
RC4_PLAIN = -140,
RC4_PLAIN_EXP = -141,
AES128_CTS_HMAC_SHA1_96_PLAIN = -148,
AES256_CTS_HMAC_SHA1_96_PLAIN = -149
}
}