Add KMIP 1.4 enumerations

This change updates the set of supported enumerations to include
those added by KMIP 1.4
This commit is contained in:
Peter Hamilton 2017-08-15 16:07:28 -04:00
parent 5758c6dd1e
commit a11bb8da05
1 changed files with 638 additions and 284 deletions

View File

@ -119,6 +119,7 @@ class BlockCipherMode(enum.Enum):
X9_102_TDKW = 0x0000000F
X9_102_AKW1 = 0x00000010
X9_102_AKW2 = 0x00000011
AEAD = 0x00000012
class CancellationResult(enum.Enum):
@ -137,24 +138,19 @@ class CertificateRequestType(enum.Enum):
class CertificateTypeEnum(enum.Enum):
"""
The type of a Certificate Managed Object.
For more information, see Section 2.2.1 of the KMIP 1.1 specification.
"""
X_509 = 0x00000001
PGP = 0x00000002
PGP = 0x00000002 # Deprecated as of KMIP 1.4
class ClientRegistrationMethod(enum.Enum):
UNSPECIFIED = 0x00000001
SERVER_PREGENERATED = 0x00000002
SERVER_ON_DEMAND = 0x00000003
CLIENT_GENERATED = 0x00000004
CLIENT_REGISTERED = 0x00000005
class ConformanceClause(enum.Enum):
"""
The specification of KMIP features supported by KMIP clients and servers.
The conformance clause defines the KMIP objects and operations that need
to be supported for a specific feature set. The clause is one of two core
components that make up a KMIP client/server profile. For more information,
see Section 5 of the KMIP 1.1 profiles document.
"""
DISCOVER_VERSIONS = 1
BASELINE = 2
SECRET_DATA = 3
@ -201,6 +197,20 @@ class CryptographicAlgorithm(enum.Enum):
SKIPJACK = 0x00000018
TWOFISH = 0x00000019
EC = 0x0000001A
ONE_TIME_PAD = 0x0000001B
CHACHA20 = 0x0000001C
POLY1305 = 0x0000001D
CHACHA20_POLY1305 = 0x0000001E
SHA3_224 = 0x0000001F
SHA3_256 = 0x00000020
SHA3_384 = 0x00000021
SHA3_512 = 0x00000022
HMAC_SHA3_224 = 0x00000023
HMAC_SHA3_256 = 0x00000024
HMAC_SHA3_384 = 0x00000025
HMAC_SHA3_512 = 0x00000026
SHAKE_128 = 0x00000027
SHAKE_256 = 0x00000028
class CryptographicUsageMask(enum.Enum):
@ -234,6 +244,17 @@ class DerivationMethod(enum.Enum):
NIST800_108_C = 0x00000005
NIST800_108_F = 0x00000006
NIST800_108_DPI = 0x00000007
ASYMMETRIC_KEY = 0x00000008
class DestroyAction(enum.Enum):
UNSPECIFIED = 0x00000001
KEY_MATERIAL_DELETED = 0x00000002
KEY_MATERIAL_SHREDDED = 0x00000003
METADATA_DELETED = 0x00000004
METADATA_SHREDDED = 0x00000005
DELETED = 0x00000006
SHREDDED = 0x00000007
class DigitalSignatureAlgorithm(enum.Enum):
@ -253,6 +274,17 @@ class DigitalSignatureAlgorithm(enum.Enum):
ECDSA_WITH_SHA256 = 0x0000000E
ECDSA_WITH_SHA384 = 0x0000000F
ECDSA_WITH_SHA512 = 0x00000010
SHA3_256_WITH_RSA_ENCRYPTION = 0x00000011
SHA3_384_WITH_RSA_ENCRYPTION = 0x00000012
SHA3_512_WITH_RSA_ENCRYPTION = 0x00000013
class DRBGAlgorithm(enum.Enum):
UNSPECIFIED = 0x00000001
DUAL_EC = 0x00000002
HASH = 0x00000003
HMAC = 0x00000004
CTR = 0x00000005
class EncodingOption(enum.Enum):
@ -260,6 +292,16 @@ class EncodingOption(enum.Enum):
TTLV_ENCODING = 0x00000002
class FIPS186Variation(enum.Enum):
UNSPECIFIED = 0x00000001
GP_X_ORIGINAL = 0x00000002
GP_X_CHANGE_NOTICE = 0x00000003
X_ORIGINAL = 0x00000004
X_CHANGE_NOTICE = 0x00000005
K_ORIGINAL = 0x00000006
K_CHANGE_NOTICE = 0x00000007
class HashingAlgorithm(enum.Enum):
MD2 = 0x00000001
MD4 = 0x00000002
@ -274,6 +316,10 @@ class HashingAlgorithm(enum.Enum):
WHIRLPOOL = 0x0000000B
SHA_512_224 = 0x0000000C
SHA_512_256 = 0x0000000D
SHA3_224 = 0x0000000E
SHA3_256 = 0x0000000F
SHA3_384 = 0x00000010
SHA3_512 = 0x00000011
class KeyCompressionType(enum.Enum):
@ -297,12 +343,15 @@ class KeyFormatType(enum.Enum):
TRANSPARENT_RSA_PUBLIC_KEY = 0x0000000B
TRANSPARENT_DH_PRIVATE_KEY = 0x0000000C
TRANSPARENT_DH_PUBLIC_KEY = 0x0000000D
TRANSPARENT_ECDSA_PRIVATE_KEY = 0x0000000E
TRANSPARENT_ECDSA_PUBLIC_KEY = 0x0000000F
TRANSPARENT_ECDH_PRIVATE_KEY = 0x00000010
TRANSPARENT_ECDH_PUBLIC_KEY = 0x00000011
TRANSPARENT_ECMQV_PRIVATE_KEY = 0x00000012
TRANSPARENT_ECMQV_PUBLIC_KEY = 0x00000013
TRANSPARENT_ECDSA_PRIVATE_KEY = 0x0000000E # Deprecated as of KMIP 1.4
TRANSPARENT_ECDSA_PUBLIC_KEY = 0x0000000F # Deprecated as of KMIP 1.4
TRANSPARENT_ECDH_PRIVATE_KEY = 0x00000010 # Deprecated as of KMIP 1.4
TRANSPARENT_ECDH_PUBLIC_KEY = 0x00000011 # Deprecated as of KMIP 1.4
TRANSPARENT_ECMQV_PRIVATE_KEY = 0x00000012 # Deprecated as of KMIP 1.4
TRANSPARENT_ECMQV_PUBLIC_KEY = 0x00000013 # Deprecated as of KMIP 1.4
TRANSPARENT_EC_PRIVATE_KEY = 0x00000014
TRANSPARENT_EC_PUBLIC_KEY = 0x00000015
PKCS_12 = 0x00000016
class KeyRoleType(enum.Enum):
@ -327,6 +376,9 @@ class KeyRoleType(enum.Enum):
PVKIBM = 0x00000013
PVKPVV = 0x00000014
PVKOTH = 0x00000015
DUKPT = 0x00000016
IV = 0x00000017
TRKBK = 0x00000018
class KeyValueLocationType(enum.Enum):
@ -334,6 +386,11 @@ class KeyValueLocationType(enum.Enum):
URI = 0x00000002
class KeyWrapType(enum.Enum):
NOT_WRAPPED = 0x00000001
AS_REGISTERED = 0x00000002
class LinkType(enum.Enum):
CERTIFICATE_LINK = 0x00000101
PUBLIC_KEY_LINK = 0x00000102
@ -346,6 +403,12 @@ class LinkType(enum.Enum):
CHILD_LINK = 0x00000109
PREVIOUS_LINK = 0x0000010A
NEXT_LINK = 0x0000010B
PKCS12_CERTIFICATE_LINK = 0x0000010C
PKCS12_PASSWORD_LINK = 0x0000010D
class MaskGenerator(enum.Enum):
MGF1 = 0x00000001
class NameType(enum.Enum):
@ -364,7 +427,7 @@ class ObjectType(enum.Enum):
PUBLIC_KEY = 0x00000003
PRIVATE_KEY = 0x00000004
SPLIT_KEY = 0x00000005
TEMPLATE = 0x00000006
TEMPLATE = 0x00000006 # Deprecated as of KMIP 1.3
SECRET_DATA = 0x00000007
OPAQUE_DATA = 0x00000008
PGP_KEY = 0x00000009
@ -418,6 +481,8 @@ class Operation(enum.Enum):
HASH = 0x00000027
CREATE_SPLIT_KEY = 0x00000028
JOIN_SPLIT_KEY = 0x00000029
IMPORT = 0x0000002A
EXPORT = 0x0000002B
class PaddingMethod(enum.Enum):
@ -439,6 +504,165 @@ class Policy(enum.Enum):
DISALLOW_ALL = "Disallow All"
class ProfileName(enum.Enum):
BASELINE_SERVER_BASIC_KMIPv12 = 0x00000001
BASELINE_SERVER_TLSv12_KMIPv12 = 0x00000002
BASELINE_CLIENT_BASIC_KMIPv12 = 0x00000003
BASELINE_CLIENT_TLSv12_KMIPv12 = 0x00000004
COMPLETE_SERVER_BASIC_KMIPv12 = 0x00000005
COMPLETE_SERVER_TLSv12_KMIPv12 = 0x00000006
TAPE_LIBRARY_CLIENT_KMIPv10 = 0x00000007
TAPE_LIBRARY_CLIENT_KMIPv11 = 0x00000008
TAPE_LIBRARY_CLIENT_KMIPv12 = 0x00000009
TAPE_LIBRARY_SERVER_KMIPv10 = 0x0000000A
TAPE_LIBRARY_SERVER_KMIPv11 = 0x0000000B
TAPE_LIBRARY_SERVER_KMIPv12 = 0x0000000C
SYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv10 = 0x0000000D
SYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv11 = 0x0000000E
SYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv12 = 0x0000000F
SYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv10 = 0x00000010
SYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv11 = 0x00000011
SYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv12 = 0x00000012
ASYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv10 = 0x00000013
ASYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv11 = 0x00000014
ASYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv12 = 0x00000015
ASYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv10 = 0x00000016
ASYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv11 = 0x00000017
ASYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv12 = 0x00000018
BASIC_CRYPTOGRAPHIC_CLIENT_KMIPv12 = 0x00000019
BASIC_CRYPTOGRAPHIC_SERVER_KMIPv12 = 0x0000001A
ADVANCED_CRYPTOGRAPHIC_CLIENT_KMIPv12 = 0x0000001B
ADVANCED_CRYPTOGRAPHIC_SERVER_KMIPv12 = 0x0000001C
RNG_CRYPTOGRAPHIC_CLIENT_KMIPv12 = 0x0000001D
RNG_CRYPTOGRAPHIC_SERVER_KMIPv12 = 0x0000001E
BASIC_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv10 = 0x0000001F
INTERMEDIATE_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv10 = 0x00000020
ADVANCED_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv10 = 0x00000021
BASIC_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv11 = 0x00000022
INTERMEDIATE_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv11 = 0x00000023
ADVANCED_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv11 = 0x00000024
BASIC_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv12 = 0x00000025
INTERMEDIATE_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv12 = 0x00000026
ADVANCED_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv12 = 0x00000027
SYMMETRIC_KEY_FOUNDRY_SERVER_KMIPv10 = 0x00000028
SYMMETRIC_KEY_FOUNDRY_SERVER_KMIPv11 = 0x00000029
SYMMETRIC_KEY_FOUNDRY_SERVER_KMIPv12 = 0x0000002A
OPAQUE_MANAGED_OBJECT_STORE_CLIENT_KMIPv10 = 0x0000002B
OPAQUE_MANAGED_OBJECT_STORE_CLIENT_KMIPv11 = 0x0000002C
OPAQUE_MANAGED_OBJECT_STORE_CLIENT_KMIPv12 = 0x0000002D
OPAQUE_MANAGED_OBJECT_STORE_SERVER_KMIPv10 = 0x0000002E
OPAQUE_MANAGED_OBJECT_STORE_SERVER_KMIPv11 = 0x0000002F
OPAQUE_MANAGED_OBJECT_STORE_SERVER_KMIPv12 = 0x00000030
SUITE_B_MINLOS_128_CLIENT_KMIPv10 = 0x00000031
SUITE_B_MINLOS_128_CLIENT_KMIPv11 = 0x00000032
SUITE_B_MINLOS_128_CLIENT_KMIPv12 = 0x00000033
SUITE_B_MINLOS_128_SERVER_KMIPv10 = 0x00000034
SUITE_B_MINLOS_128_SERVER_KMIPv11 = 0x00000035
SUITE_B_MINLOS_128_SERVER_KMIPv12 = 0x00000036
SUITE_B_MINLOS_192_CLIENT_KMIPv10 = 0x00000037
SUITE_B_MINLOS_192_CLIENT_KMIPv11 = 0x00000038
SUITE_B_MINLOS_192_CLIENT_KMIPv12 = 0x00000039
SUITE_B_MINLOS_192_SERVER_KMIPv10 = 0x0000003A
SUITE_B_MINLOS_192_SERVER_KMIPv11 = 0x0000003B
SUITE_B_MINLOS_192_SERVER_KMIPv12 = 0x0000003C
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_CLIENT_KMIPv10 = 0x0000003D
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_CLIENT_KMIPv11 = 0x0000003E
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_CLIENT_KMIPv12 = 0x0000003F
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_SERVER_KMIPv10 = 0x00000040
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_SERVER_KMIPv11 = 0x00000041
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_SERVER_KMIPv12 = 0x00000042
HTTPS_CLIENT_KMIPv10 = 0x00000043
HTTPS_CLIENT_KMIPv11 = 0x00000044
HTTPS_CLIENT_KMIPv12 = 0x00000045
HTTPS_SERVER_KMIPv10 = 0x00000046
HTTPS_SERVER_KMIPv11 = 0x00000047
HTTPS_SERVER_KMIPv12 = 0x00000048
JSON_CLIENT_KMIPv10 = 0x00000049
JSON_CLIENT_KMIPv11 = 0x0000004A
JSON_CLIENT_KMIPv12 = 0x0000004B
JSON_SERVER_KMIPv10 = 0x0000004C
JSON_SERVER_KMIPv11 = 0x0000004D
JSON_SERVER_KMIPv12 = 0x0000004E
XML_CLIENT_KMIPv10 = 0x0000004F
XML_CLIENT_KMIPv11 = 0x00000050
XML_CLIENT_KMIPv12 = 0x00000051
XML_SERVER_KMIPv10 = 0x00000052
XML_SERVER_KMIPv11 = 0x00000053
XML_SERVER_KMIPv12 = 0x00000054
BASELINE_SERVER_BASIC_KMIPv13 = 0x00000055
BASELINE_SERVER_TLSv12_KMIPv13 = 0x00000056
BASELINE_CLIENT_BASIC_KMIPv13 = 0x00000057
BASELINE_CLIENT_TLSv12_KMIPv13 = 0x00000058
COMPLETE_SERVER_BASIC_KMIPv13 = 0x00000059
COMPLETE_SERVER_TLSv12_KMIPv13 = 0x0000005A
TAPE_LIBRARY_CLIENT_KMIPv13 = 0x0000005B
TAPE_LIBRARY_SERVER_KMIPv13 = 0x0000005C
SYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv13 = 0x0000005D
SYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv13 = 0x0000005E
ASYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv13 = 0x0000005F
ASYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv13 = 0x00000060
BASIC_CRYPTOGRAPHIC_CLIENT_KMIPv13 = 0x00000061
BASIC_CRYPTOGRAPHIC_SERVER_KMIPv13 = 0x00000062
ADVANCED_CRYPTOGRAPHIC_CLIENT_KMIPv13 = 0x00000063
ADVANCED_CRYPTOGRAPHIC_SERVER_KMIPv13 = 0x00000064
RNG_CRYPTOGRAPHIC_CLIENT_KMIPv13 = 0x00000065
RNG_CRYPTOGRAPHIC_SERVER_KMIPv13 = 0x00000066
BASIC_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv13 = 0x00000067
INTERMEDIATE_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv13 = 0x00000068
ADVANCED_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv13 = 0x00000069
SYMMETRIC_KEY_FOUNDRY_SERVER_KMIPv13 = 0x0000006A
OPAQUE_MANAGED_OBJECT_STORE_CLIENT_KMIPv13 = 0x0000006B
OPAQUE_MANAGED_OBJECT_STORE_SERVER_KMIPv13 = 0x0000006C
SUITE_B_MINLOS_128_CLIENT_KMIPv13 = 0x0000006D
SUITE_B_MINLOS_128_SERVER_KMIPv13 = 0x0000006E
SUITE_B_MINLOS_192_CLIENT_KMIPv13 = 0x0000006F
SUITE_B_MINLOS_192_SERVER_KMIPv13 = 0x00000070
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_CLIENT_KMIPv13 = 0x00000071
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_SERVER_KMIPv13 = 0x00000072
HTTPS_CLIENT_KMIPv13 = 0x00000073
HTTPS_SERVER_KMIPv13 = 0x00000074
JSON_CLIENT_KMIPv13 = 0x00000075
JSON_SERVER_KMIPv13 = 0x00000076
XML_CLIENT_KMIPv13 = 0x00000077
XML_SERVER_KMIPv13 = 0x00000078
BASELINE_SERVER_BASIC_KMIPv14 = 0x00000079
BASELINE_SERVER_TLSv12_KMIPv14 = 0x0000007A
BASELINE_CLIENT_BASIC_KMIPv14 = 0x0000007B
BASELINE_CLIENT_TLSv12_KMIPv14 = 0x0000007C
COMPLETE_SERVER_BASIC_KMIPv14 = 0x0000007D
COMPLETE_SERVER_TLSv12_KMIPv14 = 0x0000007E
TAPE_LIBRARY_CLIENT_KMIPv14 = 0x0000007F
TAPE_LIBRARY_SERVER_KMIPv14 = 0x00000080
SYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv14 = 0x00000081
SYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv14 = 0x00000082
ASYMMETRIC_KEY_LIFECYCLE_CLIENT_KMIPv14 = 0x00000083
ASYMMETRIC_KEY_LIFECYCLE_SERVER_KMIPv14 = 0x00000084
BASIC_CRYPTOGRAPHIC_CLIENT_KMIPv14 = 0x00000085
BASIC_CRYPTOGRAPHIC_SERVER_KMIPv14 = 0x00000086
ADVANCED_CRYPTOGRAPHIC_CLIENT_KMIPv14 = 0x00000087
ADVANCED_CRYPTOGRAPHIC_SERVER_KMIPv14 = 0x00000088
RNG_CRYPTOGRAPHIC_CLIENT_KMIPv14 = 0x00000089
RNG_CRYPTOGRAPHIC_SERVER_KMIPv14 = 0x0000008A
BASIC_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv14 = 0x0000008B
INTERMEDIATE_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv14 = 0x0000008C
ADVANCED_SYMMETRIC_KEY_FOUNDRY_CLIENT_KMIPv14 = 0x0000008D
SYMMETRIC_KEY_FOUNDRY_SERVER_KMIPv14 = 0x0000008E
OPAQUE_MANAGED_OBJECT_STORE_CLIENT_KMIPv14 = 0x0000008F
OPAQUE_MANAGED_OBJECT_STORE_SERVER_KMIPv14 = 0x00000090
SUITE_B_MINLOS_128_CLIENT_KMIPv14 = 0x00000091
SUITE_B_MINLOS_128_SERVER_KMIPv14 = 0x00000092
SUITE_B_MINLOS_192_CLIENT_KMIPv14 = 0x00000093
SUITE_B_MINLOS_192_SERVER_KMIPv14 = 0x00000094
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_CLIENT_KMIPv14 = 0x00000095
STORAGE_ARRAY_WITH_SELF_ENCRYPTING_DRIVE_SERVER_KMIPv14 = 0x00000096
HTTPS_CLIENT_KMIPv14 = 0x00000097
HTTPS_SERVER_KMIPv14 = 0x00000098
JSON_CLIENT_KMIPv14 = 0x00000099
JSON_SERVER_KMIPv14 = 0x0000009A
XML_CLIENT_KMIPv14 = 0x0000009B
XML_SERVER_KMIPv14 = 0x0000009C
class PutFunction(enum.Enum):
NEW = 0x00000001
REPLACE = 0x00000002
@ -452,6 +676,11 @@ class QueryFunction(enum.Enum):
QUERY_EXTENSION_LIST = 0x00000005
QUERY_EXTENSION_MAP = 0x00000006
QUERY_ATTESTATION_TYPES = 0x00000007
QUERY_RNGS = 0x00000008
QUERY_VALIDATIONS = 0x00000009
QUERY_PROFILES = 0x0000000A
QUERY_CAPABILITIES = 0x0000000B
QUERY_CLIENT_REGISTRATION_METHODS = 0x0000000C
class RecommendedCurve(enum.Enum):
@ -547,6 +776,9 @@ class ResultReason(enum.Enum):
KEY_VALUE_NOT_PRESENT = 0x00000013
ATTESTATION_REQUIRED = 0x00000014
ATTESTATION_FAILED = 0x00000015
SENSITIVE = 0x00000016
NOT_EXTRACTABLE = 0x00000017
OBJECT_ALREADY_EXISTS = 0x00000018
GENERAL_FAILURE = 0x00000100
@ -567,11 +799,32 @@ class RevocationReasonCode(enum.Enum):
PRIVILEGE_WITHDRAWN = 0x00000007
class RNGAlgorithm(enum.Enum):
UNSPECIFIED = 0x00000001
FIPS186_2 = 0x00000002
DRBG = 0x00000003
NRBG = 0x00000004
ANSI_X931 = 0x00000005
ANSI_X962 = 0x00000006
class RNGMode(enum.Enum):
UNSPECIFIED = 0x00000001
SHARED_INSTANTIATION = 0x00000002
NON_SHARED_INSTANTIATION = 0x00000003
class SecretDataType(enum.Enum):
PASSWORD = 0x00000001
SEED = 0x00000002
class ShreddingAlgorithm(enum.Enum):
UNSPECIFIED = 0x00000001
CRYPTOGRAPHIC = 0x00000002
UNSUPPORTED = 0x00000003
class SplitKeyMethod(enum.Enum):
XOR = 0x00000001
POLYNOMIAL_SHARING_GF_2_16 = 0x00000002
@ -808,6 +1061,87 @@ class Tags(enum.Enum):
INITIAL_COUNTER_VALUE = 0x4200D1
INVOCATION_FIELD_LENGTH = 0x4200D2
ATTESTATION_CAPABLE_INDICATOR = 0x4200D3
OFFSET_ITEMS = 0x4200D4
LOCATED_ITEMS = 0x4200D5
CORRELATION_VALUE = 0x4200D6
INIT_INDICATOR = 0x4200D7
FINAL_INDICATOR = 0x4200D8
RNG_PARAMETERS = 0x4200D9
RNG_ALGORITHM = 0x4200DA
DRBG_ALGORITHM = 0x4200DB
FIPS186_VARIATION = 0x4200DC
PREDICTION_RESISTANCE = 0x4200DD
RANDOM_NUMBER_GENERATOR = 0x4200DE
VALIDATION_INFORMATION = 0x4200DF
VALIDATION_AUTHORITY_TYPE = 0x4200E0
VALIDATION_AUTHORITY_COUNTRY = 0x4200E1
VALIDATION_AUTHORITY_URI = 0x4200E2
VALIDATION_VERSION_MAJOR = 0x4200E3
VALIDATION_VERSION_MINOR = 0x4200E4
VALIDATION_TYPE = 0x4200E5
VALIDATION_LEVEL = 0x4200E6
VALIDATION_CERTIFICATE_IDENTIFIER = 0x4200E7
VALIDATION_CERTIFICATE_URI = 0x4200E8
VALIDATION_VENDOR_URI = 0x4200E9
VALIDATION_PROFILE = 0x4200EA
PROFILE_INFORMATION = 0x4200EB
PROFILE_NAME = 0x4200EC
SERVER_URI = 0x4200ED
SERVER_PORT = 0x4200EE
STREAMING_CAPABILITY = 0x4200EF
ASYNCHRONOUS_CAPABILITY = 0x4200F0
ATTESTATION_CAPABILITY = 0x4200F1
UNWRAP_MODE = 0x4200F2
DESTROY_ACTION = 0x4200F3
SHREDDING_ALGORITHM = 0x4200F4
RNG_MODE = 0x4200F5
CLIENT_REGISTRATION_METHOD = 0x4200F6
CAPABILITY_INFORMATION = 0x4200F7
KEY_WRAP_TYPE = 0x4200F8
BATCH_UNDO_CAPABILITY = 0x4200F9
BATCH_CONTINUE_CAPABILITY = 0x4200FA
PKCS12_FRIENDLY_NAME = 0x4200FB
DESCRIPTION = 0x4200FC
COMMENT = 0x4200FD
AUTHENTICATED_ENCRYPTION_ADDITIONAL_DATA = 0x4200FE
AUTHENTICATED_ENCRYPTION_TAG = 0x4200FF
SALT_LENGTH = 0x420100
MASK_GENERATOR = 0x420101
MASK_GENERATOR_HASHING_ALGORITHM = 0x420102
P_SOURCE = 0x420103
TRAILER_FIELD = 0x420104
CLIENT_CORRELATION_VALUE = 0x420105
SERVER_CORRELATION_VALUE = 0x420106
DIGESTED_DATA = 0x420107
CERTIFICATE_SUBJECT_CN = 0x420108
CERTIFICATE_SUBJECT_O = 0x420109
CERTIFICATE_SUBJECT_OU = 0x42010A
CERTIFICATE_SUBJECT_EMAIL = 0x42010B
CERTIFICATE_SUBJECT_C = 0x42010C
CERTIFICATE_SUBJECT_ST = 0x42010D
CERTIFICATE_SUBJECT_L = 0x42010E
CERTIFICATE_SUBJECT_UID = 0x42010F
CERTIFICATE_SUBJECT_SERIAL_NUMBER = 0x420110
CERTIFICATE_SUBJECT_TITLE = 0x420111
CERTIFICATE_SUBJECT_DC = 0x420112
CERTIFICATE_SUBJECT_DN_QUALIFIER = 0x420113
CERTIFICATE_ISSUER_CN = 0x420114
CERTIFICATE_ISSUER_O = 0x420115
CERTIFICATE_ISSUER_OU = 0x420116
CERTIFICATE_ISSUER_EMAIL = 0x420117
CERTIFICATE_ISSUER_C = 0x420118
CERTIFICATE_ISSUER_ST = 0x420119
CERTIFICATE_ISSUER_L = 0x42011A
CERTIFICATE_ISSUER_UID = 0x42011B
CERTIFICATE_ISSUER_SERIAL_NUMBER = 0x42011C
CERTIFICATE_ISSUER_TITLE = 0x42011D
CERTIFICATE_ISSUER_DC = 0x42011E
CERTIFICATE_ISSUER_DN_QUALIFIER = 0x42011F
SENSITIVE = 0x420120
ALWAYS_SENSITIVE = 0x420121
EXTRACTABLE = 0x420122
NEVER_EXTRACTABLE = 0x420123
REPLACE_EXISTING = 0x420124
class Types(enum.Enum):
@ -824,11 +1158,31 @@ class Types(enum.Enum):
INTERVAL = 0x0A
class UnwrapMode(enum.Enum):
UNSPECIFIED = 0x00000001
PROCESSED = 0x00000002
NOT_PROCESSED = 0x00000003
class UsageLimitsUnit(enum.Enum):
BYTE = 0x00000001
OBJECT = 0x00000002
class ValidationAuthorityType(enum.Enum):
UNSPECIFIED = 0x00000001
NIST_CMVP = 0x00000002
COMMON_CRITERIA = 0x00000003
class ValidationType(enum.Enum):
UNSPECIFIED = 0x00000001
HARDWARE = 0x00000002
SOFTWARE = 0x00000003
FIRMWARE = 0x00000004
HYBRID = 0x00000005
class ValidityIndicator(enum.Enum):
VALID = 0x00000001
INVALID = 0x00000002