kmip14

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package kmip14 contains tag and enumeration value definitions from the 1.4 specification. These definitions will be registered automatically into the DefaultRegistry.

Each tag is stored in a package constant, named Tag<normalized KMIP name>. Bitmask and Enumeration values are each represented by a type, named after the normalized name of the values set from the spec, e.g.

Code generated by kmipgen; DO NOT EDIT.

Index

Constants

View Source
const (
	TagActivationDate                        ttlv.Tag = 0x420001
	TagApplicationData                       ttlv.Tag = 0x420002
	TagApplicationNamespace                  ttlv.Tag = 0x420003
	TagApplicationSpecificInformation        ttlv.Tag = 0x420004
	TagArchiveDate                           ttlv.Tag = 0x420005
	TagAsynchronousCorrelationValue          ttlv.Tag = 0x420006
	TagAsynchronousIndicator                 ttlv.Tag = 0x420007
	TagAttribute                             ttlv.Tag = 0x420008
	TagAttributeIndex                        ttlv.Tag = 0x420009
	TagAttributeName                         ttlv.Tag = 0x42000a
	TagAttributeValue                        ttlv.Tag = 0x42000b
	TagAuthentication                        ttlv.Tag = 0x42000c
	TagBatchCount                            ttlv.Tag = 0x42000d
	TagBatchErrorContinuationOption          ttlv.Tag = 0x42000e
	TagBatchItem                             ttlv.Tag = 0x42000f
	TagBatchOrderOption                      ttlv.Tag = 0x420010
	TagBlockCipherMode                       ttlv.Tag = 0x420011
	TagCancellationResult                    ttlv.Tag = 0x420012
	TagCertificate                           ttlv.Tag = 0x420013
	TagCertificateIdentifier                 ttlv.Tag = 0x420014
	TagCertificateIssuer                     ttlv.Tag = 0x420015
	TagCertificateIssuerAlternativeName      ttlv.Tag = 0x420016
	TagCertificateIssuerDistinguishedName    ttlv.Tag = 0x420017
	TagCertificateRequest                    ttlv.Tag = 0x420018
	TagCertificateRequestType                ttlv.Tag = 0x420019
	TagCertificateSubject                    ttlv.Tag = 0x42001a
	TagCertificateSubjectAlternativeName     ttlv.Tag = 0x42001b
	TagCertificateSubjectDistinguishedName   ttlv.Tag = 0x42001c
	TagCertificateType                       ttlv.Tag = 0x42001d
	TagCertificateValue                      ttlv.Tag = 0x42001e
	TagCommonTemplateAttribute               ttlv.Tag = 0x42001f
	TagCompromiseDate                        ttlv.Tag = 0x420020
	TagCompromiseOccurrenceDate              ttlv.Tag = 0x420021
	TagContactInformation                    ttlv.Tag = 0x420022
	TagCredential                            ttlv.Tag = 0x420023
	TagCredentialType                        ttlv.Tag = 0x420024
	TagCredentialValue                       ttlv.Tag = 0x420025
	TagCriticalityIndicator                  ttlv.Tag = 0x420026
	TagCRTCoefficient                        ttlv.Tag = 0x420027
	TagCryptographicAlgorithm                ttlv.Tag = 0x420028
	TagCryptographicDomainParameters         ttlv.Tag = 0x420029
	TagCryptographicLength                   ttlv.Tag = 0x42002a
	TagCryptographicParameters               ttlv.Tag = 0x42002b
	TagCryptographicUsageMask                ttlv.Tag = 0x42002c
	TagCustomAttribute                       ttlv.Tag = 0x42002d
	TagD                                     ttlv.Tag = 0x42002e
	TagDeactivationDate                      ttlv.Tag = 0x42002f
	TagDerivationData                        ttlv.Tag = 0x420030
	TagDerivationMethod                      ttlv.Tag = 0x420031
	TagDerivationParameters                  ttlv.Tag = 0x420032
	TagDestroyDate                           ttlv.Tag = 0x420033
	TagDigest                                ttlv.Tag = 0x420034
	TagDigestValue                           ttlv.Tag = 0x420035
	TagEncryptionKeyInformation              ttlv.Tag = 0x420036
	TagG                                     ttlv.Tag = 0x420037
	TagHashingAlgorithm                      ttlv.Tag = 0x420038
	TagInitialDate                           ttlv.Tag = 0x420039
	TagInitializationVector                  ttlv.Tag = 0x42003a
	TagIssuer                                ttlv.Tag = 0x42003b
	TagIterationCount                        ttlv.Tag = 0x42003c
	TagIVCounterNonce                        ttlv.Tag = 0x42003d
	TagJ                                     ttlv.Tag = 0x42003e
	TagKey                                   ttlv.Tag = 0x42003f
	TagKeyBlock                              ttlv.Tag = 0x420040
	TagKeyCompressionType                    ttlv.Tag = 0x420041
	TagKeyFormatType                         ttlv.Tag = 0x420042
	TagKeyMaterial                           ttlv.Tag = 0x420043
	TagKeyPartIdentifier                     ttlv.Tag = 0x420044
	TagKeyValue                              ttlv.Tag = 0x420045
	TagKeyWrappingData                       ttlv.Tag = 0x420046
	TagKeyWrappingSpecification              ttlv.Tag = 0x420047
	TagLastChangeDate                        ttlv.Tag = 0x420048
	TagLeaseTime                             ttlv.Tag = 0x420049
	TagLink                                  ttlv.Tag = 0x42004a
	TagLinkType                              ttlv.Tag = 0x42004b
	TagLinkedObjectIdentifier                ttlv.Tag = 0x42004c
	TagMACSignature                          ttlv.Tag = 0x42004d
	TagMACSignatureKeyInformation            ttlv.Tag = 0x42004e
	TagMaximumItems                          ttlv.Tag = 0x42004f
	TagMaximumResponseSize                   ttlv.Tag = 0x420050
	TagMessageExtension                      ttlv.Tag = 0x420051
	TagModulus                               ttlv.Tag = 0x420052
	TagName                                  ttlv.Tag = 0x420053
	TagNameType                              ttlv.Tag = 0x420054
	TagNameValue                             ttlv.Tag = 0x420055
	TagObjectGroup                           ttlv.Tag = 0x420056
	TagObjectType                            ttlv.Tag = 0x420057
	TagOffset                                ttlv.Tag = 0x420058
	TagOpaqueDataType                        ttlv.Tag = 0x420059
	TagOpaqueDataValue                       ttlv.Tag = 0x42005a
	TagOpaqueObject                          ttlv.Tag = 0x42005b
	TagOperation                             ttlv.Tag = 0x42005c
	TagOperationPolicyName                   ttlv.Tag = 0x42005d
	TagP                                     ttlv.Tag = 0x42005e
	TagPaddingMethod                         ttlv.Tag = 0x42005f
	TagPrimeExponentP                        ttlv.Tag = 0x420060
	TagPrimeExponentQ                        ttlv.Tag = 0x420061
	TagPrimeFieldSize                        ttlv.Tag = 0x420062
	TagPrivateExponent                       ttlv.Tag = 0x420063
	TagPrivateKey                            ttlv.Tag = 0x420064
	TagPrivateKeyTemplateAttribute           ttlv.Tag = 0x420065
	TagPrivateKeyUniqueIdentifier            ttlv.Tag = 0x420066
	TagProcessStartDate                      ttlv.Tag = 0x420067
	TagProtectStopDate                       ttlv.Tag = 0x420068
	TagProtocolVersion                       ttlv.Tag = 0x420069
	TagProtocolVersionMajor                  ttlv.Tag = 0x42006a
	TagProtocolVersionMinor                  ttlv.Tag = 0x42006b
	TagPublicExponent                        ttlv.Tag = 0x42006c
	TagPublicKey                             ttlv.Tag = 0x42006d
	TagPublicKeyTemplateAttribute            ttlv.Tag = 0x42006e
	TagPublicKeyUniqueIdentifier             ttlv.Tag = 0x42006f
	TagPutFunction                           ttlv.Tag = 0x420070
	TagQ                                     ttlv.Tag = 0x420071
	TagQString                               ttlv.Tag = 0x420072
	TagQlength                               ttlv.Tag = 0x420073
	TagQueryFunction                         ttlv.Tag = 0x420074
	TagRecommendedCurve                      ttlv.Tag = 0x420075
	TagReplacedUniqueIdentifier              ttlv.Tag = 0x420076
	TagRequestHeader                         ttlv.Tag = 0x420077
	TagRequestMessage                        ttlv.Tag = 0x420078
	TagRequestPayload                        ttlv.Tag = 0x420079
	TagResponseHeader                        ttlv.Tag = 0x42007a
	TagResponseMessage                       ttlv.Tag = 0x42007b
	TagResponsePayload                       ttlv.Tag = 0x42007c
	TagResultMessage                         ttlv.Tag = 0x42007d
	TagResultReason                          ttlv.Tag = 0x42007e
	TagResultStatus                          ttlv.Tag = 0x42007f
	TagRevocationMessage                     ttlv.Tag = 0x420080
	TagRevocationReason                      ttlv.Tag = 0x420081
	TagRevocationReasonCode                  ttlv.Tag = 0x420082
	TagKeyRoleType                           ttlv.Tag = 0x420083
	TagSalt                                  ttlv.Tag = 0x420084
	TagSecretData                            ttlv.Tag = 0x420085
	TagSecretDataType                        ttlv.Tag = 0x420086
	TagSerialNumber                          ttlv.Tag = 0x420087
	TagServerInformation                     ttlv.Tag = 0x420088
	TagSplitKey                              ttlv.Tag = 0x420089
	TagSplitKeyMethod                        ttlv.Tag = 0x42008a
	TagSplitKeyParts                         ttlv.Tag = 0x42008b
	TagSplitKeyThreshold                     ttlv.Tag = 0x42008c
	TagState                                 ttlv.Tag = 0x42008d
	TagStorageStatusMask                     ttlv.Tag = 0x42008e
	TagSymmetricKey                          ttlv.Tag = 0x42008f
	TagTemplate                              ttlv.Tag = 0x420090
	TagTemplateAttribute                     ttlv.Tag = 0x420091
	TagTimeStamp                             ttlv.Tag = 0x420092
	TagUniqueBatchItemID                     ttlv.Tag = 0x420093
	TagUniqueIdentifier                      ttlv.Tag = 0x420094
	TagUsageLimits                           ttlv.Tag = 0x420095
	TagUsageLimitsCount                      ttlv.Tag = 0x420096
	TagUsageLimitsTotal                      ttlv.Tag = 0x420097
	TagUsageLimitsUnit                       ttlv.Tag = 0x420098
	TagUsername                              ttlv.Tag = 0x420099
	TagValidityDate                          ttlv.Tag = 0x42009a
	TagValidityIndicator                     ttlv.Tag = 0x42009b
	TagVendorExtension                       ttlv.Tag = 0x42009c
	TagVendorIdentification                  ttlv.Tag = 0x42009d
	TagWrappingMethod                        ttlv.Tag = 0x42009e
	TagX                                     ttlv.Tag = 0x42009f
	TagY                                     ttlv.Tag = 0x4200a0
	TagPassword                              ttlv.Tag = 0x4200a1
	TagDeviceIdentifier                      ttlv.Tag = 0x4200a2
	TagEncodingOption                        ttlv.Tag = 0x4200a3
	TagExtensionInformation                  ttlv.Tag = 0x4200a4
	TagExtensionName                         ttlv.Tag = 0x4200a5
	TagExtensionTag                          ttlv.Tag = 0x4200a6
	TagExtensionType                         ttlv.Tag = 0x4200a7
	TagFresh                                 ttlv.Tag = 0x4200a8
	TagMachineIdentifier                     ttlv.Tag = 0x4200a9
	TagMediaIdentifier                       ttlv.Tag = 0x4200aa
	TagNetworkIdentifier                     ttlv.Tag = 0x4200ab
	TagObjectGroupMember                     ttlv.Tag = 0x4200ac
	TagCertificateLength                     ttlv.Tag = 0x4200ad
	TagDigitalSignatureAlgorithm             ttlv.Tag = 0x4200ae
	TagCertificateSerialNumber               ttlv.Tag = 0x4200af
	TagDeviceSerialNumber                    ttlv.Tag = 0x4200b0
	TagIssuerAlternativeName                 ttlv.Tag = 0x4200b1
	TagIssuerDistinguishedName               ttlv.Tag = 0x4200b2
	TagSubjectAlternativeName                ttlv.Tag = 0x4200b3
	TagSubjectDistinguishedName              ttlv.Tag = 0x4200b4
	TagX_509CertificateIdentifier            ttlv.Tag = 0x4200b5
	TagX_509CertificateIssuer                ttlv.Tag = 0x4200b6
	TagX_509CertificateSubject               ttlv.Tag = 0x4200b7
	TagKeyValueLocation                      ttlv.Tag = 0x4200b8
	TagKeyValueLocationValue                 ttlv.Tag = 0x4200b9
	TagKeyValueLocationType                  ttlv.Tag = 0x4200ba
	TagKeyValuePresent                       ttlv.Tag = 0x4200bb
	TagOriginalCreationDate                  ttlv.Tag = 0x4200bc
	TagPGPKey                                ttlv.Tag = 0x4200bd
	TagPGPKeyVersion                         ttlv.Tag = 0x4200be
	TagAlternativeName                       ttlv.Tag = 0x4200bf
	TagAlternativeNameValue                  ttlv.Tag = 0x4200c0
	TagAlternativeNameType                   ttlv.Tag = 0x4200c1
	TagData                                  ttlv.Tag = 0x4200c2
	TagSignatureData                         ttlv.Tag = 0x4200c3
	TagDataLength                            ttlv.Tag = 0x4200c4
	TagRandomIV                              ttlv.Tag = 0x4200c5
	TagMACData                               ttlv.Tag = 0x4200c6
	TagAttestationType                       ttlv.Tag = 0x4200c7
	TagNonce                                 ttlv.Tag = 0x4200c8
	TagNonceID                               ttlv.Tag = 0x4200c9
	TagNonceValue                            ttlv.Tag = 0x4200ca
	TagAttestationMeasurement                ttlv.Tag = 0x4200cb
	TagAttestationAssertion                  ttlv.Tag = 0x4200cc
	TagIVLength                              ttlv.Tag = 0x4200cd
	TagTagLength                             ttlv.Tag = 0x4200ce
	TagFixedFieldLength                      ttlv.Tag = 0x4200cf
	TagCounterLength                         ttlv.Tag = 0x4200d0
	TagInitialCounterValue                   ttlv.Tag = 0x4200d1
	TagInvocationFieldLength                 ttlv.Tag = 0x4200d2
	TagAttestationCapableIndicator           ttlv.Tag = 0x4200d3
	TagOffsetItems                           ttlv.Tag = 0x4200d4
	TagLocatedItems                          ttlv.Tag = 0x4200d5
	TagCorrelationValue                      ttlv.Tag = 0x4200d6
	TagInitIndicator                         ttlv.Tag = 0x4200d7
	TagFinalIndicator                        ttlv.Tag = 0x4200d8
	TagRNGParameters                         ttlv.Tag = 0x4200d9
	TagRNGAlgorithm                          ttlv.Tag = 0x4200da
	TagDRBGAlgorithm                         ttlv.Tag = 0x4200db
	TagFIPS186Variation                      ttlv.Tag = 0x4200dc
	TagPredictionResistance                  ttlv.Tag = 0x4200dd
	TagRandomNumberGenerator                 ttlv.Tag = 0x4200de
	TagValidationInformation                 ttlv.Tag = 0x4200df
	TagValidationAuthorityType               ttlv.Tag = 0x4200e0
	TagValidationAuthorityCountry            ttlv.Tag = 0x4200e1
	TagValidationAuthorityURI                ttlv.Tag = 0x4200e2
	TagValidationVersionMajor                ttlv.Tag = 0x4200e3
	TagValidationVersionMinor                ttlv.Tag = 0x4200e4
	TagValidationType                        ttlv.Tag = 0x4200e5
	TagValidationLevel                       ttlv.Tag = 0x4200e6
	TagValidationCertificateIdentifier       ttlv.Tag = 0x4200e7
	TagValidationCertificateURI              ttlv.Tag = 0x4200e8
	TagValidationVendorURI                   ttlv.Tag = 0x4200e9
	TagValidationProfile                     ttlv.Tag = 0x4200ea
	TagProfileInformation                    ttlv.Tag = 0x4200eb
	TagProfileName                           ttlv.Tag = 0x4200ec
	TagServerURI                             ttlv.Tag = 0x4200ed
	TagServerPort                            ttlv.Tag = 0x4200ee
	TagStreamingCapability                   ttlv.Tag = 0x4200ef
	TagAsynchronousCapability                ttlv.Tag = 0x4200f0
	TagAttestationCapability                 ttlv.Tag = 0x4200f1
	TagUnwrapMode                            ttlv.Tag = 0x4200f2
	TagDestroyAction                         ttlv.Tag = 0x4200f3
	TagShreddingAlgorithm                    ttlv.Tag = 0x4200f4
	TagRNGMode                               ttlv.Tag = 0x4200f5
	TagClientRegistrationMethod              ttlv.Tag = 0x4200f6
	TagCapabilityInformation                 ttlv.Tag = 0x4200f7
	TagKeyWrapType                           ttlv.Tag = 0x4200f8
	TagBatchUndoCapability                   ttlv.Tag = 0x4200f9
	TagBatchContinueCapability               ttlv.Tag = 0x4200fa
	TagPKCS_12FriendlyName                   ttlv.Tag = 0x4200fb
	TagDescription                           ttlv.Tag = 0x4200fc
	TagComment                               ttlv.Tag = 0x4200fd
	TagAuthenticatedEncryptionAdditionalData ttlv.Tag = 0x4200fe
	TagAuthenticatedEncryptionTag            ttlv.Tag = 0x4200ff
	TagSaltLength                            ttlv.Tag = 0x420100
	TagMaskGenerator                         ttlv.Tag = 0x420101
	TagMaskGeneratorHashingAlgorithm         ttlv.Tag = 0x420102
	TagPSource                               ttlv.Tag = 0x420103
	TagTrailerField                          ttlv.Tag = 0x420104
	TagClientCorrelationValue                ttlv.Tag = 0x420105
	TagServerCorrelationValue                ttlv.Tag = 0x420106
	TagDigestedData                          ttlv.Tag = 0x420107
	TagCertificateSubjectCN                  ttlv.Tag = 0x420108
	TagCertificateSubjectO                   ttlv.Tag = 0x420109
	TagCertificateSubjectOU                  ttlv.Tag = 0x42010a
	TagCertificateSubjectEmail               ttlv.Tag = 0x42010b
	TagCertificateSubjectC                   ttlv.Tag = 0x42010c
	TagCertificateSubjectST                  ttlv.Tag = 0x42010d
	TagCertificateSubjectL                   ttlv.Tag = 0x42010e
	TagCertificateSubjectUID                 ttlv.Tag = 0x42010f
	TagCertificateSubjectSerialNumber        ttlv.Tag = 0x420110
	TagCertificateSubjectTitle               ttlv.Tag = 0x420111
	TagCertificateSubjectDC                  ttlv.Tag = 0x420112
	TagCertificateSubjectDNQualifier         ttlv.Tag = 0x420113
	TagCertificateIssuerCN                   ttlv.Tag = 0x420114
	TagCertificateIssuerO                    ttlv.Tag = 0x420115
	TagCertificateIssuerOU                   ttlv.Tag = 0x420116
	TagCertificateIssuerEmail                ttlv.Tag = 0x420117
	TagCertificateIssuerC                    ttlv.Tag = 0x420118
	TagCertificateIssuerST                   ttlv.Tag = 0x420119
	TagCertificateIssuerL                    ttlv.Tag = 0x42011a
	TagCertificateIssuerUID                  ttlv.Tag = 0x42011b
	TagCertificateIssuerSerialNumber         ttlv.Tag = 0x42011c
	TagCertificateIssuerTitle                ttlv.Tag = 0x42011d
	TagCertificateIssuerDC                   ttlv.Tag = 0x42011e
	TagCertificateIssuerDNQualifier          ttlv.Tag = 0x42011f
	TagSensitive                             ttlv.Tag = 0x420120
	TagAlwaysSensitive                       ttlv.Tag = 0x420121
	TagExtractable                           ttlv.Tag = 0x420122
	TagNeverExtractable                      ttlv.Tag = 0x420123
	TagReplaceExisting                       ttlv.Tag = 0x420124
)

Variables

View Source
var AlternativeNameTypeEnum = NewAlternativeNameTypeEnum()
View Source
var AttestationTypeEnum = NewAttestationTypeEnum()
View Source
var BatchErrorContinuationOptionEnum = NewBatchErrorContinuationOptionEnum()
View Source
var BlockCipherModeEnum = NewBlockCipherModeEnum()
View Source
var CancellationResultEnum = NewCancellationResultEnum()
View Source
var CertificateRequestTypeEnum = NewCertificateRequestTypeEnum()
View Source
var CertificateTypeEnum = NewCertificateTypeEnum()
View Source
var ClientRegistrationMethodEnum = NewClientRegistrationMethodEnum()
View Source
var CredentialTypeEnum = NewCredentialTypeEnum()
View Source
var CryptographicAlgorithmEnum = NewCryptographicAlgorithmEnum()
View Source
var CryptographicUsageMaskEnum = NewCryptographicUsageMaskEnum()
View Source
var DRBGAlgorithmEnum = NewDRBGAlgorithmEnum()
View Source
var DerivationMethodEnum = NewDerivationMethodEnum()
View Source
var DestroyActionEnum = NewDestroyActionEnum()
View Source
var DigitalSignatureAlgorithmEnum = NewDigitalSignatureAlgorithmEnum()
View Source
var EncodingOptionEnum = NewEncodingOptionEnum()
View Source
var FIPS186VariationEnum = NewFIPS186VariationEnum()
View Source
var HashingAlgorithmEnum = NewHashingAlgorithmEnum()
View Source
var KeyCompressionTypeEnum = NewKeyCompressionTypeEnum()
View Source
var KeyFormatTypeEnum = NewKeyFormatTypeEnum()
View Source
var KeyRoleTypeEnum = NewKeyRoleTypeEnum()
View Source
var KeyValueLocationTypeEnum = NewKeyValueLocationTypeEnum()
View Source
var KeyWrapTypeEnum = NewKeyWrapTypeEnum()
View Source
var LinkTypeEnum = NewLinkTypeEnum()
View Source
var MaskGeneratorEnum = NewMaskGeneratorEnum()
View Source
var NameTypeEnum = NewNameTypeEnum()
View Source
var ObjectGroupMemberEnum = NewObjectGroupMemberEnum()
View Source
var ObjectTypeEnum = NewObjectTypeEnum()
View Source
var OpaqueDataTypeEnum = NewOpaqueDataTypeEnum()
View Source
var OperationEnum = NewOperationEnum()
View Source
var PaddingMethodEnum = NewPaddingMethodEnum()
View Source
var ProfileNameEnum = NewProfileNameEnum()
View Source
var PutFunctionEnum = NewPutFunctionEnum()
View Source
var QueryFunctionEnum = NewQueryFunctionEnum()
View Source
var RNGAlgorithmEnum = NewRNGAlgorithmEnum()
View Source
var RNGModeEnum = NewRNGModeEnum()
View Source
var RecommendedCurveEnum = NewRecommendedCurveEnum()
View Source
var ResultReasonEnum = NewResultReasonEnum()
View Source
var ResultStatusEnum = NewResultStatusEnum()
View Source
var RevocationReasonCodeEnum = NewRevocationReasonCodeEnum()
View Source
var SecretDataTypeEnum = NewSecretDataTypeEnum()
View Source
var ShreddingAlgorithmEnum = NewShreddingAlgorithmEnum()
View Source
var SplitKeyMethodEnum = NewSplitKeyMethodEnum()
View Source
var StateEnum = NewStateEnum()
View Source
var StorageStatusMaskEnum = NewStorageStatusMaskEnum()
View Source
var UnwrapModeEnum = NewUnwrapModeEnum()
View Source
var UsageLimitsUnitEnum = NewUsageLimitsUnitEnum()
View Source
var ValidationAuthorityTypeEnum = NewValidationAuthorityTypeEnum()
View Source
var ValidationTypeEnum = NewValidationTypeEnum()
View Source
var ValidityIndicatorEnum = NewValidityIndicatorEnum()
View Source
var WrappingMethodEnum = NewWrappingMethodEnum()

Functions

func NewAlternativeNameTypeEnum

func NewAlternativeNameTypeEnum() ttlv.Enum

func NewAttestationTypeEnum

func NewAttestationTypeEnum() ttlv.Enum

func NewBatchErrorContinuationOptionEnum

func NewBatchErrorContinuationOptionEnum() ttlv.Enum

func NewBlockCipherModeEnum

func NewBlockCipherModeEnum() ttlv.Enum

func NewCancellationResultEnum

func NewCancellationResultEnum() ttlv.Enum

func NewCertificateRequestTypeEnum

func NewCertificateRequestTypeEnum() ttlv.Enum

func NewCertificateTypeEnum

func NewCertificateTypeEnum() ttlv.Enum

func NewClientRegistrationMethodEnum

func NewClientRegistrationMethodEnum() ttlv.Enum

func NewCredentialTypeEnum

func NewCredentialTypeEnum() ttlv.Enum

func NewCryptographicAlgorithmEnum

func NewCryptographicAlgorithmEnum() ttlv.Enum

func NewCryptographicUsageMaskEnum

func NewCryptographicUsageMaskEnum() ttlv.Enum

func NewDRBGAlgorithmEnum

func NewDRBGAlgorithmEnum() ttlv.Enum

func NewDerivationMethodEnum

func NewDerivationMethodEnum() ttlv.Enum

func NewDestroyActionEnum

func NewDestroyActionEnum() ttlv.Enum

func NewDigitalSignatureAlgorithmEnum

func NewDigitalSignatureAlgorithmEnum() ttlv.Enum

func NewEncodingOptionEnum

func NewEncodingOptionEnum() ttlv.Enum

func NewFIPS186VariationEnum

func NewFIPS186VariationEnum() ttlv.Enum

func NewHashingAlgorithmEnum

func NewHashingAlgorithmEnum() ttlv.Enum

func NewKeyCompressionTypeEnum

func NewKeyCompressionTypeEnum() ttlv.Enum

func NewKeyFormatTypeEnum

func NewKeyFormatTypeEnum() ttlv.Enum

func NewKeyRoleTypeEnum

func NewKeyRoleTypeEnum() ttlv.Enum

func NewKeyValueLocationTypeEnum

func NewKeyValueLocationTypeEnum() ttlv.Enum

func NewKeyWrapTypeEnum

func NewKeyWrapTypeEnum() ttlv.Enum

func NewLinkTypeEnum

func NewLinkTypeEnum() ttlv.Enum

func NewMaskGeneratorEnum

func NewMaskGeneratorEnum() ttlv.Enum

func NewNameTypeEnum

func NewNameTypeEnum() ttlv.Enum

func NewObjectGroupMemberEnum

func NewObjectGroupMemberEnum() ttlv.Enum

func NewObjectTypeEnum

func NewObjectTypeEnum() ttlv.Enum

func NewOpaqueDataTypeEnum

func NewOpaqueDataTypeEnum() ttlv.Enum

func NewOperationEnum

func NewOperationEnum() ttlv.Enum

func NewPaddingMethodEnum

func NewPaddingMethodEnum() ttlv.Enum

func NewProfileNameEnum

func NewProfileNameEnum() ttlv.Enum

func NewPutFunctionEnum

func NewPutFunctionEnum() ttlv.Enum

func NewQueryFunctionEnum

func NewQueryFunctionEnum() ttlv.Enum

func NewRNGAlgorithmEnum

func NewRNGAlgorithmEnum() ttlv.Enum

func NewRNGModeEnum

func NewRNGModeEnum() ttlv.Enum

func NewRecommendedCurveEnum

func NewRecommendedCurveEnum() ttlv.Enum

func NewResultReasonEnum

func NewResultReasonEnum() ttlv.Enum

func NewResultStatusEnum

func NewResultStatusEnum() ttlv.Enum

func NewRevocationReasonCodeEnum

func NewRevocationReasonCodeEnum() ttlv.Enum

func NewSecretDataTypeEnum

func NewSecretDataTypeEnum() ttlv.Enum

func NewShreddingAlgorithmEnum

func NewShreddingAlgorithmEnum() ttlv.Enum

func NewSplitKeyMethodEnum

func NewSplitKeyMethodEnum() ttlv.Enum

func NewStateEnum

func NewStateEnum() ttlv.Enum

func NewStorageStatusMaskEnum

func NewStorageStatusMaskEnum() ttlv.Enum

func NewUnwrapModeEnum

func NewUnwrapModeEnum() ttlv.Enum

func NewUsageLimitsUnitEnum

func NewUsageLimitsUnitEnum() ttlv.Enum

func NewValidationAuthorityTypeEnum

func NewValidationAuthorityTypeEnum() ttlv.Enum

func NewValidationTypeEnum

func NewValidationTypeEnum() ttlv.Enum

func NewValidityIndicatorEnum

func NewValidityIndicatorEnum() ttlv.Enum

func NewWrappingMethodEnum

func NewWrappingMethodEnum() ttlv.Enum

func Register

func Register(registry *ttlv.Registry)

Registers the 1.4 enumeration values with the registry.

func RegisterGeneratedDefinitions

func RegisterGeneratedDefinitions(r *ttlv.Registry)

Types

type AlternativeNameType

type AlternativeNameType uint32

Alternative Name Type Enumeration 9.1.3.2.34 Table 322

const (
	AlternativeNameTypeUninterpretedTextString AlternativeNameType = 0x00000001
	AlternativeNameTypeURI                     AlternativeNameType = 0x00000002
	AlternativeNameTypeObjectSerialNumber      AlternativeNameType = 0x00000003
	AlternativeNameTypeEmailAddress            AlternativeNameType = 0x00000004
	AlternativeNameTypeDNSName                 AlternativeNameType = 0x00000005
	AlternativeNameTypeX_500DistinguishedName  AlternativeNameType = 0x00000006
	AlternativeNameTypeIPAddress               AlternativeNameType = 0x00000007
)

func (AlternativeNameType) MarshalTTLV

func (a AlternativeNameType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (AlternativeNameType) MarshalText

func (a AlternativeNameType) MarshalText() (text []byte, err error)

func (AlternativeNameType) String

func (a AlternativeNameType) String() string

type AttestationType

type AttestationType uint32

Attestation Type Enumeration 9.1.3.2.36 Table 324

const (
	AttestationTypeTPMQuote           AttestationType = 0x00000001
	AttestationTypeTCGIntegrityReport AttestationType = 0x00000002
	AttestationTypeSAMLAssertion      AttestationType = 0x00000003
)

func (AttestationType) MarshalTTLV

func (a AttestationType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (AttestationType) MarshalText

func (a AttestationType) MarshalText() (text []byte, err error)

func (AttestationType) String

func (a AttestationType) String() string

type BatchErrorContinuationOption

type BatchErrorContinuationOption uint32

Batch Error Continuation Option Enumeration 9.1.3.2.30 Table 318

const (
	BatchErrorContinuationOptionContinue BatchErrorContinuationOption = 0x00000001
	BatchErrorContinuationOptionStop     BatchErrorContinuationOption = 0x00000002
	BatchErrorContinuationOptionUndo     BatchErrorContinuationOption = 0x00000003
)

func (BatchErrorContinuationOption) MarshalTTLV

func (b BatchErrorContinuationOption) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (BatchErrorContinuationOption) MarshalText

func (b BatchErrorContinuationOption) MarshalText() (text []byte, err error)

func (BatchErrorContinuationOption) String

type BlockCipherMode

type BlockCipherMode uint32

Block Cipher Mode Enumeration 9.1.3.2.14 Table 302

const (
	BlockCipherModeCBC               BlockCipherMode = 0x00000001
	BlockCipherModeECB               BlockCipherMode = 0x00000002
	BlockCipherModePCBC              BlockCipherMode = 0x00000003
	BlockCipherModeCFB               BlockCipherMode = 0x00000004
	BlockCipherModeOFB               BlockCipherMode = 0x00000005
	BlockCipherModeCTR               BlockCipherMode = 0x00000006
	BlockCipherModeCMAC              BlockCipherMode = 0x00000007
	BlockCipherModeCCM               BlockCipherMode = 0x00000008
	BlockCipherModeGCM               BlockCipherMode = 0x00000009
	BlockCipherModeCBC_MAC           BlockCipherMode = 0x0000000a
	BlockCipherModeXTS               BlockCipherMode = 0x0000000b
	BlockCipherModeAESKeyWrapPadding BlockCipherMode = 0x0000000c
	BlockCipherModeNISTKeyWrap       BlockCipherMode = 0x0000000d
	BlockCipherModeX9_102AESKW       BlockCipherMode = 0x0000000e
	BlockCipherModeX9_102TDKW        BlockCipherMode = 0x0000000f
	BlockCipherModeX9_102AKW1        BlockCipherMode = 0x00000010
	BlockCipherModeX9_102AKW2        BlockCipherMode = 0x00000011
	BlockCipherModeAEAD              BlockCipherMode = 0x00000012
)

func (BlockCipherMode) MarshalTTLV

func (b BlockCipherMode) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (BlockCipherMode) MarshalText

func (b BlockCipherMode) MarshalText() (text []byte, err error)

func (BlockCipherMode) String

func (b BlockCipherMode) String() string

type CancellationResult

type CancellationResult uint32

Cancellation Result Enumeration 9.1.3.2.25 Table 313

const (
	CancellationResultCanceled       CancellationResult = 0x00000001
	CancellationResultUnableToCancel CancellationResult = 0x00000002
	CancellationResultCompleted      CancellationResult = 0x00000003
	CancellationResultFailed         CancellationResult = 0x00000004
	CancellationResultUnavailable    CancellationResult = 0x00000005
)

func (CancellationResult) MarshalTTLV

func (c CancellationResult) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (CancellationResult) MarshalText

func (c CancellationResult) MarshalText() (text []byte, err error)

func (CancellationResult) String

func (c CancellationResult) String() string

type CertificateRequestType

type CertificateRequestType uint32

Certificate Request Type Enumeration 9.1.3.2.22 Table 310

const (
	CertificateRequestTypeCRMF    CertificateRequestType = 0x00000001
	CertificateRequestTypePKCS_10 CertificateRequestType = 0x00000002
	CertificateRequestTypePEM     CertificateRequestType = 0x00000003
	CertificateRequestTypePGP     CertificateRequestType = 0x00000004
)

func (CertificateRequestType) MarshalTTLV

func (c CertificateRequestType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (CertificateRequestType) MarshalText

func (c CertificateRequestType) MarshalText() (text []byte, err error)

func (CertificateRequestType) String

func (c CertificateRequestType) String() string

type CertificateType

type CertificateType uint32

Certificate Type Enumeration 9.1.3.2.6 Table 294

const (
	CertificateTypeX_509 CertificateType = 0x00000001
	CertificateTypePGP   CertificateType = 0x00000002
)

func (CertificateType) MarshalTTLV

func (c CertificateType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (CertificateType) MarshalText

func (c CertificateType) MarshalText() (text []byte, err error)

func (CertificateType) String

func (c CertificateType) String() string

type ClientRegistrationMethod

type ClientRegistrationMethod uint32

Client Registration Method Enumeration 9.1.3.2.47

const (
	ClientRegistrationMethodUnspecified        ClientRegistrationMethod = 0x00000001
	ClientRegistrationMethodServerPreGenerated ClientRegistrationMethod = 0x00000002
	ClientRegistrationMethodServerOnDemand     ClientRegistrationMethod = 0x00000003
	ClientRegistrationMethodClientGenerated    ClientRegistrationMethod = 0x00000004
	ClientRegistrationMethodClientRegistered   ClientRegistrationMethod = 0x00000005
)

func (ClientRegistrationMethod) MarshalTTLV

func (c ClientRegistrationMethod) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ClientRegistrationMethod) MarshalText

func (c ClientRegistrationMethod) MarshalText() (text []byte, err error)

func (ClientRegistrationMethod) String

func (c ClientRegistrationMethod) String() 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
)

func (CredentialType) MarshalTTLV

func (c CredentialType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

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
)

func (CryptographicAlgorithm) MarshalTTLV

func (c CryptographicAlgorithm) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (CryptographicAlgorithm) MarshalText

func (c CryptographicAlgorithm) MarshalText() (text []byte, err error)

func (CryptographicAlgorithm) String

func (c CryptographicAlgorithm) String() string

type CryptographicUsageMask

type CryptographicUsageMask uint32

Cryptographic Usage Mask Bit Mask 9.1.3.3.1

const (
	CryptographicUsageMaskSign               CryptographicUsageMask = 0x00000001
	CryptographicUsageMaskVerify             CryptographicUsageMask = 0x00000002
	CryptographicUsageMaskEncrypt            CryptographicUsageMask = 0x00000004
	CryptographicUsageMaskDecrypt            CryptographicUsageMask = 0x00000008
	CryptographicUsageMaskWrapKey            CryptographicUsageMask = 0x00000010
	CryptographicUsageMaskUnwrapKey          CryptographicUsageMask = 0x00000020
	CryptographicUsageMaskExport             CryptographicUsageMask = 0x00000040
	CryptographicUsageMaskMACGenerate        CryptographicUsageMask = 0x00000080
	CryptographicUsageMaskMACVerify          CryptographicUsageMask = 0x00000100
	CryptographicUsageMaskDeriveKey          CryptographicUsageMask = 0x00000200
	CryptographicUsageMaskContentCommitment  CryptographicUsageMask = 0x00000400
	CryptographicUsageMaskKeyAgreement       CryptographicUsageMask = 0x00000800
	CryptographicUsageMaskCertificateSign    CryptographicUsageMask = 0x00001000
	CryptographicUsageMaskCRLSign            CryptographicUsageMask = 0x00002000
	CryptographicUsageMaskGenerateCryptogram CryptographicUsageMask = 0x00004000
	CryptographicUsageMaskValidateCryptogram CryptographicUsageMask = 0x00008000
	CryptographicUsageMaskTranslateEncrypt   CryptographicUsageMask = 0x00010000
	CryptographicUsageMaskTranslateDecrypt   CryptographicUsageMask = 0x00020000
	CryptographicUsageMaskTranslateWrap      CryptographicUsageMask = 0x00040000
	CryptographicUsageMaskTranslateUnwrap    CryptographicUsageMask = 0x00080000
)

func (CryptographicUsageMask) MarshalTTLV

func (c CryptographicUsageMask) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (CryptographicUsageMask) MarshalText

func (c CryptographicUsageMask) MarshalText() (text []byte, err error)

func (CryptographicUsageMask) String

func (c CryptographicUsageMask) String() string

type DRBGAlgorithm

type DRBGAlgorithm uint32

DRBG Algorithm Enumeration 9.1.3.2.38

const (
	DRBGAlgorithmUnspecified DRBGAlgorithm = 0x00000001
	DRBGAlgorithmDual_EC     DRBGAlgorithm = 0x00000002
	DRBGAlgorithmHash        DRBGAlgorithm = 0x00000003
	DRBGAlgorithmHMAC        DRBGAlgorithm = 0x00000004
	DRBGAlgorithmCTR         DRBGAlgorithm = 0x00000005
)

func (DRBGAlgorithm) MarshalTTLV

func (d DRBGAlgorithm) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (DRBGAlgorithm) MarshalText

func (d DRBGAlgorithm) MarshalText() (text []byte, err error)

func (DRBGAlgorithm) String

func (d DRBGAlgorithm) 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
)

func (DerivationMethod) MarshalTTLV

func (d DerivationMethod) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (DerivationMethod) MarshalText

func (d DerivationMethod) MarshalText() (text []byte, err error)

func (DerivationMethod) String

func (d DerivationMethod) String() string

type DestroyAction

type DestroyAction uint32

Destroy Action Enumeration 9.1.3.2.44

const (
	DestroyActionUnspecified         DestroyAction = 0x00000001
	DestroyActionKeyMaterialDeleted  DestroyAction = 0x00000002
	DestroyActionKeyMaterialShredded DestroyAction = 0x00000003
	DestroyActionMetaDataDeleted     DestroyAction = 0x00000004
	DestroyActionMetaDataShredded    DestroyAction = 0x00000005
	DestroyActionDeleted             DestroyAction = 0x00000006
	DestroyActionShredded            DestroyAction = 0x00000007
)

func (DestroyAction) MarshalTTLV

func (d DestroyAction) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (DestroyAction) MarshalText

func (d DestroyAction) MarshalText() (text []byte, err error)

func (DestroyAction) String

func (d DestroyAction) String() string

type DigitalSignatureAlgorithm

type DigitalSignatureAlgorithm uint32

Digital Signature Algorithm Enumeration 9.1.3.2.7 Table 295

const (
	DigitalSignatureAlgorithmMD2WithRSAEncryption      DigitalSignatureAlgorithm = 0x00000001
	DigitalSignatureAlgorithmMD5WithRSAEncryption      DigitalSignatureAlgorithm = 0x00000002
	DigitalSignatureAlgorithmSHA_1WithRSAEncryption    DigitalSignatureAlgorithm = 0x00000003
	DigitalSignatureAlgorithmSHA_224WithRSAEncryption  DigitalSignatureAlgorithm = 0x00000004
	DigitalSignatureAlgorithmSHA_256WithRSAEncryption  DigitalSignatureAlgorithm = 0x00000005
	DigitalSignatureAlgorithmSHA_384WithRSAEncryption  DigitalSignatureAlgorithm = 0x00000006
	DigitalSignatureAlgorithmSHA_512WithRSAEncryption  DigitalSignatureAlgorithm = 0x00000007
	DigitalSignatureAlgorithmRSASSA_PSS                DigitalSignatureAlgorithm = 0x00000008
	DigitalSignatureAlgorithmDSAWithSHA_1              DigitalSignatureAlgorithm = 0x00000009
	DigitalSignatureAlgorithmDSAWithSHA224             DigitalSignatureAlgorithm = 0x0000000a
	DigitalSignatureAlgorithmDSAWithSHA256             DigitalSignatureAlgorithm = 0x0000000b
	DigitalSignatureAlgorithmECDSAWithSHA_1            DigitalSignatureAlgorithm = 0x0000000c
	DigitalSignatureAlgorithmECDSAWithSHA224           DigitalSignatureAlgorithm = 0x0000000d
	DigitalSignatureAlgorithmECDSAWithSHA256           DigitalSignatureAlgorithm = 0x0000000e
	DigitalSignatureAlgorithmECDSAWithSHA384           DigitalSignatureAlgorithm = 0x0000000f
	DigitalSignatureAlgorithmECDSAWithSHA512           DigitalSignatureAlgorithm = 0x00000010
	DigitalSignatureAlgorithmSHA3_256WithRSAEncryption DigitalSignatureAlgorithm = 0x00000011
	DigitalSignatureAlgorithmSHA3_384WithRSAEncryption DigitalSignatureAlgorithm = 0x00000012
	DigitalSignatureAlgorithmSHA3_512WithRSAEncryption DigitalSignatureAlgorithm = 0x00000013
)

func (DigitalSignatureAlgorithm) MarshalTTLV

func (d DigitalSignatureAlgorithm) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (DigitalSignatureAlgorithm) MarshalText

func (d DigitalSignatureAlgorithm) MarshalText() (text []byte, err error)

func (DigitalSignatureAlgorithm) String

func (d DigitalSignatureAlgorithm) String() string

type EncodingOption

type EncodingOption uint32

Encoding Option Enumeration 9.1.3.2.32 Table 320

const (
	EncodingOptionNoEncoding   EncodingOption = 0x00000001
	EncodingOptionTTLVEncoding EncodingOption = 0x00000002
)

func (EncodingOption) MarshalTTLV

func (e EncodingOption) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (EncodingOption) MarshalText

func (e EncodingOption) MarshalText() (text []byte, err error)

func (EncodingOption) String

func (e EncodingOption) String() string

type FIPS186Variation

type FIPS186Variation uint32

FIPS186 Variation Enumeration 9.1.3.2.39

const (
	FIPS186VariationUnspecified     FIPS186Variation = 0x00000001
	FIPS186VariationGPXOriginal     FIPS186Variation = 0x00000002
	FIPS186VariationGPXChangeNotice FIPS186Variation = 0x00000003
	FIPS186VariationXOriginal       FIPS186Variation = 0x00000004
	FIPS186VariationXChangeNotice   FIPS186Variation = 0x00000005
	FIPS186VariationKOriginal       FIPS186Variation = 0x00000006
	FIPS186VariationKChangeNotice   FIPS186Variation = 0x00000007
)

func (FIPS186Variation) MarshalTTLV

func (f FIPS186Variation) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (FIPS186Variation) MarshalText

func (f FIPS186Variation) MarshalText() (text []byte, err error)

func (FIPS186Variation) String

func (f FIPS186Variation) String() string

type HashingAlgorithm

type HashingAlgorithm uint32

Hashing Algorithm Enumeration 9.1.3.2.16 Table 304

const (
	HashingAlgorithmMD2         HashingAlgorithm = 0x00000001
	HashingAlgorithmMD4         HashingAlgorithm = 0x00000002
	HashingAlgorithmMD5         HashingAlgorithm = 0x00000003
	HashingAlgorithmSHA_1       HashingAlgorithm = 0x00000004
	HashingAlgorithmSHA_224     HashingAlgorithm = 0x00000005
	HashingAlgorithmSHA_256     HashingAlgorithm = 0x00000006
	HashingAlgorithmSHA_384     HashingAlgorithm = 0x00000007
	HashingAlgorithmSHA_512     HashingAlgorithm = 0x00000008
	HashingAlgorithmRIPEMD_160  HashingAlgorithm = 0x00000009
	HashingAlgorithmTiger       HashingAlgorithm = 0x0000000a
	HashingAlgorithmWhirlpool   HashingAlgorithm = 0x0000000b
	HashingAlgorithmSHA_512_224 HashingAlgorithm = 0x0000000c
	HashingAlgorithmSHA_512_256 HashingAlgorithm = 0x0000000d
	HashingAlgorithmSHA_3_224   HashingAlgorithm = 0x0000000e
	HashingAlgorithmSHA_3_256   HashingAlgorithm = 0x0000000f
	HashingAlgorithmSHA_3_384   HashingAlgorithm = 0x00000010
	HashingAlgorithmSHA_3_512   HashingAlgorithm = 0x00000011
)

func (HashingAlgorithm) MarshalTTLV

func (h HashingAlgorithm) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (HashingAlgorithm) MarshalText

func (h HashingAlgorithm) MarshalText() (text []byte, err error)

func (HashingAlgorithm) String

func (h HashingAlgorithm) String() string

type KeyCompressionType

type KeyCompressionType uint32

Key Compression Type Enumeration 9.1.3.2.2 Table 290

const (
	KeyCompressionTypeECPublicKeyTypeUncompressed         KeyCompressionType = 0x00000001
	KeyCompressionTypeECPublicKeyTypeX9_62CompressedPrime KeyCompressionType = 0x00000002
	KeyCompressionTypeECPublicKeyTypeX9_62CompressedChar2 KeyCompressionType = 0x00000003
	KeyCompressionTypeECPublicKeyTypeX9_62Hybrid          KeyCompressionType = 0x00000004
)

func (KeyCompressionType) MarshalTTLV

func (k KeyCompressionType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (KeyCompressionType) MarshalText

func (k KeyCompressionType) MarshalText() (text []byte, err error)

func (KeyCompressionType) String

func (k KeyCompressionType) String() string

type KeyFormatType

type KeyFormatType uint32

Key Format Type Enumeration 9.1.3.2.3 Table 291

const (
	KeyFormatTypeRaw                        KeyFormatType = 0x00000001
	KeyFormatTypeOpaque                     KeyFormatType = 0x00000002
	KeyFormatTypePKCS_1                     KeyFormatType = 0x00000003
	KeyFormatTypePKCS_8                     KeyFormatType = 0x00000004
	KeyFormatTypeX_509                      KeyFormatType = 0x00000005
	KeyFormatTypeECPrivateKey               KeyFormatType = 0x00000006
	KeyFormatTypeTransparentSymmetricKey    KeyFormatType = 0x00000007
	KeyFormatTypeTransparentDSAPrivateKey   KeyFormatType = 0x00000008
	KeyFormatTypeTransparentDSAPublicKey    KeyFormatType = 0x00000009
	KeyFormatTypeTransparentRSAPrivateKey   KeyFormatType = 0x0000000a
	KeyFormatTypeTransparentRSAPublicKey    KeyFormatType = 0x0000000b
	KeyFormatTypeTransparentDHPrivateKey    KeyFormatType = 0x0000000c
	KeyFormatTypeTransparentDHPublicKey     KeyFormatType = 0x0000000d
	KeyFormatTypeTransparentECDSAPrivateKey KeyFormatType = 0x0000000e
	KeyFormatTypeTransparentECDSAPublicKey  KeyFormatType = 0x0000000f
	KeyFormatTypeTransparentECDHPrivateKey  KeyFormatType = 0x00000010
	KeyFormatTypeTransparentECDHPublicKey   KeyFormatType = 0x00000011
	KeyFormatTypeTransparentECMQVPrivateKey KeyFormatType = 0x00000012
	KeyFormatTypeTransparentECMQVPublicKey  KeyFormatType = 0x00000013
	KeyFormatTypeTransparentECPrivateKey    KeyFormatType = 0x00000014
	KeyFormatTypeTransparentECPublicKey     KeyFormatType = 0x00000015
	KeyFormatTypePKCS_12                    KeyFormatType = 0x00000016
)

func (KeyFormatType) MarshalTTLV

func (k KeyFormatType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (KeyFormatType) MarshalText

func (k KeyFormatType) MarshalText() (text []byte, err error)

func (KeyFormatType) String

func (k KeyFormatType) String() string

type KeyRoleType

type KeyRoleType uint32

Key Role Type Enumeration 9.1.3.2.17 Table 305

const (
	KeyRoleTypeBDK      KeyRoleType = 0x00000001
	KeyRoleTypeCVK      KeyRoleType = 0x00000002
	KeyRoleTypeDEK      KeyRoleType = 0x00000003
	KeyRoleTypeMKAC     KeyRoleType = 0x00000004
	KeyRoleTypeMKSMC    KeyRoleType = 0x00000005
	KeyRoleTypeMKSMI    KeyRoleType = 0x00000006
	KeyRoleTypeMKDAC    KeyRoleType = 0x00000007
	KeyRoleTypeMKDN     KeyRoleType = 0x00000008
	KeyRoleTypeMKCP     KeyRoleType = 0x00000009
	KeyRoleTypeMKOTH    KeyRoleType = 0x0000000a
	KeyRoleTypeKEK      KeyRoleType = 0x0000000b
	KeyRoleTypeMAC16609 KeyRoleType = 0x0000000c
	KeyRoleTypeMAC97971 KeyRoleType = 0x0000000d
	KeyRoleTypeMAC97972 KeyRoleType = 0x0000000e
	KeyRoleTypeMAC97973 KeyRoleType = 0x0000000f
	KeyRoleTypeMAC97974 KeyRoleType = 0x00000010
	KeyRoleTypeMAC97975 KeyRoleType = 0x00000011
	KeyRoleTypeZPK      KeyRoleType = 0x00000012
	KeyRoleTypePVKIBM   KeyRoleType = 0x00000013
	KeyRoleTypePVKPVV   KeyRoleType = 0x00000014
	KeyRoleTypePVKOTH   KeyRoleType = 0x00000015
	KeyRoleTypeDUKPT    KeyRoleType = 0x00000016
	KeyRoleTypeIV       KeyRoleType = 0x00000017
	KeyRoleTypeTRKBK    KeyRoleType = 0x00000018
)

func (KeyRoleType) MarshalTTLV

func (k KeyRoleType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (KeyRoleType) MarshalText

func (k KeyRoleType) MarshalText() (text []byte, err error)

func (KeyRoleType) String

func (k KeyRoleType) String() string

type KeyValueLocationType

type KeyValueLocationType uint32

Key Value Location Type Enumeration 9.1.3.2.35 Table 323

const (
	KeyValueLocationTypeUninterpretedTextString KeyValueLocationType = 0x00000001
	KeyValueLocationTypeURI                     KeyValueLocationType = 0x00000002
)

func (KeyValueLocationType) MarshalTTLV

func (k KeyValueLocationType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (KeyValueLocationType) MarshalText

func (k KeyValueLocationType) MarshalText() (text []byte, err error)

func (KeyValueLocationType) String

func (k KeyValueLocationType) String() string

type KeyWrapType

type KeyWrapType uint32

Key Wrap Type Enumeration 9.1.3.2.48

const (
	KeyWrapTypeNotWrapped   KeyWrapType = 0x00000001
	KeyWrapTypeAsRegistered KeyWrapType = 0x00000002
)

func (KeyWrapType) MarshalTTLV

func (k KeyWrapType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (KeyWrapType) MarshalText

func (k KeyWrapType) MarshalText() (text []byte, err error)

func (KeyWrapType) String

func (k KeyWrapType) 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
)

func (LinkType) MarshalTTLV

func (l LinkType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (LinkType) MarshalText

func (l LinkType) MarshalText() (text []byte, err error)

func (LinkType) String

func (l LinkType) String() string

type MaskGenerator

type MaskGenerator uint32

Mask Generator Enumeration 9.1.3.2.49

const (
	MaskGeneratorMGF1 MaskGenerator = 0x00000001
)

func (MaskGenerator) MarshalTTLV

func (m MaskGenerator) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (MaskGenerator) MarshalText

func (m MaskGenerator) MarshalText() (text []byte, err error)

func (MaskGenerator) String

func (m MaskGenerator) String() string

type NameType

type NameType uint32

Name Type Enumeration 9.1.3.2.11 Table 299

const (
	NameTypeUninterpretedTextString NameType = 0x00000001
	NameTypeURI                     NameType = 0x00000002
)

func (NameType) MarshalTTLV

func (n NameType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (NameType) MarshalText

func (n NameType) MarshalText() (text []byte, err error)

func (NameType) String

func (n NameType) String() string

type ObjectGroupMember

type ObjectGroupMember uint32

Object Group Member Enumeration 9.1.3.2.33 Table 321

const (
	ObjectGroupMemberGroupMemberFresh   ObjectGroupMember = 0x00000001
	ObjectGroupMemberGroupMemberDefault ObjectGroupMember = 0x00000002
)

func (ObjectGroupMember) MarshalTTLV

func (o ObjectGroupMember) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ObjectGroupMember) MarshalText

func (o ObjectGroupMember) MarshalText() (text []byte, err error)

func (ObjectGroupMember) String

func (o ObjectGroupMember) 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
)

func (ObjectType) MarshalTTLV

func (o ObjectType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ObjectType) MarshalText

func (o ObjectType) MarshalText() (text []byte, err error)

func (ObjectType) String

func (o ObjectType) String() string

type OpaqueDataType

type OpaqueDataType uint32

Opaque Data Type Enumeration 9.1.3.2.10 Table 298

func (OpaqueDataType) MarshalTTLV

func (o OpaqueDataType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (OpaqueDataType) MarshalText

func (o OpaqueDataType) MarshalText() (text []byte, err error)

func (OpaqueDataType) String

func (o OpaqueDataType) 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
)

func (Operation) MarshalTTLV

func (o Operation) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (Operation) MarshalText

func (o Operation) MarshalText() (text []byte, err error)

func (Operation) String

func (o Operation) String() string

type PaddingMethod

type PaddingMethod uint32

Padding Method Enumeration 9.1.3.2.15 Table 303

const (
	PaddingMethodNone      PaddingMethod = 0x00000001
	PaddingMethodOAEP      PaddingMethod = 0x00000002
	PaddingMethodPKCS5     PaddingMethod = 0x00000003
	PaddingMethodSSL3      PaddingMethod = 0x00000004
	PaddingMethodZeros     PaddingMethod = 0x00000005
	PaddingMethodANSIX9_23 PaddingMethod = 0x00000006
	PaddingMethodISO10126  PaddingMethod = 0x00000007
	PaddingMethodPKCS1V1_5 PaddingMethod = 0x00000008
	PaddingMethodX9_31     PaddingMethod = 0x00000009
	PaddingMethodPSS       PaddingMethod = 0x0000000a
)

func (PaddingMethod) MarshalTTLV

func (p PaddingMethod) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (PaddingMethod) MarshalText

func (p PaddingMethod) MarshalText() (text []byte, err error)

func (PaddingMethod) String

func (p PaddingMethod) 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
)

func (ProfileName) MarshalTTLV

func (p ProfileName) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ProfileName) MarshalText

func (p ProfileName) MarshalText() (text []byte, err error)

func (ProfileName) String

func (p ProfileName) String() string

type PutFunction

type PutFunction uint32

Put Function Enumeration 9.1.3.2.26 Table 314

const (
	PutFunctionNew     PutFunction = 0x00000001
	PutFunctionReplace PutFunction = 0x00000002
)

func (PutFunction) MarshalTTLV

func (p PutFunction) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (PutFunction) MarshalText

func (p PutFunction) MarshalText() (text []byte, err error)

func (PutFunction) String

func (p PutFunction) 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
)

func (QueryFunction) MarshalTTLV

func (q QueryFunction) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (QueryFunction) MarshalText

func (q QueryFunction) MarshalText() (text []byte, err error)

func (QueryFunction) String

func (q QueryFunction) String() string

type RNGAlgorithm

type RNGAlgorithm uint32

RNG Algorithm Enumeration 9.1.3.2.37 Table

const (
	RNGAlgorithmUnspecified RNGAlgorithm = 0x00000001
	RNGAlgorithmFIPS186_2   RNGAlgorithm = 0x00000002
	RNGAlgorithmDRBG        RNGAlgorithm = 0x00000003
	RNGAlgorithmNRBG        RNGAlgorithm = 0x00000004
	RNGAlgorithmANSIX9_31   RNGAlgorithm = 0x00000005
	RNGAlgorithmANSIX9_62   RNGAlgorithm = 0x00000006
)

func (RNGAlgorithm) MarshalTTLV

func (r RNGAlgorithm) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (RNGAlgorithm) MarshalText

func (r RNGAlgorithm) MarshalText() (text []byte, err error)

func (RNGAlgorithm) String

func (r RNGAlgorithm) String() string

type RNGMode

type RNGMode uint32

RNG Mode Enumeration 9.1.3.2.46

const (
	RNGModeUnspecified            RNGMode = 0x00000001
	RNGModeSharedInstantiation    RNGMode = 0x00000002
	RNGModeNonSharedInstantiation RNGMode = 0x00000003
)

func (RNGMode) MarshalTTLV

func (r RNGMode) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (RNGMode) MarshalText

func (r RNGMode) MarshalText() (text []byte, err error)

func (RNGMode) String

func (r RNGMode) 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
)

func (RecommendedCurve) MarshalTTLV

func (r RecommendedCurve) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

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
	ResultReasonGeneralFailure                   ResultReason = 0x00000100
)

func (ResultReason) MarshalTTLV

func (r ResultReason) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ResultReason) MarshalText

func (r ResultReason) MarshalText() (text []byte, err error)

func (ResultReason) String

func (r ResultReason) String() string

type ResultStatus

type ResultStatus uint32

Result Status Enumeration 9.1.3.2.28 Table 316

const (
	ResultStatusSuccess          ResultStatus = 0x00000000
	ResultStatusOperationFailed  ResultStatus = 0x00000001
	ResultStatusOperationPending ResultStatus = 0x00000002
	ResultStatusOperationUndone  ResultStatus = 0x00000003
)

func (ResultStatus) MarshalTTLV

func (r ResultStatus) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ResultStatus) MarshalText

func (r ResultStatus) MarshalText() (text []byte, err error)

func (ResultStatus) String

func (r ResultStatus) String() string

type RevocationReasonCode

type RevocationReasonCode uint32

Revocation Reason Code Enumeration 9.1.3.2.19 Table 307

const (
	RevocationReasonCodeUnspecified          RevocationReasonCode = 0x00000001
	RevocationReasonCodeKeyCompromise        RevocationReasonCode = 0x00000002
	RevocationReasonCodeCACompromise         RevocationReasonCode = 0x00000003
	RevocationReasonCodeAffiliationChanged   RevocationReasonCode = 0x00000004
	RevocationReasonCodeSuperseded           RevocationReasonCode = 0x00000005
	RevocationReasonCodeCessationOfOperation RevocationReasonCode = 0x00000006
	RevocationReasonCodePrivilegeWithdrawn   RevocationReasonCode = 0x00000007
)

func (RevocationReasonCode) MarshalTTLV

func (r RevocationReasonCode) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (RevocationReasonCode) MarshalText

func (r RevocationReasonCode) MarshalText() (text []byte, err error)

func (RevocationReasonCode) String

func (r RevocationReasonCode) String() string

type SecretDataType

type SecretDataType uint32

Secret Data Type Enumeration 9.1.3.2.9 Table 9

const (
	SecretDataTypePassword SecretDataType = 0x00000001
	SecretDataTypeSeed     SecretDataType = 0x00000002
)

func (SecretDataType) MarshalTTLV

func (s SecretDataType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (SecretDataType) MarshalText

func (s SecretDataType) MarshalText() (text []byte, err error)

func (SecretDataType) String

func (s SecretDataType) String() string

type ShreddingAlgorithm

type ShreddingAlgorithm uint32

Shredding Algorithm Enumeration 9.1.3.2.45

const (
	ShreddingAlgorithmUnspecified   ShreddingAlgorithm = 0x00000001
	ShreddingAlgorithmCryptographic ShreddingAlgorithm = 0x00000002
	ShreddingAlgorithmUnsupported   ShreddingAlgorithm = 0x00000003
)

func (ShreddingAlgorithm) MarshalTTLV

func (s ShreddingAlgorithm) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ShreddingAlgorithm) MarshalText

func (s ShreddingAlgorithm) MarshalText() (text []byte, err error)

func (ShreddingAlgorithm) String

func (s ShreddingAlgorithm) String() string

type SplitKeyMethod

type SplitKeyMethod uint32

Split Key Method Enumeration 9.1.3.2.8 Table 296

const (
	SplitKeyMethodXOR                         SplitKeyMethod = 0x00000001
	SplitKeyMethodPolynomialSharingGF2_16     SplitKeyMethod = 0x00000002
	SplitKeyMethodPolynomialSharingPrimeField SplitKeyMethod = 0x00000003
	SplitKeyMethodPolynomialSharingGF2_8      SplitKeyMethod = 0x00000004
)

func (SplitKeyMethod) MarshalTTLV

func (s SplitKeyMethod) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (SplitKeyMethod) MarshalText

func (s SplitKeyMethod) MarshalText() (text []byte, err error)

func (SplitKeyMethod) String

func (s SplitKeyMethod) String() string

type State

type State uint32

State Enumeration 9.1.3.2.18 Table 306

const (
	StatePreActive            State = 0x00000001
	StateActive               State = 0x00000002
	StateDeactivated          State = 0x00000003
	StateCompromised          State = 0x00000004
	StateDestroyed            State = 0x00000005
	StateDestroyedCompromised State = 0x00000006
)

func (State) MarshalTTLV

func (s State) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (State) MarshalText

func (s State) MarshalText() (text []byte, err error)

func (State) String

func (s State) String() string

type StorageStatusMask

type StorageStatusMask uint32

Storage Status Mask Bit Mask 9.1.3.3.2

const (
	StorageStatusMaskOnLineStorage   StorageStatusMask = 0x00000001
	StorageStatusMaskArchivalStorage StorageStatusMask = 0x00000002
)

func (StorageStatusMask) MarshalTTLV

func (s StorageStatusMask) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (StorageStatusMask) MarshalText

func (s StorageStatusMask) MarshalText() (text []byte, err error)

func (StorageStatusMask) String

func (s StorageStatusMask) String() string

type UnwrapMode

type UnwrapMode uint32

Unwrap Mode Enumeration 9.1.3.2.43

const (
	UnwrapModeUnspecified  UnwrapMode = 0x00000001
	UnwrapModeProcessed    UnwrapMode = 0x00000002
	UnwrapModeNotProcessed UnwrapMode = 0x00000003
)

func (UnwrapMode) MarshalTTLV

func (u UnwrapMode) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (UnwrapMode) MarshalText

func (u UnwrapMode) MarshalText() (text []byte, err error)

func (UnwrapMode) String

func (u UnwrapMode) String() string

type UsageLimitsUnit

type UsageLimitsUnit uint32

Usage Limits Unit Enumeration 9.1.3.2.31 Table 319

const (
	UsageLimitsUnitByte   UsageLimitsUnit = 0x00000001
	UsageLimitsUnitObject UsageLimitsUnit = 0x00000002
)

func (UsageLimitsUnit) MarshalTTLV

func (u UsageLimitsUnit) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (UsageLimitsUnit) MarshalText

func (u UsageLimitsUnit) MarshalText() (text []byte, err error)

func (UsageLimitsUnit) String

func (u UsageLimitsUnit) String() string

type ValidationAuthorityType

type ValidationAuthorityType uint32

Validation Authority Type Enumeration 9.1.3.2.40

const (
	ValidationAuthorityTypeUnspecified    ValidationAuthorityType = 0x00000001
	ValidationAuthorityTypeNISTCMVP       ValidationAuthorityType = 0x00000002
	ValidationAuthorityTypeCommonCriteria ValidationAuthorityType = 0x00000003
)

func (ValidationAuthorityType) MarshalTTLV

func (v ValidationAuthorityType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ValidationAuthorityType) MarshalText

func (v ValidationAuthorityType) MarshalText() (text []byte, err error)

func (ValidationAuthorityType) String

func (v ValidationAuthorityType) String() string

type ValidationType

type ValidationType uint32

Validation Type Enumeration 9.1.3.2.41

const (
	ValidationTypeUnspecified ValidationType = 0x00000001
	ValidationTypeHardware    ValidationType = 0x00000002
	ValidationTypeSoftware    ValidationType = 0x00000003
	ValidationTypeFirmware    ValidationType = 0x00000004
	ValidationTypeHybrid      ValidationType = 0x00000005
)

func (ValidationType) MarshalTTLV

func (v ValidationType) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ValidationType) MarshalText

func (v ValidationType) MarshalText() (text []byte, err error)

func (ValidationType) String

func (v ValidationType) String() string

type ValidityIndicator

type ValidityIndicator uint32

Validity Indicator Enumeration 9.1.3.2.23 Table 311

const (
	ValidityIndicatorValid   ValidityIndicator = 0x00000001
	ValidityIndicatorInvalid ValidityIndicator = 0x00000002
	ValidityIndicatorUnknown ValidityIndicator = 0x00000003
)

func (ValidityIndicator) MarshalTTLV

func (v ValidityIndicator) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (ValidityIndicator) MarshalText

func (v ValidityIndicator) MarshalText() (text []byte, err error)

func (ValidityIndicator) String

func (v ValidityIndicator) String() string

type WrappingMethod

type WrappingMethod uint32

Wrapping Method Enumeration 9.1.3.2.4 Table 292

const (
	WrappingMethodEncrypt            WrappingMethod = 0x00000001
	WrappingMethodMACSign            WrappingMethod = 0x00000002
	WrappingMethodEncryptThenMACSign WrappingMethod = 0x00000003
	WrappingMethodMACSignThenEncrypt WrappingMethod = 0x00000004
	WrappingMethodTR_31              WrappingMethod = 0x00000005
)

func (WrappingMethod) MarshalTTLV

func (w WrappingMethod) MarshalTTLV(enc *ttlv.Encoder, tag ttlv.Tag) error

func (WrappingMethod) MarshalText

func (w WrappingMethod) MarshalText() (text []byte, err error)

func (WrappingMethod) String

func (w WrappingMethod) String() string

Jump to

Keyboard shortcuts

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