Documentation
¶
Overview ¶
Package kmip20 contains definitions from the 2.0 specification. They should eventually be merged into the kmip_1_4.json (and that should be renamed to kmip_2_0_specs.json), but I didn't have time to merge them in yet. Just keeping them parked here until I have time to incorporate them. TODO: should the different versions of the spec be kept in separate declaration files? Or should the ttlv package add a spec version attribute to registration, so servers/clients can configure which spec version they want to use, and ttlv would automatically filter allowed values on that?
Code generated by kmipgen; DO NOT EDIT.
Index ¶
- Constants
- Variables
- func NewAdjustmentTypeEnum() ttlv.Enum
- func NewAsynchronousIndicatorEnum() ttlv.Enum
- func NewCredentialTypeEnum() ttlv.Enum
- func NewCryptographicAlgorithmEnum() ttlv.Enum
- func NewDataEnum() ttlv.Enum
- func NewDerivationMethodEnum() ttlv.Enum
- func NewEndpointRoleEnum() ttlv.Enum
- func NewInteropFunctionEnum() ttlv.Enum
- func NewLinkTypeEnum() ttlv.Enum
- func NewNISTKeyTypeEnum() ttlv.Enum
- func NewObjectTypeEnum() ttlv.Enum
- func NewOperationEnum() ttlv.Enum
- func NewPKCS_11FunctionEnum() ttlv.Enum
- func NewPKCS_11ReturnCodeEnum() ttlv.Enum
- func NewProfileNameEnum() ttlv.Enum
- func NewProtectionLevelEnum() ttlv.Enum
- func NewProtectionStorageMaskEnum() ttlv.Enum
- func NewQueryFunctionEnum() ttlv.Enum
- func NewRecommendedCurveEnum() ttlv.Enum
- func NewResultReasonEnum() ttlv.Enum
- func NewTicketTypeEnum() ttlv.Enum
- func NewUniqueIdentifierEnum() ttlv.Enum
- func Register(registry *ttlv.Registry)
- func RegisterGeneratedDefinitions(r *ttlv.Registry)
- type AdjustmentType
- type AsynchronousIndicator
- type Attributes
- type CreateKeyPairRequestPayload
- type CreateKeyPairResponsePayload
- type CreateRequestPayload
- type CreateResponsePayload
- type CredentialType
- type CryptographicAlgorithm
- type Data
- type DerivationMethod
- type EndpointRole
- type InteropFunction
- type LinkType
- type NISTKeyType
- type ObjectType
- type Operation
- type PKCS_11Function
- type PKCS_11ReturnCode
- type ProfileName
- type ProtectionLevel
- type ProtectionStorageMask
- type QueryFunction
- type RecommendedCurve
- type ResultReason
- type TicketType
- type UniqueIdentifier
- type UniqueIdentifierValue
Constants ¶
const ( TagAttributes ttlv.Tag = 0x420125 TagCommonAttributes ttlv.Tag = 0x420126 TagPrivateKeyAttributes ttlv.Tag = 0x420127 TagPublicKeyAttributes ttlv.Tag = 0x420128 TagExtensionEnumeration ttlv.Tag = 0x420129 TagExtensionAttribute ttlv.Tag = 0x42012a TagExtensionParentStructureTag ttlv.Tag = 0x42012b TagExtensionDescription ttlv.Tag = 0x42012c TagServerName ttlv.Tag = 0x42012d TagServerSerialNumber ttlv.Tag = 0x42012e TagServerVersion ttlv.Tag = 0x42012f TagServerLoad ttlv.Tag = 0x420130 TagProductName ttlv.Tag = 0x420131 TagBuildLevel ttlv.Tag = 0x420132 TagBuildDate ttlv.Tag = 0x420133 TagClusterInfo ttlv.Tag = 0x420134 TagAlternateFailoverEndpoints ttlv.Tag = 0x420135 TagShortUniqueIdentifier ttlv.Tag = 0x420136 TagReserved ttlv.Tag = 0x420137 TagTag ttlv.Tag = 0x420138 TagCertificateRequestUniqueIdentifier ttlv.Tag = 0x420139 TagNISTKeyType ttlv.Tag = 0x42013a TagAttributeReference ttlv.Tag = 0x42013b TagCurrentAttribute ttlv.Tag = 0x42013c TagNewAttribute ttlv.Tag = 0x42013d TagCertificateRequestValue ttlv.Tag = 0x420140 TagLogMessage ttlv.Tag = 0x420141 TagProfileVersion ttlv.Tag = 0x420142 TagProfileVersionMajor ttlv.Tag = 0x420143 TagProfileVersionMinor ttlv.Tag = 0x420144 TagProtectionLevel ttlv.Tag = 0x420145 TagProtectionPeriod ttlv.Tag = 0x420146 TagQuantumSafe ttlv.Tag = 0x420147 TagQuantumSafeCapability ttlv.Tag = 0x420148 TagTicket ttlv.Tag = 0x420149 TagTicketType ttlv.Tag = 0x42014a TagTicketValue ttlv.Tag = 0x42014b TagRequestCount ttlv.Tag = 0x42014c TagRights ttlv.Tag = 0x42014d TagObjects ttlv.Tag = 0x42014e TagOperations ttlv.Tag = 0x42014f TagRight ttlv.Tag = 0x420150 TagEndpointRole ttlv.Tag = 0x420151 TagDefaultsInformation ttlv.Tag = 0x420152 TagObjectDefaults ttlv.Tag = 0x420153 TagEphemeral ttlv.Tag = 0x420154 TagServerHashedPassword ttlv.Tag = 0x420155 TagOneTimePassword ttlv.Tag = 0x420156 TagHashedPassword ttlv.Tag = 0x420157 TagAdjustmentType ttlv.Tag = 0x420158 TagPKCS_11Interface ttlv.Tag = 0x420159 TagPKCS_11Function ttlv.Tag = 0x42015a TagPKCS_11InputParameters ttlv.Tag = 0x42015b TagPKCS_11OutputParameters ttlv.Tag = 0x42015c TagPKCS_11ReturnCode ttlv.Tag = 0x42015d TagProtectionStorageMask ttlv.Tag = 0x42015e TagProtectionStorageMasks ttlv.Tag = 0x42015f TagInteropFunction ttlv.Tag = 0x420160 TagInteropIdentifier ttlv.Tag = 0x420161 TagAdjustmentValue ttlv.Tag = 0x420162 TagCommonProtectionStorageMasks ttlv.Tag = 0x420163 TagPrivateProtectionStorageMasks ttlv.Tag = 0x420164 TagPublicProtectionStorageMasks ttlv.Tag = 0x420165 )
Variables ¶
var AdjustmentTypeEnum = NewAdjustmentTypeEnum()
var AsynchronousIndicatorEnum = NewAsynchronousIndicatorEnum()
var CredentialTypeEnum = NewCredentialTypeEnum()
var CryptographicAlgorithmEnum = NewCryptographicAlgorithmEnum()
var DataEnum = NewDataEnum()
var DerivationMethodEnum = NewDerivationMethodEnum()
var EndpointRoleEnum = NewEndpointRoleEnum()
var InteropFunctionEnum = NewInteropFunctionEnum()
var LinkTypeEnum = NewLinkTypeEnum()
var NISTKeyTypeEnum = NewNISTKeyTypeEnum()
var ObjectTypeEnum = NewObjectTypeEnum()
var OperationEnum = NewOperationEnum()
var PKCS_11FunctionEnum = NewPKCS_11FunctionEnum()
var PKCS_11ReturnCodeEnum = NewPKCS_11ReturnCodeEnum()
var ProfileNameEnum = NewProfileNameEnum()
var ProtectionLevelEnum = NewProtectionLevelEnum()
var ProtectionStorageMaskEnum = NewProtectionStorageMaskEnum()
var QueryFunctionEnum = NewQueryFunctionEnum()
var RecommendedCurveEnum = NewRecommendedCurveEnum()
var ResultReasonEnum = NewResultReasonEnum()
var TicketTypeEnum = NewTicketTypeEnum()
var UniqueIdentifierEnum = NewUniqueIdentifierEnum()
Functions ¶
func NewAdjustmentTypeEnum ¶
func NewCredentialTypeEnum ¶
func NewDataEnum ¶
func NewDerivationMethodEnum ¶
func NewEndpointRoleEnum ¶
func NewInteropFunctionEnum ¶
func NewLinkTypeEnum ¶
func NewNISTKeyTypeEnum ¶
func NewObjectTypeEnum ¶
func NewOperationEnum ¶
func NewPKCS_11FunctionEnum ¶
func NewProfileNameEnum ¶
func NewProtectionLevelEnum ¶
func NewQueryFunctionEnum ¶
func NewRecommendedCurveEnum ¶
func NewResultReasonEnum ¶
func NewTicketTypeEnum ¶
func NewUniqueIdentifierEnum ¶
func Register ¶
Register registers all the additional definitions from the KMIP 2.0 spec. The registry should already contain the 1.4 definitions.
Types ¶
type AdjustmentType ¶
type AdjustmentType uint32
Adjustment Type Enumeration 11.1
const ( AdjustmentTypeIncrement AdjustmentType = 0x00000001 AdjustmentTypeDecrement AdjustmentType = 0x00000002 AdjustmentTypeNegate AdjustmentType = 0x00000003 )
func (AdjustmentType) MarshalTTLV ¶
func (AdjustmentType) MarshalText ¶
func (a AdjustmentType) MarshalText() (text []byte, err error)
func (AdjustmentType) String ¶
func (a AdjustmentType) String() string
type AsynchronousIndicator ¶
type AsynchronousIndicator uint32
Asynchronous Indicator Enumeration 11.3
const ( AsynchronousIndicatorMandatory AsynchronousIndicator = 0x00000001 AsynchronousIndicatorOptional AsynchronousIndicator = 0x00000002 AsynchronousIndicatorProhibited AsynchronousIndicator = 0x00000003 )
func (AsynchronousIndicator) MarshalTTLV ¶
func (AsynchronousIndicator) MarshalText ¶
func (a AsynchronousIndicator) MarshalText() (text []byte, err error)
func (AsynchronousIndicator) String ¶
func (a AsynchronousIndicator) String() string
type Attributes ¶
type CreateKeyPairRequestPayload ¶
type CreateKeyPairRequestPayload struct { CommonAttributes interface{} PrivateKeyAttributes interface{} PublicKeyAttributes interface{} CommonProtectionStorageMasks ProtectionStorageMask `ttlv:",omitempty"` PrivateProtectionStorageMasks ProtectionStorageMask `ttlv:",omitempty"` PublicProtectionStorageMasks ProtectionStorageMask `ttlv:",omitempty"` }
type CreateRequestPayload ¶
type CreateRequestPayload struct { TTLVTag struct{} `ttlv:"RequestPayload"` ObjectType ObjectType Attributes interface{} ProtectionStorageMasks ProtectionStorageMask `ttlv:",omitempty"` }
type CreateResponsePayload ¶
type CreateResponsePayload struct { ObjectType ObjectType UniqueIdentifier string }
type CredentialType ¶
type CredentialType uint32
Credential Type Enumeration 9.1.3.2.1 Table 289
const ( CredentialTypeUsernameAndPassword CredentialType = 0x00000001 CredentialTypeDevice CredentialType = 0x00000002 CredentialTypeAttestation CredentialType = 0x00000003 CredentialTypeOneTimePassword CredentialType = 0x00000004 CredentialTypeHashedPassword CredentialType = 0x00000005 CredentialTypeTicket CredentialType = 0x00000006 )
func (CredentialType) MarshalTTLV ¶
func (CredentialType) MarshalText ¶
func (c CredentialType) MarshalText() (text []byte, err error)
func (CredentialType) String ¶
func (c CredentialType) String() string
type CryptographicAlgorithm ¶
type CryptographicAlgorithm uint32
Cryptographic Algorithm Enumeration 9.1.3.2.13 Table 301
const ( CryptographicAlgorithmDES CryptographicAlgorithm = 0x00000001 CryptographicAlgorithmDES3 CryptographicAlgorithm = 0x00000002 CryptographicAlgorithmAES CryptographicAlgorithm = 0x00000003 CryptographicAlgorithmRSA CryptographicAlgorithm = 0x00000004 CryptographicAlgorithmDSA CryptographicAlgorithm = 0x00000005 CryptographicAlgorithmECDSA CryptographicAlgorithm = 0x00000006 CryptographicAlgorithmHMAC_SHA1 CryptographicAlgorithm = 0x00000007 CryptographicAlgorithmHMAC_SHA224 CryptographicAlgorithm = 0x00000008 CryptographicAlgorithmHMAC_SHA256 CryptographicAlgorithm = 0x00000009 CryptographicAlgorithmHMAC_SHA384 CryptographicAlgorithm = 0x0000000a CryptographicAlgorithmHMAC_SHA512 CryptographicAlgorithm = 0x0000000b CryptographicAlgorithmHMAC_MD5 CryptographicAlgorithm = 0x0000000c CryptographicAlgorithmDH CryptographicAlgorithm = 0x0000000d CryptographicAlgorithmECDH CryptographicAlgorithm = 0x0000000e CryptographicAlgorithmECMQV CryptographicAlgorithm = 0x0000000f CryptographicAlgorithmBlowfish CryptographicAlgorithm = 0x00000010 CryptographicAlgorithmCamellia CryptographicAlgorithm = 0x00000011 CryptographicAlgorithmCAST5 CryptographicAlgorithm = 0x00000012 CryptographicAlgorithmIDEA CryptographicAlgorithm = 0x00000013 CryptographicAlgorithmMARS CryptographicAlgorithm = 0x00000014 CryptographicAlgorithmRC2 CryptographicAlgorithm = 0x00000015 CryptographicAlgorithmRC4 CryptographicAlgorithm = 0x00000016 CryptographicAlgorithmRC5 CryptographicAlgorithm = 0x00000017 CryptographicAlgorithmSKIPJACK CryptographicAlgorithm = 0x00000018 CryptographicAlgorithmTwofish CryptographicAlgorithm = 0x00000019 CryptographicAlgorithmEC CryptographicAlgorithm = 0x0000001a CryptographicAlgorithmOneTimePad CryptographicAlgorithm = 0x0000001b CryptographicAlgorithmChaCha20 CryptographicAlgorithm = 0x0000001c CryptographicAlgorithmPoly1305 CryptographicAlgorithm = 0x0000001d CryptographicAlgorithmChaCha20Poly1305 CryptographicAlgorithm = 0x0000001e CryptographicAlgorithmSHA3_224 CryptographicAlgorithm = 0x0000001f CryptographicAlgorithmSHA3_256 CryptographicAlgorithm = 0x00000020 CryptographicAlgorithmSHA3_384 CryptographicAlgorithm = 0x00000021 CryptographicAlgorithmSHA3_512 CryptographicAlgorithm = 0x00000022 CryptographicAlgorithmHMAC_SHA3_224 CryptographicAlgorithm = 0x00000023 CryptographicAlgorithmHMAC_SHA3_256 CryptographicAlgorithm = 0x00000024 CryptographicAlgorithmHMAC_SHA3_384 CryptographicAlgorithm = 0x00000025 CryptographicAlgorithmHMAC_SHA3_512 CryptographicAlgorithm = 0x00000026 CryptographicAlgorithmSHAKE_128 CryptographicAlgorithm = 0x00000027 CryptographicAlgorithmSHAKE_256 CryptographicAlgorithm = 0x00000028 CryptographicAlgorithmARIA CryptographicAlgorithm = 0x00000029 CryptographicAlgorithmSEED CryptographicAlgorithm = 0x0000002a CryptographicAlgorithmSM2 CryptographicAlgorithm = 0x0000002b CryptographicAlgorithmSM3 CryptographicAlgorithm = 0x0000002c CryptographicAlgorithmSM4 CryptographicAlgorithm = 0x0000002d CryptographicAlgorithmGOSTR34_10_2012 CryptographicAlgorithm = 0x0000002e CryptographicAlgorithmGOSTR34_11_2012 CryptographicAlgorithm = 0x0000002f CryptographicAlgorithmGOSTR34_13_2015 CryptographicAlgorithm = 0x00000030 CryptographicAlgorithmGOST28147_89 CryptographicAlgorithm = 0x00000031 CryptographicAlgorithmXMSS CryptographicAlgorithm = 0x00000032 CryptographicAlgorithmSPHINCS_256 CryptographicAlgorithm = 0x00000033 CryptographicAlgorithmMcEliece CryptographicAlgorithm = 0x00000034 CryptographicAlgorithmMcEliece_6960119 CryptographicAlgorithm = 0x00000035 CryptographicAlgorithmMcEliece_8192128 CryptographicAlgorithm = 0x00000036 CryptographicAlgorithmEd25519 CryptographicAlgorithm = 0x00000037 CryptographicAlgorithmEd448 CryptographicAlgorithm = 0x00000038 )
func (CryptographicAlgorithm) MarshalTTLV ¶
func (CryptographicAlgorithm) MarshalText ¶
func (c CryptographicAlgorithm) MarshalText() (text []byte, err error)
func (CryptographicAlgorithm) String ¶
func (c CryptographicAlgorithm) String() string
type DerivationMethod ¶
type DerivationMethod uint32
Derivation Method Enumeration 9.1.3.2.21 Table 309
const ( DerivationMethodPBKDF2 DerivationMethod = 0x00000001 DerivationMethodHASH DerivationMethod = 0x00000002 DerivationMethodHMAC DerivationMethod = 0x00000003 DerivationMethodENCRYPT DerivationMethod = 0x00000004 DerivationMethodNIST800_108_C DerivationMethod = 0x00000005 DerivationMethodNIST800_108_F DerivationMethod = 0x00000006 DerivationMethodNIST800_108_DPI DerivationMethod = 0x00000007 DerivationMethodAsymmetricKey DerivationMethod = 0x00000008 DerivationMethodAWSSignatureVersion4 DerivationMethod = 0x00000009 DerivationMethodHKDF DerivationMethod = 0x0000000a )
func (DerivationMethod) MarshalTTLV ¶
func (DerivationMethod) MarshalText ¶
func (d DerivationMethod) MarshalText() (text []byte, err error)
func (DerivationMethod) String ¶
func (d DerivationMethod) String() string
type EndpointRole ¶
type EndpointRole uint32
Endpoint Role Enumeration 11.19
const ( EndpointRoleClient EndpointRole = 0x00000001 EndpointRoleServer EndpointRole = 0x00000002 )
func (EndpointRole) MarshalTTLV ¶
func (EndpointRole) MarshalText ¶
func (e EndpointRole) MarshalText() (text []byte, err error)
func (EndpointRole) String ¶
func (e EndpointRole) String() string
type InteropFunction ¶
type InteropFunction uint32
Interop Function Enumeration 11.22
const ( InteropFunctionBegin InteropFunction = 0x00000001 InteropFunctionEnd InteropFunction = 0x00000002 InteropFunctionReset InteropFunction = 0x00000003 )
func (InteropFunction) MarshalTTLV ¶
func (InteropFunction) MarshalText ¶
func (i InteropFunction) MarshalText() (text []byte, err error)
func (InteropFunction) String ¶
func (i InteropFunction) String() string
type LinkType ¶
type LinkType uint32
Link Type Enumeration 9.1.3.2.20 Table 308
const ( LinkTypeCertificateLink LinkType = 0x00000101 LinkTypePublicKeyLink LinkType = 0x00000102 LinkTypePrivateKeyLink LinkType = 0x00000103 LinkTypeDerivationBaseObjectLink LinkType = 0x00000104 LinkTypeDerivedKeyLink LinkType = 0x00000105 LinkTypeReplacementObjectLink LinkType = 0x00000106 LinkTypeReplacedObjectLink LinkType = 0x00000107 LinkTypeParentLink LinkType = 0x00000108 LinkTypeChildLink LinkType = 0x00000109 LinkTypePreviousLink LinkType = 0x0000010a LinkTypeNextLink LinkType = 0x0000010b LinkTypePKCS_12CertificateLink LinkType = 0x0000010c LinkTypePKCS_12PasswordLink LinkType = 0x0000010d LinkTypeWrappingKeyLink LinkType = 0x0000010e )
func (LinkType) MarshalText ¶
type NISTKeyType ¶
type NISTKeyType uint32
NIST Key Type Enumeration
const ( NISTKeyTypePrivateSignatureKey NISTKeyType = 0x00000001 NISTKeyTypePublicSignatureVerificationKey NISTKeyType = 0x00000002 NISTKeyTypeSymmetricAuthenticationKey NISTKeyType = 0x00000003 NISTKeyTypePrivateAuthenticationKey NISTKeyType = 0x00000004 NISTKeyTypePublicAuthenticationKey NISTKeyType = 0x00000005 NISTKeyTypeSymmetricDataEncryptionKey NISTKeyType = 0x00000006 NISTKeyTypeSymmetricKeyWrappingKey NISTKeyType = 0x00000007 NISTKeyTypeSymmetricRandomNumberGenerationKey NISTKeyType = 0x00000008 NISTKeyTypeSymmetricMasterKey NISTKeyType = 0x00000009 NISTKeyTypePrivateKeyTransportKey NISTKeyType = 0x0000000a NISTKeyTypePublicKeyTransportKey NISTKeyType = 0x0000000b NISTKeyTypeSymmetricKeyAgreementKey NISTKeyType = 0x0000000c NISTKeyTypePrivateStaticKeyAgreementKey NISTKeyType = 0x0000000d NISTKeyTypePublicStaticKeyAgreementKey NISTKeyType = 0x0000000e NISTKeyTypePrivateEphemeralKeyAgreementKey NISTKeyType = 0x0000000f NISTKeyTypePublicEphemeralKeyAgreementKey NISTKeyType = 0x00000010 NISTKeyTypeSymmetricAuthorizationKey NISTKeyType = 0x00000011 NISTKeyTypePrivateAuthorizationKey NISTKeyType = 0x00000012 NISTKeyTypePublicAuthorizationKey NISTKeyType = 0x00000013 )
func (NISTKeyType) MarshalTTLV ¶
func (NISTKeyType) MarshalText ¶
func (n NISTKeyType) MarshalText() (text []byte, err error)
func (NISTKeyType) String ¶
func (n NISTKeyType) String() string
type ObjectType ¶
type ObjectType uint32
Object Type Enumeration 9.1.3.2.12 Table 300
const ( ObjectTypeCertificate ObjectType = 0x00000001 ObjectTypeSymmetricKey ObjectType = 0x00000002 ObjectTypePublicKey ObjectType = 0x00000003 ObjectTypePrivateKey ObjectType = 0x00000004 ObjectTypeSplitKey ObjectType = 0x00000005 ObjectTypeTemplate ObjectType = 0x00000006 ObjectTypeSecretData ObjectType = 0x00000007 ObjectTypeOpaqueObject ObjectType = 0x00000008 ObjectTypePGPKey ObjectType = 0x00000009 ObjectTypeCertificateRequest ObjectType = 0x0000000a )
func (ObjectType) MarshalTTLV ¶
func (ObjectType) MarshalText ¶
func (o ObjectType) MarshalText() (text []byte, err error)
func (ObjectType) String ¶
func (o ObjectType) String() string
type Operation ¶
type Operation uint32
Operation Enumeration 9.1.3.2.27 Table 315
const ( OperationCreate Operation = 0x00000001 OperationCreateKeyPair Operation = 0x00000002 OperationRegister Operation = 0x00000003 OperationReKey Operation = 0x00000004 OperationDeriveKey Operation = 0x00000005 OperationCertify Operation = 0x00000006 OperationReCertify Operation = 0x00000007 OperationLocate Operation = 0x00000008 OperationCheck Operation = 0x00000009 OperationGet Operation = 0x0000000a OperationGetAttributes Operation = 0x0000000b OperationGetAttributeList Operation = 0x0000000c OperationAddAttribute Operation = 0x0000000d OperationModifyAttribute Operation = 0x0000000e OperationDeleteAttribute Operation = 0x0000000f OperationObtainLease Operation = 0x00000010 OperationGetUsageAllocation Operation = 0x00000011 OperationActivate Operation = 0x00000012 OperationRevoke Operation = 0x00000013 OperationDestroy Operation = 0x00000014 OperationArchive Operation = 0x00000015 OperationRecover Operation = 0x00000016 OperationValidate Operation = 0x00000017 OperationQuery Operation = 0x00000018 OperationCancel Operation = 0x00000019 OperationPoll Operation = 0x0000001a OperationNotify Operation = 0x0000001b OperationPut Operation = 0x0000001c OperationReKeyKeyPair Operation = 0x0000001d OperationDiscoverVersions Operation = 0x0000001e OperationEncrypt Operation = 0x0000001f OperationDecrypt Operation = 0x00000020 OperationSign Operation = 0x00000021 OperationSignatureVerify Operation = 0x00000022 OperationMAC Operation = 0x00000023 OperationMACVerify Operation = 0x00000024 OperationRNGRetrieve Operation = 0x00000025 OperationRNGSeed Operation = 0x00000026 OperationHash Operation = 0x00000027 OperationCreateSplitKey Operation = 0x00000028 OperationJoinSplitKey Operation = 0x00000029 OperationImport Operation = 0x0000002a OperationExport Operation = 0x0000002b OperationLog Operation = 0x0000002c OperationLogin Operation = 0x0000002d OperationLogout Operation = 0x0000002e OperationDelegatedLogin Operation = 0x0000002f OperationAdjustAttribute Operation = 0x00000030 OperationSetAttribute Operation = 0x00000031 OperationSetEndpointRole Operation = 0x00000032 OperationPKCS_11 Operation = 0x00000033 OperationInterop Operation = 0x00000034 OperationReProvision Operation = 0x00000035 )
func (Operation) MarshalTTLV ¶
func (Operation) MarshalText ¶
type PKCS_11Function ¶
type PKCS_11Function uint32
PKCS#11 Function Enumeration
func (PKCS_11Function) MarshalTTLV ¶
func (PKCS_11Function) MarshalText ¶
func (p PKCS_11Function) MarshalText() (text []byte, err error)
func (PKCS_11Function) String ¶
func (p PKCS_11Function) String() string
type PKCS_11ReturnCode ¶
type PKCS_11ReturnCode uint32
PKCS#11 Return Code Enumeration
func (PKCS_11ReturnCode) MarshalTTLV ¶
func (PKCS_11ReturnCode) MarshalText ¶
func (p PKCS_11ReturnCode) MarshalText() (text []byte, err error)
func (PKCS_11ReturnCode) String ¶
func (p PKCS_11ReturnCode) String() string
type ProfileName ¶
type ProfileName uint32
Profile Name Enumeration 9.1.3.2.42
const ( ProfileNameBaselineServerBasicKMIPV1_2 ProfileName = 0x00000001 ProfileNameBaselineServerTLSV1_2KMIPV1_2 ProfileName = 0x00000002 ProfileNameBaselineClientBasicKMIPV1_2 ProfileName = 0x00000003 ProfileNameBaselineClientTLSV1_2KMIPV1_2 ProfileName = 0x00000004 ProfileNameCompleteServerBasicKMIPV1_2 ProfileName = 0x00000005 ProfileNameCompleteServerTLSV1_2KMIPV1_2 ProfileName = 0x00000006 ProfileNameTapeLibraryClientKMIPV1_0 ProfileName = 0x00000007 ProfileNameTapeLibraryClientKMIPV1_1 ProfileName = 0x00000008 ProfileNameTapeLibraryClientKMIPV1_2 ProfileName = 0x00000009 ProfileNameTapeLibraryServerKMIPV1_0 ProfileName = 0x0000000a ProfileNameTapeLibraryServerKMIPV1_1 ProfileName = 0x0000000b ProfileNameTapeLibraryServerKMIPV1_2 ProfileName = 0x0000000c ProfileNameSymmetricKeyLifecycleClientKMIPV1_0 ProfileName = 0x0000000d ProfileNameSymmetricKeyLifecycleClientKMIPV1_1 ProfileName = 0x0000000e ProfileNameSymmetricKeyLifecycleClientKMIPV1_2 ProfileName = 0x0000000f ProfileNameSymmetricKeyLifecycleServerKMIPV1_0 ProfileName = 0x00000010 ProfileNameSymmetricKeyLifecycleServerKMIPV1_1 ProfileName = 0x00000011 ProfileNameSymmetricKeyLifecycleServerKMIPV1_2 ProfileName = 0x00000012 ProfileNameAsymmetricKeyLifecycleClientKMIPV1_0 ProfileName = 0x00000013 ProfileNameAsymmetricKeyLifecycleClientKMIPV1_1 ProfileName = 0x00000014 ProfileNameAsymmetricKeyLifecycleClientKMIPV1_2 ProfileName = 0x00000015 ProfileNameAsymmetricKeyLifecycleServerKMIPV1_0 ProfileName = 0x00000016 ProfileNameAsymmetricKeyLifecycleServerKMIPV1_1 ProfileName = 0x00000017 ProfileNameAsymmetricKeyLifecycleServerKMIPV1_2 ProfileName = 0x00000018 ProfileNameBasicCryptographicClientKMIPV1_2 ProfileName = 0x00000019 ProfileNameBasicCryptographicServerKMIPV1_2 ProfileName = 0x0000001a ProfileNameAdvancedCryptographicClientKMIPV1_2 ProfileName = 0x0000001b ProfileNameAdvancedCryptographicServerKMIPV1_2 ProfileName = 0x0000001c ProfileNameRNGCryptographicClientKMIPV1_2 ProfileName = 0x0000001d ProfileNameRNGCryptographicServerKMIPV1_2 ProfileName = 0x0000001e ProfileNameBasicSymmetricKeyFoundryClientKMIPV1_0 ProfileName = 0x0000001f ProfileNameIntermediateSymmetricKeyFoundryClientKMIPV1_0 ProfileName = 0x00000020 ProfileNameAdvancedSymmetricKeyFoundryClientKMIPV1_0 ProfileName = 0x00000021 ProfileNameBasicSymmetricKeyFoundryClientKMIPV1_1 ProfileName = 0x00000022 ProfileNameIntermediateSymmetricKeyFoundryClientKMIPV1_1 ProfileName = 0x00000023 ProfileNameAdvancedSymmetricKeyFoundryClientKMIPV1_1 ProfileName = 0x00000024 ProfileNameBasicSymmetricKeyFoundryClientKMIPV1_2 ProfileName = 0x00000025 ProfileNameIntermediateSymmetricKeyFoundryClientKMIPV1_2 ProfileName = 0x00000026 ProfileNameAdvancedSymmetricKeyFoundryClientKMIPV1_2 ProfileName = 0x00000027 ProfileNameSymmetricKeyFoundryServerKMIPV1_0 ProfileName = 0x00000028 ProfileNameSymmetricKeyFoundryServerKMIPV1_1 ProfileName = 0x00000029 ProfileNameSymmetricKeyFoundryServerKMIPV1_2 ProfileName = 0x0000002a ProfileNameOpaqueManagedObjectStoreClientKMIPV1_0 ProfileName = 0x0000002b ProfileNameOpaqueManagedObjectStoreClientKMIPV1_1 ProfileName = 0x0000002c ProfileNameOpaqueManagedObjectStoreClientKMIPV1_2 ProfileName = 0x0000002d ProfileNameOpaqueManagedObjectStoreServerKMIPV1_0 ProfileName = 0x0000002e ProfileNameOpaqueManagedObjectStoreServerKMIPV1_1 ProfileName = 0x0000002f ProfileNameOpaqueManagedObjectStoreServerKMIPV1_2 ProfileName = 0x00000030 ProfileNameSuiteBMinLOS_128ClientKMIPV1_0 ProfileName = 0x00000031 ProfileNameSuiteBMinLOS_128ClientKMIPV1_1 ProfileName = 0x00000032 ProfileNameSuiteBMinLOS_128ClientKMIPV1_2 ProfileName = 0x00000033 ProfileNameSuiteBMinLOS_128ServerKMIPV1_0 ProfileName = 0x00000034 ProfileNameSuiteBMinLOS_128ServerKMIPV1_1 ProfileName = 0x00000035 ProfileNameSuiteBMinLOS_128ServerKMIPV1_2 ProfileName = 0x00000036 ProfileNameSuiteBMinLOS_192ClientKMIPV1_0 ProfileName = 0x00000037 ProfileNameSuiteBMinLOS_192ClientKMIPV1_1 ProfileName = 0x00000038 ProfileNameSuiteBMinLOS_192ClientKMIPV1_2 ProfileName = 0x00000039 ProfileNameSuiteBMinLOS_192ServerKMIPV1_0 ProfileName = 0x0000003a ProfileNameSuiteBMinLOS_192ServerKMIPV1_1 ProfileName = 0x0000003b ProfileNameSuiteBMinLOS_192ServerKMIPV1_2 ProfileName = 0x0000003c ProfileNameStorageArrayWithSelfEncryptingDriveClientKMIPV1_0 ProfileName = 0x0000003d ProfileNameStorageArrayWithSelfEncryptingDriveClientKMIPV1_1 ProfileName = 0x0000003e ProfileNameStorageArrayWithSelfEncryptingDriveClientKMIPV1_2 ProfileName = 0x0000003f ProfileNameStorageArrayWithSelfEncryptingDriveServerKMIPV1_0 ProfileName = 0x00000040 ProfileNameStorageArrayWithSelfEncryptingDriveServerKMIPV1_1 ProfileName = 0x00000041 ProfileNameStorageArrayWithSelfEncryptingDriveServerKMIPV1_2 ProfileName = 0x00000042 ProfileNameHTTPSClientKMIPV1_0 ProfileName = 0x00000043 ProfileNameHTTPSClientKMIPV1_1 ProfileName = 0x00000044 ProfileNameHTTPSClientKMIPV1_2 ProfileName = 0x00000045 ProfileNameHTTPSServerKMIPV1_0 ProfileName = 0x00000046 ProfileNameHTTPSServerKMIPV1_1 ProfileName = 0x00000047 ProfileNameHTTPSServerKMIPV1_2 ProfileName = 0x00000048 ProfileNameJSONClientKMIPV1_0 ProfileName = 0x00000049 ProfileNameJSONClientKMIPV1_1 ProfileName = 0x0000004a ProfileNameJSONClientKMIPV1_2 ProfileName = 0x0000004b ProfileNameJSONServerKMIPV1_0 ProfileName = 0x0000004c ProfileNameJSONServerKMIPV1_1 ProfileName = 0x0000004d ProfileNameJSONServerKMIPV1_2 ProfileName = 0x0000004e ProfileNameXMLClientKMIPV1_0 ProfileName = 0x0000004f ProfileNameXMLClientKMIPV1_1 ProfileName = 0x00000050 ProfileNameXMLClientKMIPV1_2 ProfileName = 0x00000051 ProfileNameXMLServerKMIPV1_0 ProfileName = 0x00000052 ProfileNameXMLServerKMIPV1_1 ProfileName = 0x00000053 ProfileNameXMLServerKMIPV1_2 ProfileName = 0x00000054 ProfileNameBaselineServerBasicKMIPV1_3 ProfileName = 0x00000055 ProfileNameBaselineServerTLSV1_2KMIPV1_3 ProfileName = 0x00000056 ProfileNameBaselineClientBasicKMIPV1_3 ProfileName = 0x00000057 ProfileNameBaselineClientTLSV1_2KMIPV1_3 ProfileName = 0x00000058 ProfileNameCompleteServerBasicKMIPV1_3 ProfileName = 0x00000059 ProfileNameCompleteServerTLSV1_2KMIPV1_3 ProfileName = 0x0000005a ProfileNameTapeLibraryClientKMIPV1_3 ProfileName = 0x0000005b ProfileNameTapeLibraryServerKMIPV1_3 ProfileName = 0x0000005c ProfileNameSymmetricKeyLifecycleClientKMIPV1_3 ProfileName = 0x0000005d ProfileNameSymmetricKeyLifecycleServerKMIPV1_3 ProfileName = 0x0000005e ProfileNameAsymmetricKeyLifecycleClientKMIPV1_3 ProfileName = 0x0000005f ProfileNameAsymmetricKeyLifecycleServerKMIPV1_3 ProfileName = 0x00000060 ProfileNameBasicCryptographicClientKMIPV1_3 ProfileName = 0x00000061 ProfileNameBasicCryptographicServerKMIPV1_3 ProfileName = 0x00000062 ProfileNameAdvancedCryptographicClientKMIPV1_3 ProfileName = 0x00000063 ProfileNameAdvancedCryptographicServerKMIPV1_3 ProfileName = 0x00000064 ProfileNameRNGCryptographicClientKMIPV1_3 ProfileName = 0x00000065 ProfileNameRNGCryptographicServerKMIPV1_3 ProfileName = 0x00000066 ProfileNameBasicSymmetricKeyFoundryClientKMIPV1_3 ProfileName = 0x00000067 ProfileNameIntermediateSymmetricKeyFoundryClientKMIPV1_3 ProfileName = 0x00000068 ProfileNameAdvancedSymmetricKeyFoundryClientKMIPV1_3 ProfileName = 0x00000069 ProfileNameSymmetricKeyFoundryServerKMIPV1_3 ProfileName = 0x0000006a ProfileNameOpaqueManagedObjectStoreClientKMIPV1_3 ProfileName = 0x0000006b ProfileNameOpaqueManagedObjectStoreServerKMIPV1_3 ProfileName = 0x0000006c ProfileNameSuiteBMinLOS_128ClientKMIPV1_3 ProfileName = 0x0000006d ProfileNameSuiteBMinLOS_128ServerKMIPV1_3 ProfileName = 0x0000006e ProfileNameSuiteBMinLOS_192ClientKMIPV1_3 ProfileName = 0x0000006f ProfileNameSuiteBMinLOS_192ServerKMIPV1_3 ProfileName = 0x00000070 ProfileNameStorageArrayWithSelfEncryptingDriveClientKMIPV1_3 ProfileName = 0x00000071 ProfileNameStorageArrayWithSelfEncryptingDriveServerKMIPV1_3 ProfileName = 0x00000072 ProfileNameHTTPSClientKMIPV1_3 ProfileName = 0x00000073 ProfileNameHTTPSServerKMIPV1_3 ProfileName = 0x00000074 ProfileNameJSONClientKMIPV1_3 ProfileName = 0x00000075 ProfileNameJSONServerKMIPV1_3 ProfileName = 0x00000076 ProfileNameXMLClientKMIPV1_3 ProfileName = 0x00000077 ProfileNameXMLServerKMIPV1_3 ProfileName = 0x00000078 ProfileNameBaselineServerBasicKMIPV1_4 ProfileName = 0x00000079 ProfileNameBaselineServerTLSV1_2KMIPV1_4 ProfileName = 0x0000007a ProfileNameBaselineClientBasicKMIPV1_4 ProfileName = 0x0000007b ProfileNameBaselineClientTLSV1_2KMIPV1_4 ProfileName = 0x0000007c ProfileNameCompleteServerBasicKMIPV1_4 ProfileName = 0x0000007d ProfileNameCompleteServerTLSV1_2KMIPV1_4 ProfileName = 0x0000007e ProfileNameTapeLibraryClientKMIPV1_4 ProfileName = 0x0000007f ProfileNameTapeLibraryServerKMIPV1_4 ProfileName = 0x00000080 ProfileNameSymmetricKeyLifecycleClientKMIPV1_4 ProfileName = 0x00000081 ProfileNameSymmetricKeyLifecycleServerKMIPV1_4 ProfileName = 0x00000082 ProfileNameAsymmetricKeyLifecycleClientKMIPV1_4 ProfileName = 0x00000083 ProfileNameAsymmetricKeyLifecycleServerKMIPV1_4 ProfileName = 0x00000084 ProfileNameBasicCryptographicClientKMIPV1_4 ProfileName = 0x00000085 ProfileNameBasicCryptographicServerKMIPV1_4 ProfileName = 0x00000086 ProfileNameAdvancedCryptographicClientKMIPV1_4 ProfileName = 0x00000087 ProfileNameAdvancedCryptographicServerKMIPV1_4 ProfileName = 0x00000088 ProfileNameRNGCryptographicClientKMIPV1_4 ProfileName = 0x00000089 ProfileNameRNGCryptographicServerKMIPV1_4 ProfileName = 0x0000008a ProfileNameBasicSymmetricKeyFoundryClientKMIPV1_4 ProfileName = 0x0000008b ProfileNameIntermediateSymmetricKeyFoundryClientKMIPV1_4 ProfileName = 0x0000008c ProfileNameAdvancedSymmetricKeyFoundryClientKMIPV1_4 ProfileName = 0x0000008d ProfileNameSymmetricKeyFoundryServerKMIPV1_4 ProfileName = 0x0000008e ProfileNameOpaqueManagedObjectStoreClientKMIPV1_4 ProfileName = 0x0000008f ProfileNameOpaqueManagedObjectStoreServerKMIPV1_4 ProfileName = 0x00000090 ProfileNameSuiteBMinLOS_128ClientKMIPV1_4 ProfileName = 0x00000091 ProfileNameSuiteBMinLOS_128ServerKMIPV1_4 ProfileName = 0x00000092 ProfileNameSuiteBMinLOS_192ClientKMIPV1_4 ProfileName = 0x00000093 ProfileNameSuiteBMinLOS_192ServerKMIPV1_4 ProfileName = 0x00000094 ProfileNameStorageArrayWithSelfEncryptingDriveClientKMIPV1_4 ProfileName = 0x00000095 ProfileNameStorageArrayWithSelfEncryptingDriveServerKMIPV1_4 ProfileName = 0x00000096 ProfileNameHTTPSClientKMIPV1_4 ProfileName = 0x00000097 ProfileNameHTTPSServerKMIPV1_4 ProfileName = 0x00000098 ProfileNameJSONClientKMIPV1_4 ProfileName = 0x00000099 ProfileNameJSONServerKMIPV1_4 ProfileName = 0x0000009a ProfileNameXMLClientKMIPV1_4 ProfileName = 0x0000009b ProfileNameXMLServerKMIPV1_4 ProfileName = 0x0000009c ProfileNameCompleteServerBasic ProfileName = 0x00000104 ProfileNameCompleteServerTLSV1_2 ProfileName = 0x00000105 ProfileNameTapeLibraryClient ProfileName = 0x00000106 ProfileNameTapeLibraryServer ProfileName = 0x00000107 ProfileNameSymmetricKeyLifecycleClient ProfileName = 0x00000108 ProfileNameSymmetricKeyLifecycleServer ProfileName = 0x00000109 ProfileNameAsymmetricKeyLifecycleClient ProfileName = 0x0000010a ProfileNameAsymmetricKeyLifecycleServer ProfileName = 0x0000010b ProfileNameBasicCryptographicClient ProfileName = 0x0000010c ProfileNameBasicCryptographicServer ProfileName = 0x0000010d ProfileNameAdvancedCryptographicClient ProfileName = 0x0000010e ProfileNameAdvancedCryptographicServer ProfileName = 0x0000010f ProfileNameRNGCryptographicClient ProfileName = 0x00000110 ProfileNameRNGCryptographicServer ProfileName = 0x00000111 ProfileNameBasicSymmetricKeyFoundryClient ProfileName = 0x00000112 ProfileNameIntermediateSymmetricKeyFoundryClient ProfileName = 0x00000113 ProfileNameAdvancedSymmetricKeyFoundryClient ProfileName = 0x00000114 ProfileNameSymmetricKeyFoundryServer ProfileName = 0x00000115 ProfileNameOpaqueManagedObjectStoreClient ProfileName = 0x00000116 ProfileNameOpaqueManagedObjectStoreServer ProfileName = 0x00000117 ProfileNameSuiteBMinLOS_128Client ProfileName = 0x00000118 ProfileNameSuiteBMinLOS_128Server ProfileName = 0x00000119 ProfileNameSuiteBMinLOS_192Client ProfileName = 0x0000011a ProfileNameSuiteBMinLOS_192Server ProfileName = 0x0000011b ProfileNameStorageArrayWithSelfEncryptingDriveClient ProfileName = 0x0000011c ProfileNameStorageArrayWithSelfEncryptingDriveServer ProfileName = 0x0000011d ProfileNameHTTPSClient ProfileName = 0x0000011e ProfileNameHTTPSServer ProfileName = 0x0000011f ProfileNameJSONClient ProfileName = 0x00000120 ProfileNameJSONServer ProfileName = 0x00000121 ProfileNameXMLClient ProfileName = 0x00000122 ProfileNameXMLServer ProfileName = 0x00000123 ProfileNameAESXTSClient ProfileName = 0x00000124 ProfileNameAESXTSServer ProfileName = 0x00000125 ProfileNameQuantumSafeClient ProfileName = 0x00000126 ProfileNameQuantumSafeServer ProfileName = 0x00000127 ProfileNamePKCS_11Client ProfileName = 0x00000128 ProfileNamePKCS_11Server ProfileName = 0x00000129 ProfileNameBaselineClient ProfileName = 0x0000012a ProfileNameBaselineServer ProfileName = 0x0000012b ProfileNameCompleteServer ProfileName = 0x0000012c )
func (ProfileName) MarshalTTLV ¶
func (ProfileName) MarshalText ¶
func (p ProfileName) MarshalText() (text []byte, err error)
func (ProfileName) String ¶
func (p ProfileName) String() string
type ProtectionLevel ¶
type ProtectionLevel uint32
Protection Level Enumeration
const ( ProtectionLevelHigh ProtectionLevel = 0x00000001 ProtectionLevelLow ProtectionLevel = 0x00000002 )
func (ProtectionLevel) MarshalTTLV ¶
func (ProtectionLevel) MarshalText ¶
func (p ProtectionLevel) MarshalText() (text []byte, err error)
func (ProtectionLevel) String ¶
func (p ProtectionLevel) String() string
type ProtectionStorageMask ¶
type ProtectionStorageMask uint32
Protection Storage Mask Bit Mask
const ( ProtectionStorageMaskSoftware ProtectionStorageMask = 0x00000001 ProtectionStorageMaskHardware ProtectionStorageMask = 0x00000002 ProtectionStorageMaskOnProcessor ProtectionStorageMask = 0x00000004 ProtectionStorageMaskOnSystem ProtectionStorageMask = 0x00000008 ProtectionStorageMaskOffSystem ProtectionStorageMask = 0x00000010 ProtectionStorageMaskHypervisor ProtectionStorageMask = 0x00000020 ProtectionStorageMaskOperatingSystem ProtectionStorageMask = 0x00000040 ProtectionStorageMaskContainer ProtectionStorageMask = 0x00000080 ProtectionStorageMaskOnPremises ProtectionStorageMask = 0x00000100 ProtectionStorageMaskOffPremises ProtectionStorageMask = 0x00000200 ProtectionStorageMaskSelfManaged ProtectionStorageMask = 0x00000400 ProtectionStorageMaskOutsourced ProtectionStorageMask = 0x00000800 ProtectionStorageMaskValidated ProtectionStorageMask = 0x00001000 ProtectionStorageMaskSameJurisdiction ProtectionStorageMask = 0x00002000 )
func (ProtectionStorageMask) MarshalTTLV ¶
func (ProtectionStorageMask) MarshalText ¶
func (p ProtectionStorageMask) MarshalText() (text []byte, err error)
func (ProtectionStorageMask) String ¶
func (p ProtectionStorageMask) String() string
type QueryFunction ¶
type QueryFunction uint32
Query Function Enumeration 9.1.3.2.24 Table 312
const ( QueryFunctionQueryOperations QueryFunction = 0x00000001 QueryFunctionQueryObjects QueryFunction = 0x00000002 QueryFunctionQueryServerInformation QueryFunction = 0x00000003 QueryFunctionQueryApplicationNamespaces QueryFunction = 0x00000004 QueryFunctionQueryExtensionList QueryFunction = 0x00000005 QueryFunctionQueryExtensionMap QueryFunction = 0x00000006 QueryFunctionQueryAttestationTypes QueryFunction = 0x00000007 QueryFunctionQueryRNGs QueryFunction = 0x00000008 QueryFunctionQueryValidations QueryFunction = 0x00000009 QueryFunctionQueryProfiles QueryFunction = 0x0000000a QueryFunctionQueryCapabilities QueryFunction = 0x0000000b QueryFunctionQueryClientRegistrationMethods QueryFunction = 0x0000000c QueryFunctionQueryDefaultsInformation QueryFunction = 0x0000000d QueryFunctionQueryStorageProtectionMasks QueryFunction = 0x0000000e )
func (QueryFunction) MarshalTTLV ¶
func (QueryFunction) MarshalText ¶
func (q QueryFunction) MarshalText() (text []byte, err error)
func (QueryFunction) String ¶
func (q QueryFunction) String() string
type RecommendedCurve ¶
type RecommendedCurve uint32
Recommended Curve Enumeration 9.1.3.2.5 Table 293
const ( RecommendedCurveP_192 RecommendedCurve = 0x00000001 RecommendedCurveK_163 RecommendedCurve = 0x00000002 RecommendedCurveB_163 RecommendedCurve = 0x00000003 RecommendedCurveP_224 RecommendedCurve = 0x00000004 RecommendedCurveK_233 RecommendedCurve = 0x00000005 RecommendedCurveB_233 RecommendedCurve = 0x00000006 RecommendedCurveP_256 RecommendedCurve = 0x00000007 RecommendedCurveK_283 RecommendedCurve = 0x00000008 RecommendedCurveB_283 RecommendedCurve = 0x00000009 RecommendedCurveP_384 RecommendedCurve = 0x0000000a RecommendedCurveK_409 RecommendedCurve = 0x0000000b RecommendedCurveB_409 RecommendedCurve = 0x0000000c RecommendedCurveP_521 RecommendedCurve = 0x0000000d RecommendedCurveK_571 RecommendedCurve = 0x0000000e RecommendedCurveB_571 RecommendedCurve = 0x0000000f RecommendedCurveSECP112R1 RecommendedCurve = 0x00000010 RecommendedCurveSECP112R2 RecommendedCurve = 0x00000011 RecommendedCurveSECP128R1 RecommendedCurve = 0x00000012 RecommendedCurveSECP128R2 RecommendedCurve = 0x00000013 RecommendedCurveSECP160K1 RecommendedCurve = 0x00000014 RecommendedCurveSECP160R1 RecommendedCurve = 0x00000015 RecommendedCurveSECP160R2 RecommendedCurve = 0x00000016 RecommendedCurveSECP192K1 RecommendedCurve = 0x00000017 RecommendedCurveSECP224K1 RecommendedCurve = 0x00000018 RecommendedCurveSECP256K1 RecommendedCurve = 0x00000019 RecommendedCurveSECT113R1 RecommendedCurve = 0x0000001a RecommendedCurveSECT113R2 RecommendedCurve = 0x0000001b RecommendedCurveSECT131R1 RecommendedCurve = 0x0000001c RecommendedCurveSECT131R2 RecommendedCurve = 0x0000001d RecommendedCurveSECT163R1 RecommendedCurve = 0x0000001e RecommendedCurveSECT193R1 RecommendedCurve = 0x0000001f RecommendedCurveSECT193R2 RecommendedCurve = 0x00000020 RecommendedCurveSECT239K1 RecommendedCurve = 0x00000021 RecommendedCurveANSIX9P192V2 RecommendedCurve = 0x00000022 RecommendedCurveANSIX9P192V3 RecommendedCurve = 0x00000023 RecommendedCurveANSIX9P239V1 RecommendedCurve = 0x00000024 RecommendedCurveANSIX9P239V2 RecommendedCurve = 0x00000025 RecommendedCurveANSIX9P239V3 RecommendedCurve = 0x00000026 RecommendedCurveANSIX9C2PNB163V1 RecommendedCurve = 0x00000027 RecommendedCurveANSIX9C2PNB163V2 RecommendedCurve = 0x00000028 RecommendedCurveANSIX9C2PNB163V3 RecommendedCurve = 0x00000029 RecommendedCurveANSIX9C2PNB176V1 RecommendedCurve = 0x0000002a RecommendedCurveANSIX9C2TNB191V1 RecommendedCurve = 0x0000002b RecommendedCurveANSIX9C2TNB191V2 RecommendedCurve = 0x0000002c RecommendedCurveANSIX9C2TNB191V3 RecommendedCurve = 0x0000002d RecommendedCurveANSIX9C2PNB208W1 RecommendedCurve = 0x0000002e RecommendedCurveANSIX9C2TNB239V1 RecommendedCurve = 0x0000002f RecommendedCurveANSIX9C2TNB239V2 RecommendedCurve = 0x00000030 RecommendedCurveANSIX9C2TNB239V3 RecommendedCurve = 0x00000031 RecommendedCurveANSIX9C2PNB272W1 RecommendedCurve = 0x00000032 RecommendedCurveANSIX9C2PNB304W1 RecommendedCurve = 0x00000033 RecommendedCurveANSIX9C2TNB359V1 RecommendedCurve = 0x00000034 RecommendedCurveANSIX9C2PNB368W1 RecommendedCurve = 0x00000035 RecommendedCurveANSIX9C2TNB431R1 RecommendedCurve = 0x00000036 RecommendedCurveBRAINPOOLP160R1 RecommendedCurve = 0x00000037 RecommendedCurveBRAINPOOLP160T1 RecommendedCurve = 0x00000038 RecommendedCurveBRAINPOOLP192R1 RecommendedCurve = 0x00000039 RecommendedCurveBRAINPOOLP192T1 RecommendedCurve = 0x0000003a RecommendedCurveBRAINPOOLP224R1 RecommendedCurve = 0x0000003b RecommendedCurveBRAINPOOLP224T1 RecommendedCurve = 0x0000003c RecommendedCurveBRAINPOOLP256R1 RecommendedCurve = 0x0000003d RecommendedCurveBRAINPOOLP256T1 RecommendedCurve = 0x0000003e RecommendedCurveBRAINPOOLP320R1 RecommendedCurve = 0x0000003f RecommendedCurveBRAINPOOLP320T1 RecommendedCurve = 0x00000040 RecommendedCurveBRAINPOOLP384R1 RecommendedCurve = 0x00000041 RecommendedCurveBRAINPOOLP384T1 RecommendedCurve = 0x00000042 RecommendedCurveBRAINPOOLP512R1 RecommendedCurve = 0x00000043 RecommendedCurveBRAINPOOLP512T1 RecommendedCurve = 0x00000044 RecommendedCurveCURVE25519 RecommendedCurve = 0x00000045 RecommendedCurveCURVE448 RecommendedCurve = 0x00000046 )
func (RecommendedCurve) MarshalTTLV ¶
func (RecommendedCurve) MarshalText ¶
func (r RecommendedCurve) MarshalText() (text []byte, err error)
func (RecommendedCurve) String ¶
func (r RecommendedCurve) String() string
type ResultReason ¶
type ResultReason uint32
Result Reason Enumeration 9.1.3.2.29 Table 317
const ( ResultReasonItemNotFound ResultReason = 0x00000001 ResultReasonResponseTooLarge ResultReason = 0x00000002 ResultReasonAuthenticationNotSuccessful ResultReason = 0x00000003 ResultReasonInvalidMessage ResultReason = 0x00000004 ResultReasonOperationNotSupported ResultReason = 0x00000005 ResultReasonMissingData ResultReason = 0x00000006 ResultReasonInvalidField ResultReason = 0x00000007 ResultReasonFeatureNotSupported ResultReason = 0x00000008 ResultReasonOperationCanceledByRequester ResultReason = 0x00000009 ResultReasonCryptographicFailure ResultReason = 0x0000000a ResultReasonIllegalOperation ResultReason = 0x0000000b ResultReasonPermissionDenied ResultReason = 0x0000000c ResultReasonObjectArchived ResultReason = 0x0000000d ResultReasonIndexOutOfBounds ResultReason = 0x0000000e ResultReasonApplicationNamespaceNotSupported ResultReason = 0x0000000f ResultReasonKeyFormatTypeNotSupported ResultReason = 0x00000010 ResultReasonKeyCompressionTypeNotSupported ResultReason = 0x00000011 ResultReasonEncodingOptionError ResultReason = 0x00000012 ResultReasonKeyValueNotPresent ResultReason = 0x00000013 ResultReasonAttestationRequired ResultReason = 0x00000014 ResultReasonAttestationFailed ResultReason = 0x00000015 ResultReasonSensitive ResultReason = 0x00000016 ResultReasonNotExtractable ResultReason = 0x00000017 ResultReasonObjectAlreadyExists ResultReason = 0x00000018 ResultReasonInvalidTicket ResultReason = 0x00000019 ResultReasonUsageLimitExceeded ResultReason = 0x0000001a ResultReasonNumericRange ResultReason = 0x0000001b ResultReasonInvalidDataType ResultReason = 0x0000001c ResultReasonReadOnlyAttribute ResultReason = 0x0000001d ResultReasonMultiValuedAttribute ResultReason = 0x0000001e ResultReasonUnsupportedAttribute ResultReason = 0x0000001f ResultReasonAttributeInstanceNotFound ResultReason = 0x00000020 ResultReasonAttributeNotFound ResultReason = 0x00000021 ResultReasonAttributeReadOnly ResultReason = 0x00000022 ResultReasonAttributeSingleValued ResultReason = 0x00000023 ResultReasonBadCryptographicParameters ResultReason = 0x00000024 ResultReasonBadPassword ResultReason = 0x00000025 ResultReasonCodecError ResultReason = 0x00000026 ResultReasonIllegalObjectType ResultReason = 0x00000028 ResultReasonIncompatibleCryptographicUsageMask ResultReason = 0x00000029 ResultReasonInternalServerError ResultReason = 0x0000002a ResultReasonInvalidAsynchronousCorrelationValue ResultReason = 0x0000002b ResultReasonInvalidAttribute ResultReason = 0x0000002c ResultReasonInvalidAttributeValue ResultReason = 0x0000002d ResultReasonInvalidCorrelationValue ResultReason = 0x0000002e ResultReasonInvalidCSR ResultReason = 0x0000002f ResultReasonInvalidObjectType ResultReason = 0x00000030 ResultReasonKeyWrapTypeNotSupported ResultReason = 0x00000032 ResultReasonMissingInitializationVector ResultReason = 0x00000034 ResultReasonNonUniqueNameAttribute ResultReason = 0x00000035 ResultReasonObjectDestroyed ResultReason = 0x00000036 ResultReasonObjectNotFound ResultReason = 0x00000037 ResultReasonNotAuthorized ResultReason = 0x00000039 ResultReasonServerLimitExceeded ResultReason = 0x0000003a ResultReasonUnknownEnumeration ResultReason = 0x0000003b ResultReasonUnknownMessageExtension ResultReason = 0x0000003c ResultReasonUnknownTag ResultReason = 0x0000003d ResultReasonUnsupportedCryptographicParameters ResultReason = 0x0000003e ResultReasonUnsupportedProtocolVersion ResultReason = 0x0000003f ResultReasonWrappingObjectArchived ResultReason = 0x00000040 ResultReasonWrappingObjectDestroyed ResultReason = 0x00000041 ResultReasonWrappingObjectNotFound ResultReason = 0x00000042 ResultReasonWrongKeyLifecycleState ResultReason = 0x00000043 ResultReasonPKCS_11CodecError ResultReason = 0x00000045 ResultReasonPKCS_11InvalidFunction ResultReason = 0x00000046 ResultReasonPKCS_11InvalidInterface ResultReason = 0x00000047 ResultReasonGeneralFailure ResultReason = 0x00000100 )
func (ResultReason) MarshalTTLV ¶
func (ResultReason) MarshalText ¶
func (r ResultReason) MarshalText() (text []byte, err error)
func (ResultReason) String ¶
func (r ResultReason) String() string
type TicketType ¶
type TicketType uint32
Ticket Type Enumeration
const (
TicketTypeLogin TicketType = 0x00000001
)
func (TicketType) MarshalTTLV ¶
func (TicketType) MarshalText ¶
func (t TicketType) MarshalText() (text []byte, err error)
func (TicketType) String ¶
func (t TicketType) String() string
type UniqueIdentifier ¶
type UniqueIdentifier uint32
Unique Identifier Enumeration
const ( UniqueIdentifierIDPlaceholder UniqueIdentifier = 0x00000001 UniqueIdentifierCertify UniqueIdentifier = 0x00000002 UniqueIdentifierCreate UniqueIdentifier = 0x00000003 UniqueIdentifierCreateKeyPair UniqueIdentifier = 0x00000004 UniqueIdentifierCreateKeyPairPrivateKey UniqueIdentifier = 0x00000005 UniqueIdentifierCreateKeyPairPublicKey UniqueIdentifier = 0x00000006 UniqueIdentifierCreateSplitKey UniqueIdentifier = 0x00000007 UniqueIdentifierDeriveKey UniqueIdentifier = 0x00000008 UniqueIdentifierImport UniqueIdentifier = 0x00000009 UniqueIdentifierJoinSplitKey UniqueIdentifier = 0x0000000a UniqueIdentifierLocate UniqueIdentifier = 0x0000000b UniqueIdentifierRegister UniqueIdentifier = 0x0000000c UniqueIdentifierReKey UniqueIdentifier = 0x0000000d UniqueIdentifierReCertify UniqueIdentifier = 0x0000000e UniqueIdentifierReKeyKeyPair UniqueIdentifier = 0x0000000f UniqueIdentifierReKeyKeyPairPrivateKey UniqueIdentifier = 0x00000010 UniqueIdentifierReKeyKeyPairPublicKey UniqueIdentifier = 0x00000011 )
func (UniqueIdentifier) MarshalTTLV ¶
func (UniqueIdentifier) MarshalText ¶
func (u UniqueIdentifier) MarshalText() (text []byte, err error)
func (UniqueIdentifier) String ¶
func (u UniqueIdentifier) String() string
type UniqueIdentifierValue ¶
type UniqueIdentifierValue struct { Text string Enum UniqueIdentifier Index int32 }