etypeID

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package etypeID provides Kerberos 5 encryption type assigned numbers.

Index

Constants

View Source
const (
	//RESERVED : 0
	DES_CBC_CRC                  = 1
	DES_CBC_MD4                  = 2
	DES_CBC_MD5                  = 3
	DES_CBC_RAW                  = 4
	DES3_CBC_MD5                 = 5
	DES3_CBC_RAW                 = 6
	DES3_CBC_SHA1                = 7
	DES_HMAC_SHA1                = 8
	DSAWITHSHA1_CMSOID           = 9
	MD5WITHRSAENCRYPTION_CMSOID  = 10
	SHA1WITHRSAENCRYPTION_CMSOID = 11
	RC2CBC_ENVOID                = 12
	RSAENCRYPTION_ENVOID         = 13
	RSAES_OAEP_ENV_OID           = 14
	DES_EDE3_CBC_ENV_OID         = 15
	DES3_CBC_SHA1_KD             = 16
	AES128_CTS_HMAC_SHA1_96      = 17
	AES256_CTS_HMAC_SHA1_96      = 18
	AES128_CTS_HMAC_SHA256_128   = 19
	AES256_CTS_HMAC_SHA384_192   = 20
	//UNASSIGNED : 21-22
	RC4_HMAC             = 23
	RC4_HMAC_EXP         = 24
	CAMELLIA128_CTS_CMAC = 25
	CAMELLIA256_CTS_CMAC = 26
	//UNASSIGNED : 27-64
	SUBKEY_KEYMATERIAL = 65
)

Kerberos encryption type assigned numbers.

Variables

View Source
var ETypesByName = map[string]int{
	"des-cbc-crc":                  DES_CBC_CRC,
	"des-cbc-md4":                  DES_CBC_MD4,
	"des-cbc-md5":                  DES_CBC_MD5,
	"des-cbc-raw":                  DES_CBC_RAW,
	"des3-cbc-md5":                 DES3_CBC_MD5,
	"des3-cbc-raw":                 DES3_CBC_RAW,
	"des3-cbc-sha1":                DES3_CBC_SHA1,
	"des3-hmac-sha1":               DES_HMAC_SHA1,
	"des3-cbc-sha1-kd":             DES3_CBC_SHA1_KD,
	"des-hmac-sha1":                DES_HMAC_SHA1,
	"dsaWithSHA1-CmsOID":           DSAWITHSHA1_CMSOID,
	"md5WithRSAEncryption-CmsOID":  MD5WITHRSAENCRYPTION_CMSOID,
	"sha1WithRSAEncryption-CmsOID": SHA1WITHRSAENCRYPTION_CMSOID,
	"rc2CBC-EnvOID":                RC2CBC_ENVOID,
	"rsaEncryption-EnvOID":         RSAENCRYPTION_ENVOID,
	"rsaES-OAEP-ENV-OID":           RSAES_OAEP_ENV_OID,
	"des-ede3-cbc-Env-OID":         DES_EDE3_CBC_ENV_OID,
	"aes128-cts-hmac-sha1-96":      AES128_CTS_HMAC_SHA1_96,
	"aes128-cts":                   AES128_CTS_HMAC_SHA1_96,
	"aes128-sha1":                  AES128_CTS_HMAC_SHA1_96,
	"aes256-cts-hmac-sha1-96":      AES256_CTS_HMAC_SHA1_96,
	"aes256-cts":                   AES128_CTS_HMAC_SHA1_96,
	"aes256-sha1":                  AES128_CTS_HMAC_SHA1_96,
	"aes128-cts-hmac-sha256-128":   AES128_CTS_HMAC_SHA256_128,
	"aes128-sha2":                  AES128_CTS_HMAC_SHA256_128,
	"aes256-cts-hmac-sha384-192":   AES256_CTS_HMAC_SHA384_192,
	"aes256-sha2":                  AES256_CTS_HMAC_SHA384_192,
	"arcfour-hmac":                 RC4_HMAC,
	"rc4-hmac":                     RC4_HMAC,
	"arcfour-hmac-md5":             RC4_HMAC,
	"arcfour-hmac-exp":             RC4_HMAC_EXP,
	"rc4-hmac-exp":                 RC4_HMAC_EXP,
	"arcfour-hmac-md5-exp":         RC4_HMAC_EXP,
	"camellia128-cts-cmac":         CAMELLIA128_CTS_CMAC,
	"camellia128-cts":              CAMELLIA128_CTS_CMAC,
	"camellia256-cts-cmac":         CAMELLIA256_CTS_CMAC,
	"camellia256-cts":              CAMELLIA256_CTS_CMAC,
	"subkey-keymaterial":           SUBKEY_KEYMATERIAL,
}

ETypesByName is a map of EncType names to their assigned EncType number.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL