Botan 2.19.5 Crypto and TLS for C&

Classes | Typedefs | Enumerations | Functions | Variables
Botan::PKCS11 Namespace Reference

## Classes
class | AttributeContainer
| Helper class to build the Attribute / CK_ATTRIBUTE structures. More...
class | CertificateProperties
| Common attributes of all certificate objects. More...
class | DataObjectProperties
| Common attributes of all data objects. More...
class | DomainParameterProperties
| Common attributes of domain parameter. More...
class | KeyProperties
| Common attributes of all key objects. More...
class | LowLevel
| Provides access to all PKCS#11 functions. More...
class | MechanismWrapper
class | Module
class | Object
class | ObjectFinder
| Manages calls to C_FindObjects* functions (C_FindObjectsInit -> C_FindObjects -> C_FindObjectsFinal) More...
class | ObjectProperties
| Common attributes of all objects. More...
class | PKCS11_Error
class | PKCS11_ReturnError
class | PKCS11_RNG
| A random generator that only fetches random from the PKCS#11 RNG. More...
class | PrivateKeyProperties
| Common attributes of all private keys. More...
class | PublicKeyProperties
| Common attributes of all public key objects. More...
class | SecretKeyProperties
| Common attributes of all secret (symmetric) keys. More...
class | Session
| Represents a PKCS#11 session. More...
class | Slot
| Represents a PKCS#11 Slot, i.e., a card reader. More...
class | StorageObjectProperties
| Common attributes of all storage objects. More...

## Typedefs
using | Attribute = CK_ATTRIBUTE
using | Bbool = CK_BBOOL
using | Byte = CK_BYTE
using | C_InitializeArgs = CK_C_INITIALIZE_ARGS
using | CreateMutex = CK_CREATEMUTEX
using | Date = CK_DATE
using | DestroyMutex = CK_DESTROYMUTEX
using | Ecdh1DeriveParams = CK_ECDH1_DERIVE_PARAMS
using | Flags = CK_FLAGS
using | FunctionListPtr = CK_FUNCTION_LIST_PTR
using | Info = CK_INFO
using | LockMutex = CK_LOCKMUTEX
using | Mechanism = CK_MECHANISM
using | MechanismInfo = CK_MECHANISM_INFO
using | Notify = CK_NOTIFY
using | ObjectHandle = CK_OBJECT_HANDLE
using | RsaPkcsOaepParams = CK_RSA_PKCS_OAEP_PARAMS
using | RsaPkcsPssParams = CK_RSA_PKCS_PSS_PARAMS
using | secure_string = secure_vector< uint8_t >
using | SessionHandle = CK_SESSION_HANDLE
using | SessionInfo = CK_SESSION_INFO
using | SlotId = CK_SLOT_ID
using | SlotInfo = CK_SLOT_INFO
using | TokenInfo = CK_TOKEN_INFO
using | Ulong = CK_ULONG
using | UnlockMutex = CK_UNLOCKMUTEX
using | Utf8Char = CK_UTF8CHAR
using | VoidPtr = CK_VOID_PTR

## Enumerations
enum class | AttributeType : CK_ATTRIBUTE_TYPE { Class = 0x00000000UL , Token = 0x00000001UL , Private = 0x00000002UL , Label = 0x00000003UL , Application = 0x00000010UL , Value = 0x00000011UL , ObjectId = 0x00000012UL , CertificateType = 0x00000080UL , Issuer = 0x00000081UL , SerialNumber = 0x00000082UL , AcIssuer = 0x00000083UL , Owner = 0x00000084UL , AttrTypes = 0x00000085UL , Trusted = 0x00000086UL , CertificateCategory = 0x00000087UL , JavaMidpSecurityDomain = 0x00000088UL , Url = 0x00000089UL , HashOfSubjectPublicKey = 0x0000008AUL , HashOfIssuerPublicKey = 0x0000008BUL , NameHashAlgorithm = 0x0000008CUL , CheckValue = 0x00000090UL , KeyType = 0x00000100UL , Subject = 0x00000101UL , Id = 0x00000102UL , Sensitive = 0x00000103UL , Encrypt = 0x00000104UL , Decrypt = 0x00000105UL , Wrap = 0x00000106UL , Unwrap = 0x00000107UL , Sign = 0x00000108UL , SignRecover = 0x00000109UL , Verify = 0x0000010AUL , VerifyRecover = 0x0000010BUL , Derive = 0x0000010CUL , StartDate = 0x00000110UL , EndDate = 0x00000111UL , Modulus = 0x00000120UL , ModulusBits = 0x00000121UL , PublicExponent = 0x00000122UL , PrivateExponent = 0x00000123UL , Prime1 = 0x00000124UL , Prime2 = 0x00000125UL , Exponent1 = 0x00000126UL , Exponent2 = 0x00000127UL , Coefficient = 0x00000128UL , PublicKeyInfo = 0x00000129UL , Prime = 0x00000130UL , Subprime = 0x00000131UL , Base = 0x00000132UL , PrimeBits = 0x00000133UL , SubprimeBits = 0x00000134UL , SubPrimeBits = 0x00000134UL , ValueBits = 0x00000160UL , ValueLen = 0x00000161UL , Extractable = 0x00000162UL , Local = 0x00000163UL , NeverExtractable = 0x00000164UL , AlwaysSensitive = 0x00000165UL , KeyGenMechanism = 0x00000166UL , Modifiable = 0x00000170UL , Copyable = 0x00000171UL , Destroyable = 0x00000172UL , EcdsaParams = 0x00000180UL , EcParams = 0x00000180UL , EcPoint = 0x00000181UL , SecondaryAuth = 0x00000200UL , AuthPinFlags = 0x00000201UL , AlwaysAuthenticate = 0x00000202UL , WrapWithTrusted = 0x00000210UL , WrapTemplate = ( 0x40000000UL |0x00000211UL) , UnwrapTemplate = ( 0x40000000UL |0x00000212UL) , DeriveTemplate = ( 0x40000000UL |0x00000213UL) , OtpFormat = 0x00000220UL , OtpLength = 0x00000221UL , OtpTimeInterval = 0x00000222UL , OtpUserFriendlyMode = 0x00000223UL , OtpChallengeRequirement = 0x00000224UL , OtpTimeRequirement = 0x00000225UL , OtpCounterRequirement = 0x00000226UL , OtpPinRequirement = 0x00000227UL , OtpCounter = 0x0000022EUL , OtpTime = 0x0000022FUL , OtpUserIdentifier = 0x0000022AUL , OtpServiceIdentifier = 0x0000022BUL , OtpServiceLogo = 0x0000022CUL , OtpServiceLogoType = 0x0000022DUL , Gostr3410Params = 0x00000250UL , Gostr3411Params = 0x00000251UL , Gost28147Params = 0x00000252UL , HwFeatureType = 0x00000300UL , ResetOnInit = 0x00000301UL , HasReset = 0x00000302UL , PixelX = 0x00000400UL , PixelY = 0x00000401UL , Resolution = 0x00000402UL , CharRows = 0x00000403UL , CharColumns = 0x00000404UL , Color = 0x00000405UL , BitsPerPixel = 0x00000406UL , CharSets = 0x00000480UL , EncodingMethods = 0x00000481UL , MimeTypes = 0x00000482UL , MechanismType = 0x00000500UL , RequiredCmsAttributes = 0x00000501UL , DefaultCmsAttributes = 0x00000502UL , SupportedCmsAttributes = 0x00000503UL , AllowedMechanisms = ( 0x40000000UL |0x00000600UL) , VendorDefined = 0x80000000UL }
enum class | CertificateCategory : CK_ULONG { Unspecified = 0UL , TokenUser = 1UL , Authority = 2UL , OtherEntity = 3UL }
enum class | CertificateType : CK_CERTIFICATE_TYPE { X509 = 0x00000000UL , X509AttrCert = 0x00000001UL , Wtls = 0x00000002UL , VendorDefined = 0x80000000UL }
enum class | Flag : CK_FLAGS { None = 0 , TokenPresent = 0x00000001UL , RemovableDevice = 0x00000002UL , HwSlot = 0x00000004UL , Rng = 0x00000001UL , WriteProtected = 0x00000002UL , LoginRequired = 0x00000004UL , UserPinInitialized = 0x00000008UL , RestoreKeyNotNeeded = 0x00000020UL , ClockOnToken = 0x00000040UL , ProtectedAuthenticationPath = 0x00000100UL , DualCryptoOperations = 0x00000200UL , TokenInitialized = 0x00000400UL , SecondaryAuthentication = 0x00000800UL , UserPinCountLow = 0x00010000UL , UserPinFinalTry = 0x00020000UL , UserPinLocked = 0x00040000UL , UserPinToBeChanged = 0x00080000UL , SoPinCountLow = 0x00100000UL , SoPinFinalTry = 0x00200000UL , SoPinLocked = 0x00400000UL , SoPinToBeChanged = 0x00800000UL , ErrorState = 0x01000000UL , RwSession = 0x00000002UL , SerialSession = 0x00000004UL , ArrayAttribute = 0x40000000UL , Hw = 0x00000001UL , Encrypt = 0x00000100UL , Decrypt = 0x00000200UL , Digest = 0x00000400UL , Sign = 0x00000800UL , SignRecover = 0x00001000UL , Verify = 0x00002000UL , VerifyRecover = 0x00004000UL , Generate = 0x00008000UL , GenerateKeyPair = 0x00010000UL , Wrap = 0x00020000UL , Unwrap = 0x00040000UL , Derive = 0x00080000UL , EcFP = 0x00100000UL , EcF2m = 0x00200000UL , EcEcparameters = 0x00400000UL , EcNamedcurve = 0x00800000UL , EcUncompress = 0x01000000UL , EcCompress = 0x02000000UL , Extension = 0x80000000UL , LibraryCantCreateOsThreads = 0x00000001UL , OsLockingOk = 0x00000002UL , DontBlock = 1 , NextOtp = 0x00000001UL , ExcludeTime = 0x00000002UL , ExcludeCounter = 0x00000004UL , ExcludeChallenge = 0x00000008UL , ExcludePin = 0x00000010UL , UserFriendlyOtp = 0x00000020UL }
enum class | HardwareType : CK_HW_FEATURE_TYPE { MonotonicCounter = 0x00000001UL , Clock = 0x00000002UL , UserInterface = 0x00000003UL , VendorDefined = 0x80000000UL }
enum class | KeyDerivation : CK_ULONG { Null = 0x00000001UL , Sha1Kdf = 0x00000002UL , Sha1KdfAsn1 = 0x00000003UL , Sha1KdfConcatenate = 0x00000004UL , Sha224Kdf = 0x00000005UL , Sha256Kdf = 0x00000006UL , Sha384Kdf = 0x00000007UL , Sha512Kdf = 0x00000008UL , CpdiversifyKdf = 0x00000009UL }
enum class | KeyType : CK_KEY_TYPE { Rsa = 0x00000000UL , Dsa = 0x00000001UL , Dh = 0x00000002UL , Ecdsa = 0x00000003UL , Ec = 0x00000003UL , X942Dh = 0x00000004UL , Kea = 0x00000005UL , GenericSecret = 0x00000010UL , Rc2 = 0x00000011UL , Rc4 = 0x00000012UL , Des = 0x00000013UL , Des2 = 0x00000014UL , Des3 = 0x00000015UL , Cast = 0x00000016UL , Cast3 = 0x00000017UL , Cast5 = 0x00000018UL , Cast128 = 0x00000018UL , Rc5 = 0x00000019UL , Idea = 0x0000001AUL , Skipjack = 0x0000001BUL , Baton = 0x0000001CUL , Juniper = 0x0000001DUL , Cdmf = 0x0000001EUL , Aes = 0x0000001FUL , Blowfish = 0x00000020UL , Twofish = 0x00000021UL , Securid = 0x00000022UL , Hotp = 0x00000023UL , Acti = 0x00000024UL , Camellia = 0x00000025UL , Aria = 0x00000026UL , Md5Hmac = 0x00000027UL , Sha1Hmac = 0x00000028UL , Ripemd128Hmac = 0x00000029UL , Ripemd160Hmac = 0x0000002AUL , Sha256Hmac = 0x0000002BUL , Sha384Hmac = 0x0000002CUL , Sha512Hmac = 0x0000002DUL , Sha224Hmac = 0x0000002EUL , Seed = 0x0000002FUL , Gostr3410 = 0x00000030UL , Gostr3411 = 0x00000031UL , Gost28147 = 0x00000032UL , VendorDefined = 0x80000000UL }
enum class | MechanismType : CK_MECHANISM_TYPE { RsaPkcsKeyPairGen = 0x00000000UL , RsaPkcs = 0x00000001UL , Rsa9796 = 0x00000002UL , RsaX509 = 0x00000003UL , Md2RsaPkcs = 0x00000004UL , Md5RsaPkcs = 0x00000005UL , Sha1RsaPkcs = 0x00000006UL , Ripemd128RsaPkcs = 0x00000007UL , Ripemd160RsaPkcs = 0x00000008UL , RsaPkcsOaep = 0x00000009UL , RsaX931KeyPairGen = 0x0000000AUL , RsaX931 = 0x0000000BUL , Sha1RsaX931 = 0x0000000CUL , RsaPkcsPss = 0x0000000DUL , Sha1RsaPkcsPss = 0x0000000EUL , DsaKeyPairGen = 0x00000010UL , Dsa = 0x00000011UL , DsaSha1 = 0x00000012UL , DsaSha224 = 0x00000013UL , DsaSha256 = 0x00000014UL , DsaSha384 = 0x00000015UL , DsaSha512 = 0x00000016UL , DhPkcsKeyPairGen = 0x00000020UL , DhPkcsDerive = 0x00000021UL , X942DhKeyPairGen = 0x00000030UL , X942DhDerive = 0x00000031UL , X942DhHybridDerive = 0x00000032UL , X942MqvDerive = 0x00000033UL , Sha256RsaPkcs = 0x00000040UL , Sha384RsaPkcs = 0x00000041UL , Sha512RsaPkcs = 0x00000042UL , Sha256RsaPkcsPss = 0x00000043UL , Sha384RsaPkcsPss = 0x00000044UL , Sha512RsaPkcsPss = 0x00000045UL , Sha224RsaPkcs = 0x00000046UL , Sha224RsaPkcsPss = 0x00000047UL , Sha512224 = 0x00000048UL , Sha512224Hmac = 0x00000049UL , Sha512224HmacGeneral = 0x0000004AUL , Sha512224KeyDerivation = 0x0000004BUL , Sha512256 = 0x0000004CUL , Sha512256Hmac = 0x0000004DUL , Sha512256HmacGeneral = 0x0000004EUL , Sha512256KeyDerivation = 0x0000004FUL , Sha512T = 0x00000050UL , Sha512THmac = 0x00000051UL , Sha512THmacGeneral = 0x00000052UL , Sha512TKeyDerivation = 0x00000053UL , Rc2KeyGen = 0x00000100UL , Rc2Ecb = 0x00000101UL , Rc2Cbc = 0x00000102UL , Rc2Mac = 0x00000103UL , Rc2MacGeneral = 0x00000104UL , Rc2CbcPad = 0x00000105UL , Rc4KeyGen = 0x00000110UL , Rc4 = 0x00000111UL , DesKeyGen = 0x00000120UL , DesEcb = 0x00000121UL , DesCbc = 0x00000122UL , DesMac = 0x00000123UL , DesMacGeneral = 0x00000124UL , DesCbcPad = 0x00000125UL , Des2KeyGen = 0x00000130UL , Des3KeyGen = 0x00000131UL , Des3Ecb = 0x00000132UL , Des3Cbc = 0x00000133UL , Des3Mac = 0x00000134UL , Des3MacGeneral = 0x00000135UL , Des3CbcPad = 0x00000136UL , Des3CmacGeneral = 0x00000137UL , Des3Cmac = 0x00000138UL , CdmfKeyGen = 0x00000140UL , CdmfEcb = 0x00000141UL , CdmfCbc = 0x00000142UL , CdmfMac = 0x00000143UL , CdmfMacGeneral = 0x00000144UL , CdmfCbcPad = 0x00000145UL , DesOfb64 = 0x00000150UL , DesOfb8 = 0x00000151UL , DesCfb64 = 0x00000152UL , DesCfb8 = 0x00000153UL , Md2 = 0x00000200UL , Md2Hmac = 0x00000201UL , Md2HmacGeneral = 0x00000202UL , Md5 = 0x00000210UL , Md5Hmac = 0x00000211UL , Md5HmacGeneral = 0x00000212UL , Sha1 = 0x00000220UL , Sha1Hmac = 0x00000221UL , Sha1HmacGeneral = 0x00000222UL , Ripemd128 = 0x00000230UL , Ripemd128Hmac = 0x00000231UL , Ripemd128HmacGeneral = 0x00000232UL , Ripemd160 = 0x00000240UL , Ripemd160Hmac = 0x00000241UL , Ripemd160HmacGeneral = 0x00000242UL , Sha256 = 0x00000250UL , Sha256Hmac = 0x00000251UL , Sha256HmacGeneral = 0x00000252UL , Sha224 = 0x00000255UL , Sha224Hmac = 0x00000256UL , Sha224HmacGeneral = 0x00000257UL , Sha384 = 0x00000260UL , Sha384Hmac = 0x00000261UL , Sha384HmacGeneral = 0x00000262UL , Sha512 = 0x00000270UL , Sha512Hmac = 0x00000271UL , Sha512HmacGeneral = 0x00000272UL , SecuridKeyGen = 0x00000280UL , Securid = 0x00000282UL , HotpKeyGen = 0x00000290UL , Hotp = 0x00000291UL , Acti = 0x000002A0UL , ActiKeyGen = 0x000002A1UL , CastKeyGen = 0x00000300UL , CastEcb = 0x00000301UL , CastCbc = 0x00000302UL , CastMac = 0x00000303UL , CastMacGeneral = 0x00000304UL , CastCbcPad = 0x00000305UL , Cast3KeyGen = 0x00000310UL , Cast3Ecb = 0x00000311UL , Cast3Cbc = 0x00000312UL , Cast3Mac = 0x00000313UL , Cast3MacGeneral = 0x00000314UL , Cast3CbcPad = 0x00000315UL , Cast5KeyGen = 0x00000320UL , Cast128KeyGen = 0x00000320UL , Cast5Ecb = 0x00000321UL , Cast128Ecb = 0x00000321UL , Cast5Cbc = 0x00000322UL , Cast128Cbc = 0x00000322UL , Cast5Mac = 0x00000323UL , Cast128Mac = 0x00000323UL , Cast5MacGeneral = 0x00000324UL , Cast128MacGeneral = 0x00000324UL , Cast5CbcPad = 0x00000325UL , Cast128CbcPad = 0x00000325UL , Rc5KeyGen = 0x00000330UL , Rc5Ecb = 0x00000331UL , Rc5Cbc = 0x00000332UL , Rc5Mac = 0x00000333UL , Rc5MacGeneral = 0x00000334UL , Rc5CbcPad = 0x00000335UL , IdeaKeyGen = 0x00000340UL , IdeaEcb = 0x00000341UL , IdeaCbc = 0x00000342UL , IdeaMac = 0x00000343UL , IdeaMacGeneral = 0x00000344UL , IdeaCbcPad = 0x00000345UL , GenericSecretKeyGen = 0x00000350UL , ConcatenateBaseAndKey = 0x00000360UL , ConcatenateBaseAndData = 0x00000362UL , ConcatenateDataAndBase = 0x00000363UL , XorBaseAndData = 0x00000364UL , ExtractKeyFromKey = 0x00000365UL , Ssl3PreMasterKeyGen = 0x00000370UL , Ssl3MasterKeyDerive = 0x00000371UL , Ssl3KeyAndMacDerive = 0x00000372UL , Ssl3MasterKeyDeriveDh = 0x00000373UL , TlsPreMasterKeyGen = 0x00000374UL , TlsMasterKeyDerive = 0x00000375UL , TlsKeyAndMacDerive = 0x00000376UL , TlsMasterKeyDeriveDh = 0x00000377UL , TlsPrf = 0x00000378UL , Ssl3Md5Mac = 0x00000380UL , Ssl3Sha1Mac = 0x00000381UL , Md5KeyDerivation = 0x00000390UL , Md2KeyDerivation = 0x00000391UL , Sha1KeyDerivation = 0x00000392UL , Sha256KeyDerivation = 0x00000393UL , Sha384KeyDerivation = 0x00000394UL , Sha512KeyDerivation = 0x00000395UL , Sha224KeyDerivation = 0x00000396UL , PbeMd2DesCbc = 0x000003A0UL , PbeMd5DesCbc = 0x000003A1UL , PbeMd5CastCbc = 0x000003A2UL , PbeMd5Cast3Cbc = 0x000003A3UL , PbeMd5Cast5Cbc = 0x000003A4UL , PbeMd5Cast128Cbc = 0x000003A4UL , PbeSha1Cast5Cbc = 0x000003A5UL , PbeSha1Cast128Cbc = 0x000003A5UL , PbeSha1Rc4128 = 0x000003A6UL , PbeSha1Rc440 = 0x000003A7UL , PbeSha1Des3EdeCbc = 0x000003A8UL , PbeSha1Des2EdeCbc = 0x000003A9UL , PbeSha1Rc2128Cbc = 0x000003AAUL , PbeSha1Rc240Cbc = 0x000003ABUL , Pkcs5Pbkd2 = 0x000003B0UL , PbaSha1WithSha1Hmac = 0x000003C0UL , WtlsPreMasterKeyGen = 0x000003D0UL , WtlsMasterKeyDerive = 0x000003D1UL , WtlsMasterKeyDeriveDhEcc = 0x000003D2UL , WtlsPrf = 0x000003D3UL , WtlsServerKeyAndMacDerive = 0x000003D4UL , WtlsClientKeyAndMacDerive = 0x000003D5UL , Tls10MacServer = 0x000003D6UL , Tls10MacClient = 0x000003D7UL , Tls12Mac = 0x000003D8UL , Tls12Kdf = 0x000003D9UL , Tls12MasterKeyDerive = 0x000003E0UL , Tls12KeyAndMacDerive = 0x000003E1UL , Tls12MasterKeyDeriveDh = 0x000003E2UL , Tls12KeySafeDerive = 0x000003E3UL , TlsMac = 0x000003E4UL , TlsKdf = 0x000003E5UL , KeyWrapLynks = 0x00000400UL , KeyWrapSetOaep = 0x00000401UL , CmsSig = 0x00000500UL , KipDerive = 0x00000510UL , KipWrap = 0x00000511UL , KipMac = 0x00000512UL , CamelliaKeyGen = 0x00000550UL , CamelliaEcb = 0x00000551UL , CamelliaCbc = 0x00000552UL , CamelliaMac = 0x00000553UL , CamelliaMacGeneral = 0x00000554UL , CamelliaCbcPad = 0x00000555UL , CamelliaEcbEncryptData = 0x00000556UL , CamelliaCbcEncryptData = 0x00000557UL , CamelliaCtr = 0x00000558UL , AriaKeyGen = 0x00000560UL , AriaEcb = 0x00000561UL , AriaCbc = 0x00000562UL , AriaMac = 0x00000563UL , AriaMacGeneral = 0x00000564UL , AriaCbcPad = 0x00000565UL , AriaEcbEncryptData = 0x00000566UL , AriaCbcEncryptData = 0x00000567UL , SeedKeyGen = 0x00000650UL , SeedEcb = 0x00000651UL , SeedCbc = 0x00000652UL , SeedMac = 0x00000653UL , SeedMacGeneral = 0x00000654UL , SeedCbcPad = 0x00000655UL , SeedEcbEncryptData = 0x00000656UL , SeedCbcEncryptData = 0x00000657UL , SkipjackKeyGen = 0x00001000UL , SkipjackEcb64 = 0x00001001UL , SkipjackCbc64 = 0x00001002UL , SkipjackOfb64 = 0x00001003UL , SkipjackCfb64 = 0x00001004UL , SkipjackCfb32 = 0x00001005UL , SkipjackCfb16 = 0x00001006UL , SkipjackCfb8 = 0x00001007UL , SkipjackWrap = 0x00001008UL , SkipjackPrivateWrap = 0x00001009UL , SkipjackRelayx = 0x0000100aUL , KeaKeyPairGen = 0x00001010UL , KeaKeyDerive = 0x00001011UL , KeaDerive = 0x00001012UL , FortezzaTimestamp = 0x00001020UL , BatonKeyGen = 0x00001030UL , BatonEcb128 = 0x00001031UL , BatonEcb96 = 0x00001032UL , BatonCbc128 = 0x00001033UL , BatonCounter = 0x00001034UL , BatonShuffle = 0x00001035UL , BatonWrap = 0x00001036UL , EcdsaKeyPairGen = 0x00001040UL , EcKeyPairGen = 0x00001040UL , Ecdsa = 0x00001041UL , EcdsaSha1 = 0x00001042UL , EcdsaSha224 = 0x00001043UL , EcdsaSha256 = 0x00001044UL , EcdsaSha384 = 0x00001045UL , EcdsaSha512 = 0x00001046UL , Ecdh1Derive = 0x00001050UL , Ecdh1CofactorDerive = 0x00001051UL , EcmqvDerive = 0x00001052UL , EcdhAesKeyWrap = 0x00001053UL , RsaAesKeyWrap = 0x00001054UL , JuniperKeyGen = 0x00001060UL , JuniperEcb128 = 0x00001061UL , JuniperCbc128 = 0x00001062UL , JuniperCounter = 0x00001063UL , JuniperShuffle = 0x00001064UL , JuniperWrap = 0x00001065UL , Fasthash = 0x00001070UL , AesKeyGen = 0x00001080UL , AesEcb = 0x00001081UL , AesCbc = 0x00001082UL , AesMac = 0x00001083UL , AesMacGeneral = 0x00001084UL , AesCbcPad = 0x00001085UL , AesCtr = 0x00001086UL , AesGcm = 0x00001087UL , AesCcm = 0x00001088UL , AesCts = 0x00001089UL , AesCmac = 0x0000108AUL , AesCmacGeneral = 0x0000108BUL , AesXcbcMac = 0x0000108CUL , AesXcbcMac96 = 0x0000108DUL , AesGmac = 0x0000108EUL , BlowfishKeyGen = 0x00001090UL , BlowfishCbc = 0x00001091UL , TwofishKeyGen = 0x00001092UL , TwofishCbc = 0x00001093UL , BlowfishCbcPad = 0x00001094UL , TwofishCbcPad = 0x00001095UL , DesEcbEncryptData = 0x00001100UL , DesCbcEncryptData = 0x00001101UL , Des3EcbEncryptData = 0x00001102UL , Des3CbcEncryptData = 0x00001103UL , AesEcbEncryptData = 0x00001104UL , AesCbcEncryptData = 0x00001105UL , Gostr3410KeyPairGen = 0x00001200UL , Gostr3410 = 0x00001201UL , Gostr3410WithGostr3411 = 0x00001202UL , Gostr3410KeyWrap = 0x00001203UL , Gostr3410Derive = 0x00001204UL , Gostr3411 = 0x00001210UL , Gostr3411Hmac = 0x00001211UL , Gost28147KeyGen = 0x00001220UL , Gost28147Ecb = 0x00001221UL , Gost28147 = 0x00001222UL , Gost28147Mac = 0x00001223UL , Gost28147KeyWrap = 0x00001224UL , DsaParameterGen = 0x00002000UL , DhPkcsParameterGen = 0x00002001UL , X942DhParameterGen = 0x00002002UL , DsaProbablisticParameterGen = 0x00002003UL , DsaShaweTaylorParameterGen = 0x00002004UL , AesOfb = 0x00002104UL , AesCfb64 = 0x00002105UL , AesCfb8 = 0x00002106UL , AesCfb128 = 0x00002107UL , AesCfb1 = 0x00002108UL , AesKeyWrap = 0x00002109UL , AesKeyWrapPad = 0x0000210AUL , RsaPkcsTpm11 = 0x00004001UL , RsaPkcsOaepTpm11 = 0x00004002UL , VendorDefined = 0x80000000UL }
enum class | MGF : CK_RSA_PKCS_MGF_TYPE { Mgf1Sha1 = 0x00000001UL , Mgf1Sha256 = 0x00000002UL , Mgf1Sha384 = 0x00000003UL , Mgf1Sha512 = 0x00000004UL , Mgf1Sha224 = 0x00000005UL }
enum class | Notification : CK_NOTIFICATION { Surrender = 0UL , OtpChanged = 1UL }
enum class | ObjectClass : CK_OBJECT_CLASS { Data = 0x00000000UL , Certificate = 0x00000001UL , PublicKey = 0x00000002UL , PrivateKey = 0x00000003UL , SecretKey = 0x00000004UL , HwFeature = 0x00000005UL , DomainParameters = 0x00000006UL , Mechanism = 0x00000007UL , OtpKey = 0x00000008UL , VendorDefined = 0x80000000UL }
enum class | PseudoRandom : CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE { Pkcs5Pbkd2HmacSha1 = 0x00000001UL , Pkcs5Pbkd2HmacGostr3411 = 0x00000002UL , Pkcs5Pbkd2HmacSha224 = 0x00000003UL , Pkcs5Pbkd2HmacSha256 = 0x00000004UL , Pkcs5Pbkd2HmacSha384 = 0x00000005UL , Pkcs5Pbkd2HmacSha512 = 0x00000006UL , Pkcs5Pbkd2HmacSha512224 = 0x00000007UL , Pkcs5Pbkd2HmacSha512256 = 0x00000008UL }
enum class | PublicPointEncoding : uint32_t { Raw , Der }
enum class | ReturnValue : CK_RV { OK = 0x00000000UL , Cancel = 0x00000001UL , HostMemory = 0x00000002UL , SlotIdInvalid = 0x00000003UL , GeneralError = 0x00000005UL , FunctionFailed = 0x00000006UL , ArgumentsBad = 0x00000007UL , NoEvent = 0x00000008UL , NeedToCreateThreads = 0x00000009UL , CantLock = 0x0000000AUL , AttributeReadOnly = 0x00000010UL , AttributeSensitive = 0x00000011UL , AttributeTypeInvalid = 0x00000012UL , AttributeValueInvalid = 0x00000013UL , ActionProhibited = 0x0000001BUL , DataInvalid = 0x00000020UL , DataLenRange = 0x00000021UL , DeviceError = 0x00000030UL , DeviceMemory = 0x00000031UL , DeviceRemoved = 0x00000032UL , EncryptedDataInvalid = 0x00000040UL , EncryptedDataLenRange = 0x00000041UL , FunctionCanceled = 0x00000050UL , FunctionNotParallel = 0x00000051UL , FunctionNotSupported = 0x00000054UL , KeyHandleInvalid = 0x00000060UL , KeySizeRange = 0x00000062UL , KeyTypeInconsistent = 0x00000063UL , KeyNotNeeded = 0x00000064UL , KeyChanged = 0x00000065UL , KeyNeeded = 0x00000066UL , KeyIndigestible = 0x00000067UL , KeyFunctionNotPermitted = 0x00000068UL , KeyNotWrappable = 0x00000069UL , KeyUnextractable = 0x0000006AUL , MechanismInvalid = 0x00000070UL , MechanismParamInvalid = 0x00000071UL , ObjectHandleInvalid = 0x00000082UL , OperationActive = 0x00000090UL , OperationNotInitialized = 0x00000091UL , PinIncorrect = 0x000000A0UL , PinInvalid = 0x000000A1UL , PinLenRange = 0x000000A2UL , PinExpired = 0x000000A3UL , PinLocked = 0x000000A4UL , SessionClosed = 0x000000B0UL , SessionCount = 0x000000B1UL , SessionHandleInvalid = 0x000000B3UL , SessionParallelNotSupported = 0x000000B4UL , SessionReadOnly = 0x000000B5UL , SessionExists = 0x000000B6UL , SessionReadOnlyExists = 0x000000B7UL , SessionReadWriteSoExists = 0x000000B8UL , SignatureInvalid = 0x000000C0UL , SignatureLenRange = 0x000000C1UL , TemplateIncomplete = 0x000000D0UL , TemplateInconsistent = 0x000000D1UL , TokenNotPresent = 0x000000E0UL , TokenNotRecognized = 0x000000E1UL , TokenWriteProtected = 0x000000E2UL , UnwrappingKeyHandleInvalid = 0x000000F0UL , UnwrappingKeySizeRange = 0x000000F1UL , UnwrappingKeyTypeInconsistent = 0x000000F2UL , UserAlreadyLoggedIn = 0x00000100UL , UserNotLoggedIn = 0x00000101UL , UserPinNotInitialized = 0x00000102UL , UserTypeInvalid = 0x00000103UL , UserAnotherAlreadyLoggedIn = 0x00000104UL , UserTooManyTypes = 0x00000105UL , WrappedKeyInvalid = 0x00000110UL , WrappedKeyLenRange = 0x00000112UL , WrappingKeyHandleInvalid = 0x00000113UL , WrappingKeySizeRange = 0x00000114UL , WrappingKeyTypeInconsistent = 0x00000115UL , RandomSeedNotSupported = 0x00000120UL , RandomNoRng = 0x00000121UL , DomainParamsInvalid = 0x00000130UL , CurveNotSupported = 0x00000140UL , BufferTooSmall = 0x00000150UL , SavedStateInvalid = 0x00000160UL , InformationSensitive = 0x00000170UL , StateUnsaveable = 0x00000180UL , CryptokiNotInitialized = 0x00000190UL , CryptokiAlreadyInitialized = 0x00000191UL , MutexBad = 0x000001A0UL , MutexNotLocked = 0x000001A1UL , NewPinMode = 0x000001B0UL , NextOtp = 0x000001B1UL , ExceededMaxIterations = 0x000001B5UL , FipsSelfTestFailed = 0x000001B6UL , LibraryLoadFailed = 0x000001B7UL , PinTooWeak = 0x000001B8UL , PublicKeyInvalid = 0x000001B9UL , FunctionRejected = 0x00000200UL , VendorDefined = 0x80000000UL }
enum class | SessionState : CK_STATE { RoPublicSession = 0UL , RoUserFunctions = 1UL , RwPublicSession = 2UL , RwUserFunctions = 3UL , RwSoFunctions = 4UL }
enum class | UserType : CK_USER_TYPE { SO = 0UL , User = 1UL , ContextSpecific = 2UL }

## Functions
void | change_pin (Slot &slot, const secure_string &old_pin, const secure_string &new_pin)
void | change_so_pin (Slot &slot, const secure_string &old_so_pin, const secure_string &new_so_pin)
Flags | flags (Flag flags)
void | initialize_token (Slot &slot, const std::string &label, const secure_string &so_pin, const secure_string &pin)
Flag | operator| (Flag a, Flag b)
void | set_pin (Slot &slot, const secure_string &so_pin, const secure_string &pin)

## Variables
const Bbool | False = 0
ReturnValue * | ThrowException = reinterpret_cast< ReturnValue* >(-1)
const Bbool | True = 1

## Typedef Documentation

## ◆ Attribute

using Botan::PKCS11::Attribute = typedef CK_ATTRIBUTE

Definition at line 847 of file p11.h.

## ◆ Bbool

using Botan::PKCS11::Bbool = typedef CK_BBOOL

Definition at line 836 of file p11.h.

## ◆ Byte

using Botan::PKCS11::Byte = typedef CK_BYTE

Definition at line 849 of file p11.h.

## ◆ C_InitializeArgs

using Botan::PKCS11::C_InitializeArgs = typedef CK_C_INITIALIZE_ARGS

Definition at line 829 of file p11.h.

## ◆ CreateMutex

using Botan::PKCS11::CreateMutex = typedef CK_CREATEMUTEX

Definition at line 830 of file p11.h.

## ◆ Date

using Botan::PKCS11::Date = typedef CK_DATE

Definition at line 853 of file p11.h.

## ◆ DestroyMutex

using Botan::PKCS11::DestroyMutex = typedef CK_DESTROYMUTEX

Definition at line 831 of file p11.h.

## ◆ Ecdh1DeriveParams

using Botan::PKCS11::Ecdh1DeriveParams = typedef CK_ECDH1_DERIVE_PARAMS

Definition at line 852 of file p11.h.

## ◆ Flags

using Botan::PKCS11::Flags = typedef CK_FLAGS

Definition at line 834 of file p11.h.

## ◆ FunctionListPtr

using Botan::PKCS11::FunctionListPtr = typedef CK_FUNCTION_LIST_PTR

Definition at line 827 of file p11.h.

## ◆ Info

using Botan::PKCS11::Info = typedef CK_INFO

Definition at line 835 of file p11.h.

## ◆ LockMutex

using Botan::PKCS11::LockMutex = typedef CK_LOCKMUTEX

Definition at line 832 of file p11.h.

## ◆ Mechanism

using Botan::PKCS11::Mechanism = typedef CK_MECHANISM

Definition at line 841 of file p11.h.

## ◆ MechanismInfo

using Botan::PKCS11::MechanismInfo = typedef CK_MECHANISM_INFO

Definition at line 842 of file p11.h.

## ◆ Notify

using Botan::PKCS11::Notify = typedef CK_NOTIFY

Definition at line 844 of file p11.h.

## ◆ ObjectHandle

using Botan::PKCS11::ObjectHandle = typedef CK_OBJECT_HANDLE

Definition at line 848 of file p11.h.

## ◆ RsaPkcsOaepParams

using Botan::PKCS11::RsaPkcsOaepParams = typedef CK_RSA_PKCS_OAEP_PARAMS

Definition at line 850 of file p11.h.

## ◆ RsaPkcsPssParams

using Botan::PKCS11::RsaPkcsPssParams = typedef CK_RSA_PKCS_PSS_PARAMS

Definition at line 851 of file p11.h.

## ◆ secure_string

using Botan::PKCS11::secure_string = typedef secure_vector<uint8_t>

Definition at line 63 of file p11.h.

## ◆ SessionHandle

using Botan::PKCS11::SessionHandle = typedef CK_SESSION_HANDLE

Definition at line 845 of file p11.h.

## ◆ SessionInfo

using Botan::PKCS11::SessionInfo = typedef CK_SESSION_INFO

Definition at line 846 of file p11.h.

## ◆ SlotId

using Botan::PKCS11::SlotId = typedef CK_SLOT_ID

Definition at line 837 of file p11.h.

## ◆ SlotInfo

using Botan::PKCS11::SlotInfo = typedef CK_SLOT_INFO

Definition at line 839 of file p11.h.

## ◆ TokenInfo

using Botan::PKCS11::TokenInfo = typedef CK_TOKEN_INFO

Definition at line 840 of file p11.h.

## ◆ Ulong

using Botan::PKCS11::Ulong = typedef CK_ULONG

Definition at line 838 of file p11.h.

## ◆ UnlockMutex

using Botan::PKCS11::UnlockMutex = typedef CK_UNLOCKMUTEX

Definition at line 833 of file p11.h.

## ◆ Utf8Char

using Botan::PKCS11::Utf8Char = typedef CK_UTF8CHAR

Definition at line 843 of file p11.h.

## ◆ VoidPtr

using Botan::PKCS11::VoidPtr = typedef CK_VOID_PTR

Definition at line 828 of file p11.h.

## Enumeration Type Documentation

## ◆ AttributeType

enum class Botan::PKCS11::AttributeType : CK_ATTRIBUTE_TYPE
| strong

Enumerator
Class |
Token |
Private |
Label |
Application |
Value |
ObjectId |
CertificateType |
Issuer |
SerialNumber |
AcIssuer |
Owner |
AttrTypes |
Trusted |
CertificateCategory |
JavaMidpSecurityDomain |
Url |
HashOfSubjectPublicKey |
HashOfIssuerPublicKey |
NameHashAlgorithm |
CheckValue |
KeyType |
Subject |
Id |
Sensitive |
Encrypt |
Decrypt |
Wrap |
Unwrap |
Sign |
SignRecover |
Verify |
VerifyRecover |
Derive |
StartDate |
EndDate |
Modulus |
ModulusBits |
PublicExponent |
PrivateExponent |
Prime1 |
Prime2 |
Exponent1 |
Exponent2 |
Coefficient |
PublicKeyInfo |
Prime |
Subprime |
Base |
PrimeBits |
SubprimeBits |
SubPrimeBits |
ValueBits |
ValueLen |
Extractable |
Local |
NeverExtractable |
AlwaysSensitive |
KeyGenMechanism |
Modifiable |
Copyable |
Destroyable |
EcdsaParams |
EcParams |
EcPoint |
SecondaryAuth |
AuthPinFlags |
AlwaysAuthenticate |
WrapWithTrusted |
WrapTemplate |
UnwrapTemplate |
DeriveTemplate |
OtpFormat |
OtpLength |
OtpTimeInterval |
OtpUserFriendlyMode |
OtpChallengeRequirement |
OtpTimeRequirement |
OtpCounterRequirement |
OtpPinRequirement |
OtpCounter |
OtpTime |
OtpUserIdentifier |
OtpServiceIdentifier |
OtpServiceLogo |
OtpServiceLogoType |
Gostr3410Params |
Gostr3411Params |
Gost28147Params |
HwFeatureType |
ResetOnInit |
HasReset |
PixelX |
PixelY |
Resolution |
CharRows |
CharColumns |
Color |
BitsPerPixel |
CharSets |
EncodingMethods |
MimeTypes |
MechanismType |
RequiredCmsAttributes |
DefaultCmsAttributes |
SupportedCmsAttributes |
AllowedMechanisms |
VendorDefined |

Definition at line 65 of file p11.h.

66 {
67 Class = CKA_CLASS,
68 Token = CKA_TOKEN,
69 Private = CKA_PRIVATE,
70 Label = CKA_LABEL,
71 Application = CKA_APPLICATION,
72 Value = CKA_VALUE,
73 ObjectId = CKA_OBJECT_ID,
74 CertificateType = CKA_CERTIFICATE_TYPE,
75 Issuer = CKA_ISSUER,
76 SerialNumber = CKA_SERIAL_NUMBER,
77 AcIssuer = CKA_AC_ISSUER,
78 Owner = CKA_OWNER,
79 AttrTypes = CKA_ATTR_TYPES,
80 Trusted = CKA_TRUSTED,
81 CertificateCategory = CKA_CERTIFICATE_CATEGORY,
82 JavaMidpSecurityDomain = CKA_JAVA_MIDP_SECURITY_DOMAIN,
83 Url = CKA_URL,
84 HashOfSubjectPublicKey = CKA_HASH_OF_SUBJECT_PUBLIC_KEY,
85 HashOfIssuerPublicKey = CKA_HASH_OF_ISSUER_PUBLIC_KEY,
86 NameHashAlgorithm = CKA_NAME_HASH_ALGORITHM,
87 CheckValue = CKA_CHECK_VALUE,
88 KeyType = CKA_KEY_TYPE,
89 Subject = CKA_SUBJECT,
90 Id = CKA_ID,
91 Sensitive = CKA_SENSITIVE,
92 Encrypt = CKA_ENCRYPT,
93 Decrypt = CKA_DECRYPT,
94 Wrap = CKA_WRAP,
95 Unwrap = CKA_UNWRAP,
96 Sign = CKA_SIGN,
97 SignRecover = CKA_SIGN_RECOVER,
98 Verify = CKA_VERIFY,
99 VerifyRecover = CKA_VERIFY_RECOVER,
100 Derive = CKA_DERIVE,
101 StartDate = CKA_START_DATE,
102 EndDate = CKA_END_DATE,
103 Modulus = CKA_MODULUS,
104 ModulusBits = CKA_MODULUS_BITS,
105 PublicExponent = CKA_PUBLIC_EXPONENT,
106 PrivateExponent = CKA_PRIVATE_EXPONENT,
107 Prime1 = CKA_PRIME_1,
108 Prime2 = CKA_PRIME_2,
109 Exponent1 = CKA_EXPONENT_1,
110 Exponent2 = CKA_EXPONENT_2,
111 Coefficient = CKA_COEFFICIENT,
112 PublicKeyInfo = CKA_PUBLIC_KEY_INFO,
113 Prime = CKA_PRIME,
114 Subprime = CKA_SUBPRIME,
115 Base = CKA_BASE,
116 PrimeBits = CKA_PRIME_BITS,
117 SubprimeBits = CKA_SUBPRIME_BITS,
118 SubPrimeBits = CKA_SUB_PRIME_BITS,
119 ValueBits = CKA_VALUE_BITS,
120 ValueLen = CKA_VALUE_LEN,
121 Extractable = CKA_EXTRACTABLE,
122 Local = CKA_LOCAL,
123 NeverExtractable = CKA_NEVER_EXTRACTABLE,
124 AlwaysSensitive = CKA_ALWAYS_SENSITIVE,
125 KeyGenMechanism = CKA_KEY_GEN_MECHANISM,
126 Modifiable = CKA_MODIFIABLE,
127 Copyable = CKA_COPYABLE,
128 Destroyable = CKA_DESTROYABLE,
129 EcdsaParams = CKA_ECDSA_PARAMS,
130 EcParams = CKA_EC_PARAMS,
131 EcPoint = CKA_EC_POINT,
132 SecondaryAuth = CKA_SECONDARY_AUTH,
133 AuthPinFlags = CKA_AUTH_PIN_FLAGS,
134 AlwaysAuthenticate = CKA_ALWAYS_AUTHENTICATE,
135 WrapWithTrusted = CKA_WRAP_WITH_TRUSTED,
136 WrapTemplate = CKA_WRAP_TEMPLATE,
137 UnwrapTemplate = CKA_UNWRAP_TEMPLATE,
138 DeriveTemplate = CKA_DERIVE_TEMPLATE,
139 OtpFormat = CKA_OTP_FORMAT,
140 OtpLength = CKA_OTP_LENGTH,
141 OtpTimeInterval = CKA_OTP_TIME_INTERVAL,
142 OtpUserFriendlyMode = CKA_OTP_USER_FRIENDLY_MODE,
143 OtpChallengeRequirement = CKA_OTP_CHALLENGE_REQUIREMENT,
144 OtpTimeRequirement = CKA_OTP_TIME_REQUIREMENT,
145 OtpCounterRequirement = CKA_OTP_COUNTER_REQUIREMENT,
146 OtpPinRequirement = CKA_OTP_PIN_REQUIREMENT,
147 OtpCounter = CKA_OTP_COUNTER,
148 OtpTime = CKA_OTP_TIME,
149 OtpUserIdentifier = CKA_OTP_USER_IDENTIFIER,
150 OtpServiceIdentifier = CKA_OTP_SERVICE_IDENTIFIER,
151 OtpServiceLogo = CKA_OTP_SERVICE_LOGO,
152 OtpServiceLogoType = CKA_OTP_SERVICE_LOGO_TYPE,
153 Gostr3410Params = CKA_GOSTR3410_PARAMS,
154 Gostr3411Params = CKA_GOSTR3411_PARAMS,
155 Gost28147Params = CKA_GOST28147_PARAMS,
156 HwFeatureType = CKA_HW_FEATURE_TYPE,
157 ResetOnInit = CKA_RESET_ON_INIT,
158 HasReset = CKA_HAS_RESET,
159 PixelX = CKA_PIXEL_X,
160 PixelY = CKA_PIXEL_Y,
161 Resolution = CKA_RESOLUTION,
162 CharRows = CKA_CHAR_ROWS,
163 CharColumns = CKA_CHAR_COLUMNS,
164 Color = CKA_COLOR,
165 BitsPerPixel = CKA_BITS_PER_PIXEL,
166 CharSets = CKA_CHAR_SETS,
167 EncodingMethods = CKA_ENCODING_METHODS,
168 MimeTypes = CKA_MIME_TYPES,
169 MechanismType = CKA_MECHANISM_TYPE,
170 RequiredCmsAttributes = CKA_REQUIRED_CMS_ATTRIBUTES,
171 DefaultCmsAttributes = CKA_DEFAULT_CMS_ATTRIBUTES,
172 SupportedCmsAttributes = CKA_SUPPORTED_CMS_ATTRIBUTES,
173 AllowedMechanisms = CKA_ALLOWED_MECHANISMS,
174 VendorDefined = CKA_VENDOR_DEFINED,
175 };
Botan::PKCS11::AttributeType::SupportedCmsAttributes
@ SupportedCmsAttributes
Botan::PKCS11::AttributeType::Url
@ Url
Botan::PKCS11::AttributeType::ObjectId
@ ObjectId
Botan::PKCS11::AttributeType::Base
@ Base
Botan::PKCS11::AttributeType::PublicKeyInfo
@ PublicKeyInfo
Botan::PKCS11::AttributeType::PixelY
@ PixelY
Botan::PKCS11::AttributeType::WrapTemplate
@ WrapTemplate
Botan::PKCS11::AttributeType::PrivateExponent
@ PrivateExponent
Botan::PKCS11::AttributeType::Gostr3411Params
@ Gostr3411Params
Botan::PKCS11::AttributeType::PrimeBits
@ PrimeBits
Botan::PKCS11::AttributeType::JavaMidpSecurityDomain
@ JavaMidpSecurityDomain
Botan::PKCS11::AttributeType::AlwaysSensitive
@ AlwaysSensitive
Botan::PKCS11::AttributeType::SubprimeBits
@ SubprimeBits
Botan::PKCS11::AttributeType::ValueBits
@ ValueBits
Botan::PKCS11::AttributeType::CharColumns
@ CharColumns
Botan::PKCS11::AttributeType::PublicExponent
@ PublicExponent
Botan::PKCS11::AttributeType::Subprime
@ Subprime
Botan::PKCS11::AttributeType::SecondaryAuth
@ SecondaryAuth
Botan::PKCS11::AttributeType::SubPrimeBits
@ SubPrimeBits
Botan::PKCS11::AttributeType::SignRecover
@ SignRecover
Botan::PKCS11::AttributeType::OtpFormat
@ OtpFormat
Botan::PKCS11::AttributeType::Sign
@ Sign
Botan::PKCS11::AttributeType::HwFeatureType
@ HwFeatureType
Botan::PKCS11::AttributeType::MimeTypes
@ MimeTypes
Botan::PKCS11::AttributeType::HashOfSubjectPublicKey
@ HashOfSubjectPublicKey
Botan::PKCS11::AttributeType::CharSets
@ CharSets
Botan::PKCS11::AttributeType::Prime2
@ Prime2
Botan::PKCS11::AttributeType::OtpServiceLogo
@ OtpServiceLogo
Botan::PKCS11::AttributeType::Gostr3410Params
@ Gostr3410Params
Botan::PKCS11::AttributeType::Token
@ Token
Botan::PKCS11::AttributeType::Private
@ Private
Botan::PKCS11::AttributeType::Id
@ Id
Botan::PKCS11::AttributeType::StartDate
@ StartDate
Botan::PKCS11::AttributeType::Prime1
@ Prime1
Botan::PKCS11::AttributeType::Local
@ Local
Botan::PKCS11::AttributeType::Issuer
@ Issuer
Botan::PKCS11::AttributeType::EcParams
@ EcParams
Botan::PKCS11::AttributeType::NameHashAlgorithm
@ NameHashAlgorithm
Botan::PKCS11::AttributeType::Verify
@ Verify
Botan::PKCS11::AttributeType::OtpUserIdentifier
@ OtpUserIdentifier
Botan::PKCS11::AttributeType::Encrypt
@ Encrypt
Botan::PKCS11::AttributeType::Exponent1
@ Exponent1
Botan::PKCS11::AttributeType::Value
@ Value
Botan::PKCS11::AttributeType::OtpCounterRequirement
@ OtpCounterRequirement
Botan::PKCS11::AttributeType::KeyGenMechanism
@ KeyGenMechanism
Botan::PKCS11::AttributeType::HashOfIssuerPublicKey
@ HashOfIssuerPublicKey
Botan::PKCS11::AttributeType::Decrypt
@ Decrypt
Botan::PKCS11::AttributeType::OtpTime
@ OtpTime
Botan::PKCS11::AttributeType::OtpChallengeRequirement
@ OtpChallengeRequirement
Botan::PKCS11::AttributeType::AcIssuer
@ AcIssuer
Botan::PKCS11::AttributeType::EcdsaParams
@ EcdsaParams
Botan::PKCS11::AttributeType::NeverExtractable
@ NeverExtractable
Botan::PKCS11::AttributeType::OtpServiceIdentifier
@ OtpServiceIdentifier
Botan::PKCS11::AttributeType::Sensitive
@ Sensitive
Botan::PKCS11::AttributeType::Modifiable
@ Modifiable
Botan::PKCS11::AttributeType::Coefficient
@ Coefficient
Botan::PKCS11::AttributeType::Modulus
@ Modulus
Botan::PKCS11::AttributeType::Class
@ Class
Botan::PKCS11::AttributeType::EncodingMethods
@ EncodingMethods
Botan::PKCS11::AttributeType::Copyable
@ Copyable
Botan::PKCS11::AttributeType::AllowedMechanisms
@ AllowedMechanisms
Botan::PKCS11::AttributeType::Wrap
@ Wrap
Botan::PKCS11::AttributeType::SerialNumber
@ SerialNumber
Botan::PKCS11::AttributeType::OtpPinRequirement
@ OtpPinRequirement
Botan::PKCS11::AttributeType::EndDate
@ EndDate
Botan::PKCS11::AttributeType::CheckValue
@ CheckValue
Botan::PKCS11::AttributeType::CharRows
@ CharRows
Botan::PKCS11::AttributeType::PixelX
@ PixelX
Botan::PKCS11::AttributeType::EcPoint
@ EcPoint
Botan::PKCS11::AttributeType::Label
@ Label
Botan::PKCS11::AttributeType::Resolution
@ Resolution
Botan::PKCS11::AttributeType::Owner
@ Owner
Botan::PKCS11::AttributeType::BitsPerPixel
@ BitsPerPixel
Botan::PKCS11::AttributeType::OtpLength
@ OtpLength
Botan::PKCS11::AttributeType::Prime
@ Prime
Botan::PKCS11::AttributeType::Trusted
@ Trusted
Botan::PKCS11::AttributeType::ModulusBits
@ ModulusBits
Botan::PKCS11::AttributeType::WrapWithTrusted
@ WrapWithTrusted
Botan::PKCS11::AttributeType::OtpTimeRequirement
@ OtpTimeRequirement
Botan::PKCS11::AttributeType::Exponent2
@ Exponent2
Botan::PKCS11::AttributeType::Subject
@ Subject
Botan::PKCS11::AttributeType::DefaultCmsAttributes
@ DefaultCmsAttributes
Botan::PKCS11::AttributeType::Color
@ Color
Botan::PKCS11::AttributeType::AttrTypes
@ AttrTypes
Botan::PKCS11::AttributeType::Gost28147Params
@ Gost28147Params
Botan::PKCS11::AttributeType::OtpServiceLogoType
@ OtpServiceLogoType
Botan::PKCS11::AttributeType::UnwrapTemplate
@ UnwrapTemplate
Botan::PKCS11::AttributeType::AuthPinFlags
@ AuthPinFlags
Botan::PKCS11::AttributeType::Extractable
@ Extractable
Botan::PKCS11::AttributeType::ResetOnInit
@ ResetOnInit
Botan::PKCS11::AttributeType::OtpTimeInterval
@ OtpTimeInterval
Botan::PKCS11::AttributeType::OtpCounter
@ OtpCounter
Botan::PKCS11::AttributeType::Derive
@ Derive
Botan::PKCS11::AttributeType::Unwrap
@ Unwrap
Botan::PKCS11::AttributeType::DeriveTemplate
@ DeriveTemplate
Botan::PKCS11::AttributeType::Application
@ Application
Botan::PKCS11::AttributeType::OtpUserFriendlyMode
@ OtpUserFriendlyMode
Botan::PKCS11::AttributeType::RequiredCmsAttributes
@ RequiredCmsAttributes
Botan::PKCS11::AttributeType::ValueLen
@ ValueLen
Botan::PKCS11::AttributeType::VerifyRecover
@ VerifyRecover
Botan::PKCS11::AttributeType::AlwaysAuthenticate
@ AlwaysAuthenticate
Botan::PKCS11::AttributeType::VendorDefined
@ VendorDefined
Botan::PKCS11::AttributeType::Destroyable
@ Destroyable
Botan::PKCS11::AttributeType::HasReset
@ HasReset
Botan::PKCS11::CertificateType
CertificateType
Definition: p11.h:178
Botan::PKCS11::MechanismType
MechanismType
Definition: p11.h:338
Botan::PKCS11::KeyType
KeyType
Definition: p11.h:290
Botan::PKCS11::CertificateCategory
CertificateCategory
Definition: p11.h:188
CKA_NEVER_EXTRACTABLE
#define CKA_NEVER_EXTRACTABLE
Definition: pkcs11t.h:496
CKA_JAVA_MIDP_SECURITY_DOMAIN
#define CKA_JAVA_MIDP_SECURITY_DOMAIN
Definition: pkcs11t.h:452
CKA_OTP_TIME_INTERVAL
#define CKA_OTP_TIME_INTERVAL
Definition: pkcs11t.h:522
CKA_TOKEN
#define CKA_TOKEN
Definition: pkcs11t.h:438
CKA_SECONDARY_AUTH
#define CKA_SECONDARY_AUTH
Definition: pkcs11t.h:510
CKA_START_DATE
#define CKA_START_DATE
Definition: pkcs11t.h:472
CKA_OTP_SERVICE_IDENTIFIER
#define CKA_OTP_SERVICE_IDENTIFIER
Definition: pkcs11t.h:531
CKA_AUTH_PIN_FLAGS
#define CKA_AUTH_PIN_FLAGS
Definition: pkcs11t.h:511
CKA_SERIAL_NUMBER
#define CKA_SERIAL_NUMBER
Definition: pkcs11t.h:446
CKA_SUB_PRIME_BITS
#define CKA_SUB_PRIME_BITS
Definition: pkcs11t.h:490
CKA_ISSUER
#define CKA_ISSUER
Definition: pkcs11t.h:445
CKA_HASH_OF_SUBJECT_PUBLIC_KEY
#define CKA_HASH_OF_SUBJECT_PUBLIC_KEY
Definition: pkcs11t.h:454
CKA_SUPPORTED_CMS_ATTRIBUTES
#define CKA_SUPPORTED_CMS_ATTRIBUTES
Definition: pkcs11t.h:556
CKA_PRIVATE_EXPONENT
#define CKA_PRIVATE_EXPONENT
Definition: pkcs11t.h:477
CKA_RESOLUTION
#define CKA_RESOLUTION
Definition: pkcs11t.h:545
CKA_ID
#define CKA_ID
Definition: pkcs11t.h:461
CKA_OBJECT_ID
#define CKA_OBJECT_ID
Definition: pkcs11t.h:443
CKA_APPLICATION
#define CKA_APPLICATION
Definition: pkcs11t.h:441
CKA_HW_FEATURE_TYPE
#define CKA_HW_FEATURE_TYPE
Definition: pkcs11t.h:539
CKA_VERIFY_RECOVER
#define CKA_VERIFY_RECOVER
Definition: pkcs11t.h:470
CKA_PUBLIC_EXPONENT
#define CKA_PUBLIC_EXPONENT
Definition: pkcs11t.h:476
CKA_MODIFIABLE
#define CKA_MODIFIABLE
Definition: pkcs11t.h:500
CKA_OTP_TIME_REQUIREMENT
#define CKA_OTP_TIME_REQUIREMENT
Definition: pkcs11t.h:525
CKA_BITS_PER_PIXEL
#define CKA_BITS_PER_PIXEL
Definition: pkcs11t.h:549
CKA_AC_ISSUER
#define CKA_AC_ISSUER
Definition: pkcs11t.h:447
CKA_OTP_USER_IDENTIFIER
#define CKA_OTP_USER_IDENTIFIER
Definition: pkcs11t.h:530
CKA_CHECK_VALUE
#define CKA_CHECK_VALUE
Definition: pkcs11t.h:457
CKA_PUBLIC_KEY_INFO
#define CKA_PUBLIC_KEY_INFO
Definition: pkcs11t.h:483
CKA_OTP_USER_FRIENDLY_MODE
#define CKA_OTP_USER_FRIENDLY_MODE
Definition: pkcs11t.h:523
CKA_PRIME
#define CKA_PRIME
Definition: pkcs11t.h:484
CKA_MODULUS
#define CKA_MODULUS
Definition: pkcs11t.h:474
CKA_PRIVATE
#define CKA_PRIVATE
Definition: pkcs11t.h:439
CKA_PRIME_1
#define CKA_PRIME_1
Definition: pkcs11t.h:478
CKA_NAME_HASH_ALGORITHM
#define CKA_NAME_HASH_ALGORITHM
Definition: pkcs11t.h:456
CKA_OTP_SERVICE_LOGO_TYPE
#define CKA_OTP_SERVICE_LOGO_TYPE
Definition: pkcs11t.h:533
CKA_OTP_CHALLENGE_REQUIREMENT
#define CKA_OTP_CHALLENGE_REQUIREMENT
Definition: pkcs11t.h:524
CKA_OTP_FORMAT
#define CKA_OTP_FORMAT
Definition: pkcs11t.h:520
CKA_EC_POINT
#define CKA_EC_POINT
Definition: pkcs11t.h:508
CKA_SENSITIVE
#define CKA_SENSITIVE
Definition: pkcs11t.h:462
CKA_SIGN_RECOVER
#define CKA_SIGN_RECOVER
Definition: pkcs11t.h:468
CKA_EXPONENT_1
#define CKA_EXPONENT_1
Definition: pkcs11t.h:480
CKA_SIGN
#define CKA_SIGN
Definition: pkcs11t.h:467
CKA_EXPONENT_2
#define CKA_EXPONENT_2
Definition: pkcs11t.h:481
CKA_VALUE
#define CKA_VALUE
Definition: pkcs11t.h:442
CKA_URL
#define CKA_URL
Definition: pkcs11t.h:453
CKA_LOCAL
#define CKA_LOCAL
Definition: pkcs11t.h:495
CKA_ECDSA_PARAMS
#define CKA_ECDSA_PARAMS
Definition: pkcs11t.h:505
CKA_RESET_ON_INIT
#define CKA_RESET_ON_INIT
Definition: pkcs11t.h:540
CKA_VERIFY
#define CKA_VERIFY
Definition: pkcs11t.h:469
CKA_OTP_PIN_REQUIREMENT
#define CKA_OTP_PIN_REQUIREMENT
Definition: pkcs11t.h:527
CKA_ALLOWED_MECHANISMS
#define CKA_ALLOWED_MECHANISMS
Definition: pkcs11t.h:557
CKA_OTP_COUNTER_REQUIREMENT
#define CKA_OTP_COUNTER_REQUIREMENT
Definition: pkcs11t.h:526
CKA_COPYABLE
#define CKA_COPYABLE
Definition: pkcs11t.h:501
CKA_PRIME_2
#define CKA_PRIME_2
Definition: pkcs11t.h:479
CKA_COLOR
#define CKA_COLOR
Definition: pkcs11t.h:548
CKA_UNWRAP
#define CKA_UNWRAP
Definition: pkcs11t.h:466
CKA_TRUSTED
#define CKA_TRUSTED
Definition: pkcs11t.h:450
CKA_WRAP_WITH_TRUSTED
#define CKA_WRAP_WITH_TRUSTED
Definition: pkcs11t.h:515
CKA_DECRYPT
#define CKA_DECRYPT
Definition: pkcs11t.h:464
CKA_OTP_LENGTH
#define CKA_OTP_LENGTH
Definition: pkcs11t.h:521
CKA_KEY_TYPE
#define CKA_KEY_TYPE
Definition: pkcs11t.h:459
CKA_ALWAYS_AUTHENTICATE
#define CKA_ALWAYS_AUTHENTICATE
Definition: pkcs11t.h:513
CKA_VALUE_LEN
#define CKA_VALUE_LEN
Definition: pkcs11t.h:493
CKA_CHAR_ROWS
#define CKA_CHAR_ROWS
Definition: pkcs11t.h:546
CKA_GOST28147_PARAMS
#define CKA_GOST28147_PARAMS
Definition: pkcs11t.h:537
CKA_VALUE_BITS
#define CKA_VALUE_BITS
Definition: pkcs11t.h:492
CKA_COEFFICIENT
#define CKA_COEFFICIENT
Definition: pkcs11t.h:482
CKA_OWNER
#define CKA_OWNER
Definition: pkcs11t.h:448
CKA_DESTROYABLE
#define CKA_DESTROYABLE
Definition: pkcs11t.h:503
CKA_SUBPRIME
#define CKA_SUBPRIME
Definition: pkcs11t.h:485
CKA_DERIVE
#define CKA_DERIVE
Definition: pkcs11t.h:471
CKA_REQUIRED_CMS_ATTRIBUTES
#define CKA_REQUIRED_CMS_ATTRIBUTES
Definition: pkcs11t.h:554
CKA_MIME_TYPES
#define CKA_MIME_TYPES
Definition: pkcs11t.h:552
CKA_CERTIFICATE_CATEGORY
#define CKA_CERTIFICATE_CATEGORY
Definition: pkcs11t.h:451
CKA_GOSTR3410_PARAMS
#define CKA_GOSTR3410_PARAMS
Definition: pkcs11t.h:535
CKA_ALWAYS_SENSITIVE
#define CKA_ALWAYS_SENSITIVE
Definition: pkcs11t.h:497
CKA_VENDOR_DEFINED
#define CKA_VENDOR_DEFINED
Definition: pkcs11t.h:559
CKA_OTP_TIME
#define CKA_OTP_TIME
Definition: pkcs11t.h:529
CKA_END_DATE
#define CKA_END_DATE
Definition: pkcs11t.h:473
CKA_ATTR_TYPES
#define CKA_ATTR_TYPES
Definition: pkcs11t.h:449
CKA_CERTIFICATE_TYPE
#define CKA_CERTIFICATE_TYPE
Definition: pkcs11t.h:444
CKA_HASH_OF_ISSUER_PUBLIC_KEY
#define CKA_HASH_OF_ISSUER_PUBLIC_KEY
Definition: pkcs11t.h:455
CKA_MODULUS_BITS
#define CKA_MODULUS_BITS
Definition: pkcs11t.h:475
CKA_LABEL
#define CKA_LABEL
Definition: pkcs11t.h:440
CKA_EXTRACTABLE
#define CKA_EXTRACTABLE
Definition: pkcs11t.h:494
CKA_ENCODING_METHODS
#define CKA_ENCODING_METHODS
Definition: pkcs11t.h:551
CKA_ENCRYPT
#define CKA_ENCRYPT
Definition: pkcs11t.h:463
CKA_SUBPRIME_BITS
#define CKA_SUBPRIME_BITS
Definition: pkcs11t.h:489
CKA_PIXEL_X
#define CKA_PIXEL_X
Definition: pkcs11t.h:543
CKA_DEFAULT_CMS_ATTRIBUTES
#define CKA_DEFAULT_CMS_ATTRIBUTES
Definition: pkcs11t.h:555
CKA_GOSTR3411_PARAMS
#define CKA_GOSTR3411_PARAMS
Definition: pkcs11t.h:536
CKA_CHAR_COLUMNS
#define CKA_CHAR_COLUMNS
Definition: pkcs11t.h:547
CKA_UNWRAP_TEMPLATE
#define CKA_UNWRAP_TEMPLATE
Definition: pkcs11t.h:517
CKA_KEY_GEN_MECHANISM
#define CKA_KEY_GEN_MECHANISM
Definition: pkcs11t.h:498
CKA_PIXEL_Y
#define CKA_PIXEL_Y
Definition: pkcs11t.h:544
CKA_WRAP_TEMPLATE
#define CKA_WRAP_TEMPLATE
Definition: pkcs11t.h:516
CKA_PRIME_BITS
#define CKA_PRIME_BITS
Definition: pkcs11t.h:488
CKA_OTP_COUNTER
#define CKA_OTP_COUNTER
Definition: pkcs11t.h:528
CKA_CHAR_SETS
#define CKA_CHAR_SETS
Definition: pkcs11t.h:550
CKA_MECHANISM_TYPE
#define CKA_MECHANISM_TYPE
Definition: pkcs11t.h:553
CKA_BASE
#define CKA_BASE
Definition: pkcs11t.h:486
CKA_EC_PARAMS
#define CKA_EC_PARAMS
Definition: pkcs11t.h:506
CKA_WRAP
#define CKA_WRAP
Definition: pkcs11t.h:465
CKA_CLASS
#define CKA_CLASS
Definition: pkcs11t.h:437
CKA_DERIVE_TEMPLATE
#define CKA_DERIVE_TEMPLATE
Definition: pkcs11t.h:518
CKA_HAS_RESET
#define CKA_HAS_RESET
Definition: pkcs11t.h:541
CKA_OTP_SERVICE_LOGO
#define CKA_OTP_SERVICE_LOGO
Definition: pkcs11t.h:532
CKA_SUBJECT
#define CKA_SUBJECT
Definition: pkcs11t.h:460

## ◆ CertificateCategory

enum class Botan::PKCS11::CertificateCategory : CK_ULONG
| strong

Indicates if a stored certificate is a user certificate for which the corresponding private key is available on the token ("token user"), a CA certificate ("authority"), or another end-entity certificate ("other entity").

Enumerator
Unspecified |
TokenUser |
Authority |
OtherEntity |

Definition at line 187 of file p11.h.

188 {
189 Unspecified = CK_CERTIFICATE_CATEGORY_UNSPECIFIED,
190 TokenUser = CK_CERTIFICATE_CATEGORY_TOKEN_USER,
191 Authority = CK_CERTIFICATE_CATEGORY_AUTHORITY,
192 OtherEntity = CK_CERTIFICATE_CATEGORY_OTHER_ENTITY
193 };
Botan::PKCS11::CertificateCategory::OtherEntity
@ OtherEntity
Botan::PKCS11::CertificateCategory::Authority
@ Authority
Botan::PKCS11::CertificateCategory::Unspecified
@ Unspecified
Botan::PKCS11::CertificateCategory::TokenUser
@ TokenUser
CK_CERTIFICATE_CATEGORY_OTHER_ENTITY
#define CK_CERTIFICATE_CATEGORY_OTHER_ENTITY
Definition: pkcs11t.h:398
CK_CERTIFICATE_CATEGORY_TOKEN_USER
#define CK_CERTIFICATE_CATEGORY_TOKEN_USER
Definition: pkcs11t.h:396
CK_CERTIFICATE_CATEGORY_AUTHORITY
#define CK_CERTIFICATE_CATEGORY_AUTHORITY
Definition: pkcs11t.h:397
CK_CERTIFICATE_CATEGORY_UNSPECIFIED
#define CK_CERTIFICATE_CATEGORY_UNSPECIFIED
Definition: pkcs11t.h:395

## ◆ CertificateType

enum class Botan::PKCS11::CertificateType : CK_CERTIFICATE_TYPE
| strong

Enumerator
X509 |
X509AttrCert |
Wtls |
VendorDefined |

Definition at line 177 of file p11.h.

178 {
179 X509 = CKC_X_509,
180 X509AttrCert = CKC_X_509_ATTR_CERT,
181 Wtls = CKC_WTLS,
182 VendorDefined = CKC_VENDOR_DEFINED,
183 };
Botan::PKCS11::CertificateType::X509
@ X509
Botan::PKCS11::CertificateType::Wtls
@ Wtls
Botan::PKCS11::CertificateType::X509AttrCert
@ X509AttrCert
CKC_VENDOR_DEFINED
#define CKC_VENDOR_DEFINED
Definition: pkcs11t.h:410
CKC_WTLS
#define CKC_WTLS
Definition: pkcs11t.h:409
CKC_X_509
#define CKC_X_509
Definition: pkcs11t.h:407
CKC_X_509_ATTR_CERT
#define CKC_X_509_ATTR_CERT
Definition: pkcs11t.h:408

## ◆ Flag

enum class Botan::PKCS11::Flag : CK_FLAGS
| strong

Enumerator
None |
TokenPresent |
RemovableDevice |
HwSlot |
Rng |
WriteProtected |
LoginRequired |
UserPinInitialized |
RestoreKeyNotNeeded |
ClockOnToken |
ProtectedAuthenticationPath |
DualCryptoOperations |
TokenInitialized |
SecondaryAuthentication |
UserPinCountLow |
UserPinFinalTry |
UserPinLocked |
UserPinToBeChanged |
SoPinCountLow |
SoPinFinalTry |
SoPinLocked |
SoPinToBeChanged |
ErrorState |
RwSession |
SerialSession |
ArrayAttribute |
Hw |
Encrypt |
Decrypt |
Digest |
Sign |
SignRecover |
Verify |
VerifyRecover |
Generate |
GenerateKeyPair |
Wrap |
Unwrap |
Derive |
EcFP |
EcF2m |
EcEcparameters |
EcNamedcurve |
EcUncompress |
EcCompress |
Extension |
LibraryCantCreateOsThreads |
OsLockingOk |
DontBlock |
NextOtp |
ExcludeTime |
ExcludeCounter |
ExcludeChallenge |
ExcludePin |
UserFriendlyOtp |

Definition at line 208 of file p11.h.

209 {
210 None = 0,
211 TokenPresent = CKF_TOKEN_PRESENT,
212 RemovableDevice = CKF_REMOVABLE_DEVICE,
213 HwSlot = CKF_HW_SLOT,
214 Rng = CKF_RNG,
215 WriteProtected = CKF_WRITE_PROTECTED,
216 LoginRequired = CKF_LOGIN_REQUIRED,
217 UserPinInitialized = CKF_USER_PIN_INITIALIZED,
218 RestoreKeyNotNeeded = CKF_RESTORE_KEY_NOT_NEEDED,
219 ClockOnToken = CKF_CLOCK_ON_TOKEN,
220 ProtectedAuthenticationPath = CKF_PROTECTED_AUTHENTICATION_PATH,
221 DualCryptoOperations = CKF_DUAL_CRYPTO_OPERATIONS,
222 TokenInitialized = CKF_TOKEN_INITIALIZED,
223 SecondaryAuthentication = CKF_SECONDARY_AUTHENTICATION,
224 UserPinCountLow = CKF_USER_PIN_COUNT_LOW,
225 UserPinFinalTry = CKF_USER_PIN_FINAL_TRY,
226 UserPinLocked = CKF_USER_PIN_LOCKED,
227 UserPinToBeChanged = CKF_USER_PIN_TO_BE_CHANGED,
228 SoPinCountLow = CKF_SO_PIN_COUNT_LOW,
229 SoPinFinalTry = CKF_SO_PIN_FINAL_TRY,
230 SoPinLocked = CKF_SO_PIN_LOCKED,
231 SoPinToBeChanged = CKF_SO_PIN_TO_BE_CHANGED,
232 ErrorState = CKF_ERROR_STATE,
233 RwSession = CKF_RW_SESSION,
234 SerialSession = CKF_SERIAL_SESSION,
235 ArrayAttribute = CKF_ARRAY_ATTRIBUTE,
236 Hw = CKF_HW,
237 Encrypt = CKF_ENCRYPT,
238 Decrypt = CKF_DECRYPT,
239 Digest = CKF_DIGEST,
240 Sign = CKF_SIGN,
241 SignRecover = CKF_SIGN_RECOVER,
242 Verify = CKF_VERIFY,
243 VerifyRecover = CKF_VERIFY_RECOVER,
244 Generate = CKF_GENERATE,
245 GenerateKeyPair = CKF_GENERATE_KEY_PAIR,
246 Wrap = CKF_WRAP,
247 Unwrap = CKF_UNWRAP,
248 Derive = CKF_DERIVE,
249 EcFP = CKF_EC_F_P,
250 EcF2m = CKF_EC_F_2M,
251 EcEcparameters = CKF_EC_ECPARAMETERS,
252 EcNamedcurve = CKF_EC_NAMEDCURVE,
253 EcUncompress = CKF_EC_UNCOMPRESS,
254 EcCompress = CKF_EC_COMPRESS,
255 Extension = CKF_EXTENSION,
256 LibraryCantCreateOsThreads = CKF_LIBRARY_CANT_CREATE_OS_THREADS,
257 OsLockingOk = CKF_OS_LOCKING_OK,
258 DontBlock = CKF_DONT_BLOCK,
259 NextOtp = CKF_NEXT_OTP,
260 ExcludeTime = CKF_EXCLUDE_TIME,
261 ExcludeCounter = CKF_EXCLUDE_COUNTER,
262 ExcludeChallenge = CKF_EXCLUDE_CHALLENGE,
263 ExcludePin = CKF_EXCLUDE_PIN,
264 UserFriendlyOtp = CKF_USER_FRIENDLY_OTP,
265 };
Botan::PKCS11::Flag::TokenPresent
@ TokenPresent
Botan::PKCS11::Flag::TokenInitialized
@ TokenInitialized
Botan::PKCS11::Flag::EcEcparameters
@ EcEcparameters
Botan::PKCS11::Flag::ClockOnToken
@ ClockOnToken
Botan::PKCS11::Flag::ExcludeChallenge
@ ExcludeChallenge
Botan::PKCS11::Flag::WriteProtected
@ WriteProtected
Botan::PKCS11::Flag::SoPinCountLow
@ SoPinCountLow
Botan::PKCS11::Flag::ExcludePin
@ ExcludePin
Botan::PKCS11::Flag::EcFP
@ EcFP
Botan::PKCS11::Flag::UserPinLocked
@ UserPinLocked
Botan::PKCS11::Flag::LibraryCantCreateOsThreads
@ LibraryCantCreateOsThreads
Botan::PKCS11::Flag::UserFriendlyOtp
@ UserFriendlyOtp
Botan::PKCS11::Flag::GenerateKeyPair
@ GenerateKeyPair
Botan::PKCS11::Flag::Generate
@ Generate
Botan::PKCS11::Flag::SoPinToBeChanged
@ SoPinToBeChanged
Botan::PKCS11::Flag::EcCompress
@ EcCompress
Botan::PKCS11::Flag::UserPinInitialized
@ UserPinInitialized
Botan::PKCS11::Flag::UserPinCountLow
@ UserPinCountLow
Botan::PKCS11::Flag::SerialSession
@ SerialSession
Botan::PKCS11::Flag::ArrayAttribute
@ ArrayAttribute
Botan::PKCS11::Flag::EcF2m
@ EcF2m
Botan::PKCS11::Flag::Extension
@ Extension
Botan::PKCS11::Flag::ExcludeCounter
@ ExcludeCounter
Botan::PKCS11::Flag::ProtectedAuthenticationPath
@ ProtectedAuthenticationPath
Botan::PKCS11::Flag::None
@ None
Botan::PKCS11::Flag::UserPinFinalTry
@ UserPinFinalTry
Botan::PKCS11::Flag::Rng
@ Rng
Botan::PKCS11::Flag::NextOtp
@ NextOtp
Botan::PKCS11::Flag::SoPinLocked
@ SoPinLocked
Botan::PKCS11::Flag::ExcludeTime
@ ExcludeTime
Botan::PKCS11::Flag::ErrorState
@ ErrorState
Botan::PKCS11::Flag::Hw
@ Hw
Botan::PKCS11::Flag::RwSession
@ RwSession
Botan::PKCS11::Flag::EcUncompress
@ EcUncompress
Botan::PKCS11::Flag::RestoreKeyNotNeeded
@ RestoreKeyNotNeeded
Botan::PKCS11::Flag::DontBlock
@ DontBlock
Botan::PKCS11::Flag::SoPinFinalTry
@ SoPinFinalTry
Botan::PKCS11::Flag::RemovableDevice
@ RemovableDevice
Botan::PKCS11::Flag::Digest
@ Digest
Botan::PKCS11::Flag::EcNamedcurve
@ EcNamedcurve
Botan::PKCS11::Flag::SecondaryAuthentication
@ SecondaryAuthentication
Botan::PKCS11::Flag::UserPinToBeChanged
@ UserPinToBeChanged
Botan::PKCS11::Flag::LoginRequired
@ LoginRequired
Botan::PKCS11::Flag::HwSlot
@ HwSlot
Botan::PKCS11::Flag::OsLockingOk
@ OsLockingOk
Botan::PKCS11::Flag::DualCryptoOperations
@ DualCryptoOperations
CKF_LOGIN_REQUIRED
#define CKF_LOGIN_REQUIRED
Definition: pkcs11t.h:157
CKF_HW_SLOT
#define CKF_HW_SLOT
Definition: pkcs11t.h:124
CKF_EC_UNCOMPRESS
#define CKF_EC_UNCOMPRESS
Definition: pkcs11t.h:1026
CKF_LIBRARY_CANT_CREATE_OS_THREADS
#define CKF_LIBRARY_CANT_CREATE_OS_THREADS
Definition: pkcs11t.h:1225
CKF_PROTECTED_AUTHENTICATION_PATH
#define CKF_PROTECTED_AUTHENTICATION_PATH
Definition: pkcs11t.h:177
CKF_TOKEN_INITIALIZED
#define CKF_TOKEN_INITIALIZED
Definition: pkcs11t.h:193
CKF_DIGEST
#define CKF_DIGEST
Definition: pkcs11t.h:1008
CKF_USER_PIN_FINAL_TRY
#define CKF_USER_PIN_FINAL_TRY
Definition: pkcs11t.h:210
CKF_DERIVE
#define CKF_DERIVE
Definition: pkcs11t.h:1017
CKF_VERIFY
#define CKF_VERIFY
Definition: pkcs11t.h:1011
CKF_EC_F_2M
#define CKF_EC_F_2M
Definition: pkcs11t.h:1023
CKF_USER_PIN_INITIALIZED
#define CKF_USER_PIN_INITIALIZED
Definition: pkcs11t.h:158
CKF_RW_SESSION
#define CKF_RW_SESSION
Definition: pkcs11t.h:289
CKF_WRAP
#define CKF_WRAP
Definition: pkcs11t.h:1015
CKF_EXTENSION
#define CKF_EXTENSION
Definition: pkcs11t.h:1029
CKF_EC_F_P
#define CKF_EC_F_P
Definition: pkcs11t.h:1022
CKF_GENERATE_KEY_PAIR
#define CKF_GENERATE_KEY_PAIR
Definition: pkcs11t.h:1014
CKF_SIGN_RECOVER
#define CKF_SIGN_RECOVER
Definition: pkcs11t.h:1010
CKF_REMOVABLE_DEVICE
#define CKF_REMOVABLE_DEVICE
Definition: pkcs11t.h:123
CKF_SECONDARY_AUTHENTICATION
#define CKF_SECONDARY_AUTHENTICATION
Definition: pkcs11t.h:199
CKF_USER_FRIENDLY_OTP
#define CKF_USER_FRIENDLY_OTP
Definition: pkcs11t.h:1814
CKF_USER_PIN_COUNT_LOW
#define CKF_USER_PIN_COUNT_LOW
Definition: pkcs11t.h:205
CKF_EXCLUDE_COUNTER
#define CKF_EXCLUDE_COUNTER
Definition: pkcs11t.h:1811
CKF_ENCRYPT
#define CKF_ENCRYPT
Definition: pkcs11t.h:1006
CKF_OS_LOCKING_OK
#define CKF_OS_LOCKING_OK
Definition: pkcs11t.h:1226
CKF_EC_ECPARAMETERS
#define CKF_EC_ECPARAMETERS
Definition: pkcs11t.h:1024
CKF_SERIAL_SESSION
#define CKF_SERIAL_SESSION
Definition: pkcs11t.h:290
CKF_DUAL_CRYPTO_OPERATIONS
#define CKF_DUAL_CRYPTO_OPERATIONS
Definition: pkcs11t.h:185
CKF_SO_PIN_TO_BE_CHANGED
#define CKF_SO_PIN_TO_BE_CHANGED
Definition: pkcs11t.h:246
CKF_ARRAY_ATTRIBUTE
#define CKF_ARRAY_ATTRIBUTE
Definition: pkcs11t.h:421
CKF_EXCLUDE_CHALLENGE
#define CKF_EXCLUDE_CHALLENGE
Definition: pkcs11t.h:1812
CKF_RNG
#define CKF_RNG
Definition: pkcs11t.h:155
CKF_SIGN
#define CKF_SIGN
Definition: pkcs11t.h:1009
CKF_GENERATE
#define CKF_GENERATE
Definition: pkcs11t.h:1013
CKF_SO_PIN_FINAL_TRY
#define CKF_SO_PIN_FINAL_TRY
Definition: pkcs11t.h:234
CKF_EXCLUDE_PIN
#define CKF_EXCLUDE_PIN
Definition: pkcs11t.h:1813
CKF_RESTORE_KEY_NOT_NEEDED
#define CKF_RESTORE_KEY_NOT_NEEDED
Definition: pkcs11t.h:165
CKF_UNWRAP
#define CKF_UNWRAP
Definition: pkcs11t.h:1016
CKF_USER_PIN_TO_BE_CHANGED
#define CKF_USER_PIN_TO_BE_CHANGED
Definition: pkcs11t.h:223
CKF_SO_PIN_LOCKED
#define CKF_SO_PIN_LOCKED
Definition: pkcs11t.h:239
CKF_DECRYPT
#define CKF_DECRYPT
Definition: pkcs11t.h:1007
CKF_EC_COMPRESS
#define CKF_EC_COMPRESS
Definition: pkcs11t.h:1027
CKF_SO_PIN_COUNT_LOW
#define CKF_SO_PIN_COUNT_LOW
Definition: pkcs11t.h:229
CKF_USER_PIN_LOCKED
#define CKF_USER_PIN_LOCKED
Definition: pkcs11t.h:216
CKF_TOKEN_PRESENT
#define CKF_TOKEN_PRESENT
Definition: pkcs11t.h:122
CKF_HW
#define CKF_HW
Definition: pkcs11t.h:1003
CKF_EXCLUDE_TIME
#define CKF_EXCLUDE_TIME
Definition: pkcs11t.h:1810
CKF_VERIFY_RECOVER
#define CKF_VERIFY_RECOVER
Definition: pkcs11t.h:1012
CKF_CLOCK_ON_TOKEN
#define CKF_CLOCK_ON_TOKEN
Definition: pkcs11t.h:171
CKF_ERROR_STATE
#define CKF_ERROR_STATE
Definition: pkcs11t.h:248
CKF_WRITE_PROTECTED
#define CKF_WRITE_PROTECTED
Definition: pkcs11t.h:156
CKF_EC_NAMEDCURVE
#define CKF_EC_NAMEDCURVE
Definition: pkcs11t.h:1025
CKF_NEXT_OTP
#define CKF_NEXT_OTP
Definition: pkcs11t.h:1809
CKF_DONT_BLOCK
#define CKF_DONT_BLOCK
Definition: pkcs11t.h:1234

## ◆ HardwareType

enum class Botan::PKCS11::HardwareType : CK_HW_FEATURE_TYPE
| strong

Enumerator
MonotonicCounter |
Clock |
UserInterface |
VendorDefined |

Definition at line 281 of file p11.h.

282 {
283 MonotonicCounter = CKH_MONOTONIC_COUNTER,
284 Clock = CKH_CLOCK,
285 UserInterface = CKH_USER_INTERFACE,
286 VendorDefined = CKH_VENDOR_DEFINED,
287 };
Botan::PKCS11::HardwareType::MonotonicCounter
@ MonotonicCounter
Botan::PKCS11::HardwareType::Clock
@ Clock
Botan::PKCS11::HardwareType::UserInterface
@ UserInterface
CKH_MONOTONIC_COUNTER
#define CKH_MONOTONIC_COUNTER
Definition: pkcs11t.h:330
CKH_CLOCK
#define CKH_CLOCK
Definition: pkcs11t.h:331
CKH_VENDOR_DEFINED
#define CKH_VENDOR_DEFINED
Definition: pkcs11t.h:333
CKH_USER_INTERFACE
#define CKH_USER_INTERFACE
Definition: pkcs11t.h:332

## ◆ KeyDerivation

enum class Botan::PKCS11::KeyDerivation : CK_ULONG
| strong

Enumerator
Null |
Sha1Kdf |
Sha1KdfAsn1 |
Sha1KdfConcatenate |
Sha224Kdf |
Sha256Kdf |
Sha384Kdf |
Sha512Kdf |
CpdiversifyKdf |

Definition at line 195 of file p11.h.

196 {
197 Null = CKD_NULL,
198 Sha1Kdf = CKD_SHA1_KDF,
199 Sha1KdfAsn1 = CKD_SHA1_KDF_ASN1,
200 Sha1KdfConcatenate = CKD_SHA1_KDF_CONCATENATE,
201 Sha224Kdf = CKD_SHA224_KDF,
202 Sha256Kdf = CKD_SHA256_KDF,
203 Sha384Kdf = CKD_SHA384_KDF,
204 Sha512Kdf = CKD_SHA512_KDF,
205 CpdiversifyKdf = CKD_CPDIVERSIFY_KDF,
206 };
Botan::PKCS11::KeyDerivation::CpdiversifyKdf
@ CpdiversifyKdf
Botan::PKCS11::KeyDerivation::Sha512Kdf
@ Sha512Kdf
Botan::PKCS11::KeyDerivation::Sha224Kdf
@ Sha224Kdf
Botan::PKCS11::KeyDerivation::Sha1KdfAsn1
@ Sha1KdfAsn1
Botan::PKCS11::KeyDerivation::Sha1Kdf
@ Sha1Kdf
Botan::PKCS11::KeyDerivation::Sha256Kdf
@ Sha256Kdf
Botan::PKCS11::KeyDerivation::Sha384Kdf
@ Sha384Kdf
Botan::PKCS11::KeyDerivation::Null
@ Null
Botan::PKCS11::KeyDerivation::Sha1KdfConcatenate
@ Sha1KdfConcatenate
CKD_NULL
#define CKD_NULL
Definition: pkcs11t.h:1290
CKD_SHA1_KDF
#define CKD_SHA1_KDF
Definition: pkcs11t.h:1291
CKD_SHA256_KDF
#define CKD_SHA256_KDF
Definition: pkcs11t.h:1297
CKD_SHA512_KDF
#define CKD_SHA512_KDF
Definition: pkcs11t.h:1299
CKD_SHA1_KDF_ASN1
#define CKD_SHA1_KDF_ASN1
Definition: pkcs11t.h:1294
CKD_CPDIVERSIFY_KDF
#define CKD_CPDIVERSIFY_KDF
Definition: pkcs11t.h:1300
CKD_SHA384_KDF
#define CKD_SHA384_KDF
Definition: pkcs11t.h:1298
CKD_SHA1_KDF_CONCATENATE
#define CKD_SHA1_KDF_CONCATENATE
Definition: pkcs11t.h:1295
CKD_SHA224_KDF
#define CKD_SHA224_KDF
Definition: pkcs11t.h:1296

## ◆ KeyType

enum class Botan::PKCS11::KeyType : CK_KEY_TYPE
| strong

Enumerator
Rsa |
Dsa |
Dh |
Ecdsa |
Ec |
X942Dh |
Kea |
GenericSecret |
Rc2 |
Rc4 |
Des |
Des2 |
Des3 |
Cast |
Cast3 |
Cast5 |
Cast128 |
Rc5 |
Idea |
Skipjack |
Baton |
Juniper |
Cdmf |
Aes |
Blowfish |
Twofish |
Securid |
Hotp |
Acti |
Camellia |
Aria |
Md5Hmac |
Sha1Hmac |
Ripemd128Hmac |
Ripemd160Hmac |
Sha256Hmac |
Sha384Hmac |
Sha512Hmac |
Sha224Hmac |
Seed |
Gostr3410 |
Gostr3411 |
Gost28147 |
VendorDefined |

Definition at line 289 of file p11.h.

290 {
291 Rsa = CKK_RSA,
292 Dsa = CKK_DSA,
293 Dh = CKK_DH,
294 Ecdsa = CKK_ECDSA,
295 Ec = CKK_EC,
296 X942Dh = CKK_X9_42_DH,
297 Kea = CKK_KEA,
298 GenericSecret = CKK_GENERIC_SECRET,
299 Rc2 = CKK_RC2,
300 Rc4 = CKK_RC4,
301 Des = CKK_DES,
302 Des2 = CKK_DES2,
303 Des3 = CKK_DES3,
304 Cast = CKK_CAST,
305 Cast3 = CKK_CAST3,
306 Cast5 = CKK_CAST5,
307 Cast128 = CKK_CAST128,
308 Rc5 = CKK_RC5,
309 Idea = CKK_IDEA,
310 Skipjack = CKK_SKIPJACK,
311 Baton = CKK_BATON,
312 Juniper = CKK_JUNIPER,
313 Cdmf = CKK_CDMF,
314 Aes = CKK_AES,
315 Blowfish = CKK_BLOWFISH,
316 Twofish = CKK_TWOFISH,
317 Securid = CKK_SECURID,
318 Hotp = CKK_HOTP,
319 Acti = CKK_ACTI,
320 Camellia = CKK_CAMELLIA,
321 Aria = CKK_ARIA,
322 Md5Hmac = CKK_MD5_HMAC,
323 Sha1Hmac = CKK_SHA_1_HMAC,
324 Ripemd128Hmac = CKK_RIPEMD128_HMAC,
325 Ripemd160Hmac = CKK_RIPEMD160_HMAC,
326 Sha256Hmac = CKK_SHA256_HMAC,
327 Sha384Hmac = CKK_SHA384_HMAC,
328 Sha512Hmac = CKK_SHA512_HMAC,
329 Sha224Hmac = CKK_SHA224_HMAC,
330 Seed = CKK_SEED,
331 Gostr3410 = CKK_GOSTR3410,
332 Gostr3411 = CKK_GOSTR3411,
333 Gost28147 = CKK_GOST28147,
334 VendorDefined = CKK_VENDOR_DEFINED,
335 };
Botan::Blowfish
Definition: blowfish.h:21
Botan::Twofish
Definition: twofish.h:21
Botan::PKCS11::KeyType::Sha1Hmac
@ Sha1Hmac
Botan::PKCS11::KeyType::Sha384Hmac
@ Sha384Hmac
Botan::PKCS11::KeyType::Idea
@ Idea
Botan::PKCS11::KeyType::Ripemd160Hmac
@ Ripemd160Hmac
Botan::PKCS11::KeyType::Md5Hmac
@ Md5Hmac
Botan::PKCS11::KeyType::Sha512Hmac
@ Sha512Hmac
Botan::PKCS11::KeyType::Des2
@ Des2
Botan::PKCS11::KeyType::GenericSecret
@ GenericSecret
Botan::PKCS11::KeyType::Ec
@ Ec
Botan::PKCS11::KeyType::Aes
@ Aes
Botan::PKCS11::KeyType::Kea
@ Kea
Botan::PKCS11::KeyType::Dh
@ Dh
Botan::PKCS11::KeyType::Cast
@ Cast
Botan::PKCS11::KeyType::Rc5
@ Rc5
Botan::PKCS11::KeyType::Sha224Hmac
@ Sha224Hmac
Botan::PKCS11::KeyType::Acti
@ Acti
Botan::PKCS11::KeyType::Ripemd128Hmac
@ Ripemd128Hmac
Botan::PKCS11::KeyType::Dsa
@ Dsa
Botan::PKCS11::KeyType::Ecdsa
@ Ecdsa
Botan::PKCS11::KeyType::Camellia
@ Camellia
Botan::PKCS11::KeyType::Hotp
@ Hotp
Botan::PKCS11::KeyType::Securid
@ Securid
Botan::PKCS11::KeyType::Gost28147
@ Gost28147
Botan::PKCS11::KeyType::Aria
@ Aria
Botan::PKCS11::KeyType::Rc4
@ Rc4
Botan::PKCS11::KeyType::Rc2
@ Rc2
Botan::PKCS11::KeyType::Skipjack
@ Skipjack
Botan::PKCS11::KeyType::Juniper
@ Juniper
Botan::PKCS11::KeyType::Rsa
@ Rsa
Botan::PKCS11::KeyType::Cast128
@ Cast128
Botan::PKCS11::KeyType::Sha256Hmac
@ Sha256Hmac
Botan::PKCS11::KeyType::Baton
@ Baton
Botan::PKCS11::KeyType::Seed
@ Seed
Botan::PKCS11::KeyType::X942Dh
@ X942Dh
Botan::PKCS11::KeyType::Gostr3411
@ Gostr3411
Botan::PKCS11::KeyType::Cast5
@ Cast5
Botan::PKCS11::KeyType::Des3
@ Des3
Botan::PKCS11::KeyType::Cdmf
@ Cdmf
Botan::PKCS11::KeyType::Gostr3410
@ Gostr3410
Botan::PKCS11::KeyType::Des
@ Des
Botan::PKCS11::KeyType::Cast3
@ Cast3
CKK_DES3
#define CKK_DES3
Definition: pkcs11t.h:351
CKK_RC4
#define CKK_RC4
Definition: pkcs11t.h:348
CKK_SHA224_HMAC
#define CKK_SHA224_HMAC
Definition: pkcs11t.h:378
CKK_DH
#define CKK_DH
Definition: pkcs11t.h:341
CKK_RC5
#define CKK_RC5
Definition: pkcs11t.h:356
CKK_DES2
#define CKK_DES2
Definition: pkcs11t.h:350
CKK_SHA256_HMAC
#define CKK_SHA256_HMAC
Definition: pkcs11t.h:375
CKK_CAST128
#define CKK_CAST128
Definition: pkcs11t.h:355
CKK_CAST5
#define CKK_CAST5
Definition: pkcs11t.h:354
CKK_RSA
#define CKK_RSA
Definition: pkcs11t.h:339
CKK_CAMELLIA
#define CKK_CAMELLIA
Definition: pkcs11t.h:368
CKK_SEED
#define CKK_SEED
Definition: pkcs11t.h:380
CKK_KEA
#define CKK_KEA
Definition: pkcs11t.h:345
CKK_BLOWFISH
#define CKK_BLOWFISH
Definition: pkcs11t.h:363
CKK_DES
#define CKK_DES
Definition: pkcs11t.h:349
CKK_ACTI
#define CKK_ACTI
Definition: pkcs11t.h:367
CKK_RIPEMD160_HMAC
#define CKK_RIPEMD160_HMAC
Definition: pkcs11t.h:374
CKK_JUNIPER
#define CKK_JUNIPER
Definition: pkcs11t.h:360
CKK_IDEA
#define CKK_IDEA
Definition: pkcs11t.h:357
CKK_DSA
#define CKK_DSA
Definition: pkcs11t.h:340
CKK_BATON
#define CKK_BATON
Definition: pkcs11t.h:359
CKK_GOSTR3410
#define CKK_GOSTR3410
Definition: pkcs11t.h:381
CKK_GOSTR3411
#define CKK_GOSTR3411
Definition: pkcs11t.h:382
CKK_CAST
#define CKK_CAST
Definition: pkcs11t.h:352
CKK_RC2
#define CKK_RC2
Definition: pkcs11t.h:347
CKK_SHA384_HMAC
#define CKK_SHA384_HMAC
Definition: pkcs11t.h:376
CKK_RIPEMD128_HMAC
#define CKK_RIPEMD128_HMAC
Definition: pkcs11t.h:373
CKK_GENERIC_SECRET
#define CKK_GENERIC_SECRET
Definition: pkcs11t.h:346
CKK_CAST3
#define CKK_CAST3
Definition: pkcs11t.h:353
CKK_SKIPJACK
#define CKK_SKIPJACK
Definition: pkcs11t.h:358
CKK_VENDOR_DEFINED
#define CKK_VENDOR_DEFINED
Definition: pkcs11t.h:387
CKK_HOTP
#define CKK_HOTP
Definition: pkcs11t.h:366
CKK_SECURID
#define CKK_SECURID
Definition: pkcs11t.h:365
CKK_CDMF
#define CKK_CDMF
Definition: pkcs11t.h:361
CKK_ECDSA
#define CKK_ECDSA
Definition: pkcs11t.h:342
CKK_GOST28147
#define CKK_GOST28147
Definition: pkcs11t.h:383
CKK_TWOFISH
#define CKK_TWOFISH
Definition: pkcs11t.h:364
CKK_EC
#define CKK_EC
Definition: pkcs11t.h:343
CKK_ARIA
#define CKK_ARIA
Definition: pkcs11t.h:369
CKK_MD5_HMAC
#define CKK_MD5_HMAC
Definition: pkcs11t.h:371
CKK_SHA_1_HMAC
#define CKK_SHA_1_HMAC
Definition: pkcs11t.h:372
CKK_AES
#define CKK_AES
Definition: pkcs11t.h:362
CKK_X9_42_DH
#define CKK_X9_42_DH
Definition: pkcs11t.h:344
CKK_SHA512_HMAC
#define CKK_SHA512_HMAC
Definition: pkcs11t.h:377

## ◆ MechanismType

enum class Botan::PKCS11::MechanismType : CK_MECHANISM_TYPE
| strong

Enumerator
RsaPkcsKeyPairGen |
RsaPkcs |
Rsa9796 |
RsaX509 |
Md2RsaPkcs |
Md5RsaPkcs |
Sha1RsaPkcs |
Ripemd128RsaPkcs |
Ripemd160RsaPkcs |
RsaPkcsOaep |
RsaX931KeyPairGen |
RsaX931 |
Sha1RsaX931 |
RsaPkcsPss |
Sha1RsaPkcsPss |
DsaKeyPairGen |
Dsa |
DsaSha1 |
DsaSha224 |
DsaSha256 |
DsaSha384 |
DsaSha512 |
DhPkcsKeyPairGen |
DhPkcsDerive |
X942DhKeyPairGen |
X942DhDerive |
X942DhHybridDerive |
X942MqvDerive |
Sha256RsaPkcs |
Sha384RsaPkcs |
Sha512RsaPkcs |
Sha256RsaPkcsPss |
Sha384RsaPkcsPss |
Sha512RsaPkcsPss |
Sha224RsaPkcs |
Sha224RsaPkcsPss |
Sha512224 |
Sha512224Hmac |
Sha512224HmacGeneral |
Sha512224KeyDerivation |
Sha512256 |
Sha512256Hmac |
Sha512256HmacGeneral |
Sha512256KeyDerivation |
Sha512T |
Sha512THmac |
Sha512THmacGeneral |
Sha512TKeyDerivation |
Rc2KeyGen |
Rc2Ecb |
Rc2Cbc |
Rc2Mac |
Rc2MacGeneral |
Rc2CbcPad |
Rc4KeyGen |
Rc4 |
DesKeyGen |
DesEcb |
DesCbc |
DesMac |
DesMacGeneral |
DesCbcPad |
Des2KeyGen |
Des3KeyGen |
Des3Ecb |
Des3Cbc |
Des3Mac |
Des3MacGeneral |
Des3CbcPad |
Des3CmacGeneral |
Des3Cmac |
CdmfKeyGen |
CdmfEcb |
CdmfCbc |
CdmfMac |
CdmfMacGeneral |
CdmfCbcPad |
DesOfb64 |
DesOfb8 |
DesCfb64 |
DesCfb8 |
Md2 |
Md2Hmac |
Md2HmacGeneral |
Md5 |
Md5Hmac |
Md5HmacGeneral |
Sha1 |
Sha1Hmac |
Sha1HmacGeneral |
Ripemd128 |
Ripemd128Hmac |
Ripemd128HmacGeneral |
Ripemd160 |
Ripemd160Hmac |
Ripemd160HmacGeneral |
Sha256 |
Sha256Hmac |
Sha256HmacGeneral |
Sha224 |
Sha224Hmac |
Sha224HmacGeneral |
Sha384 |
Sha384Hmac |
Sha384HmacGeneral |
Sha512 |
Sha512Hmac |
Sha512HmacGeneral |
SecuridKeyGen |
Securid |
HotpKeyGen |
Hotp |
Acti |
ActiKeyGen |
CastKeyGen |
CastEcb |
CastCbc |
CastMac |
CastMacGeneral |
CastCbcPad |
Cast3KeyGen |
Cast3Ecb |
Cast3Cbc |
Cast3Mac |
Cast3MacGeneral |
Cast3CbcPad |
Cast5KeyGen |
Cast128KeyGen |
Cast5Ecb |
Cast128Ecb |
Cast5Cbc |
Cast128Cbc |
Cast5Mac |
Cast128Mac |
Cast5MacGeneral |
Cast128MacGeneral |
Cast5CbcPad |
Cast128CbcPad |
Rc5KeyGen |
Rc5Ecb |
Rc5Cbc |
Rc5Mac |
Rc5MacGeneral |
Rc5CbcPad |
IdeaKeyGen |
IdeaEcb |
IdeaCbc |
IdeaMac |
IdeaMacGeneral |
IdeaCbcPad |
GenericSecretKeyGen |
ConcatenateBaseAndKey |
ConcatenateBaseAndData |
ConcatenateDataAndBase |
XorBaseAndData |
ExtractKeyFromKey |
Ssl3PreMasterKeyGen |
Ssl3MasterKeyDerive |
Ssl3KeyAndMacDerive |
Ssl3MasterKeyDeriveDh |
TlsPreMasterKeyGen |
TlsMasterKeyDerive |
TlsKeyAndMacDerive |
TlsMasterKeyDeriveDh |
TlsPrf |
Ssl3Md5Mac |
Ssl3Sha1Mac |
Md5KeyDerivation |
Md2KeyDerivation |
Sha1KeyDerivation |
Sha256KeyDerivation |
Sha384KeyDerivation |
Sha512KeyDerivation |
Sha224KeyDerivation |
PbeMd2DesCbc |
PbeMd5DesCbc |
PbeMd5CastCbc |
PbeMd5Cast3Cbc |
PbeMd5Cast5Cbc |
PbeMd5Cast128Cbc |
PbeSha1Cast5Cbc |
PbeSha1Cast128Cbc |
PbeSha1Rc4128 |
PbeSha1Rc440 |
PbeSha1Des3EdeCbc |
PbeSha1Des2EdeCbc |
PbeSha1Rc2128Cbc |
PbeSha1Rc240Cbc |
Pkcs5Pbkd2 |
PbaSha1WithSha1Hmac |
WtlsPreMasterKeyGen |
WtlsMasterKeyDerive |
WtlsMasterKeyDeriveDhEcc |
WtlsPrf |
WtlsServerKeyAndMacDerive |
WtlsClientKeyAndMacDerive |
Tls10MacServer |
Tls10MacClient |
Tls12Mac |
Tls12Kdf |
Tls12MasterKeyDerive |
Tls12KeyAndMacDerive |
Tls12MasterKeyDeriveDh |
Tls12KeySafeDerive |
TlsMac |
TlsKdf |
KeyWrapLynks |
KeyWrapSetOaep |
CmsSig |
KipDerive |
KipWrap |
KipMac |
CamelliaKeyGen |
CamelliaEcb |
CamelliaCbc |
CamelliaMac |
CamelliaMacGeneral |
CamelliaCbcPad |
CamelliaEcbEncryptData |
CamelliaCbcEncryptData |
CamelliaCtr |
AriaKeyGen |
AriaEcb |
AriaCbc |
AriaMac |
AriaMacGeneral |
AriaCbcPad |
AriaEcbEncryptData |
AriaCbcEncryptData |
SeedKeyGen |
SeedEcb |
SeedCbc |
SeedMac |
SeedMacGeneral |
SeedCbcPad |
SeedEcbEncryptData |
SeedCbcEncryptData |
SkipjackKeyGen |
SkipjackEcb64 |
SkipjackCbc64 |
SkipjackOfb64 |
SkipjackCfb64 |
SkipjackCfb32 |
SkipjackCfb16 |
SkipjackCfb8 |
SkipjackWrap |
SkipjackPrivateWrap |
SkipjackRelayx |
KeaKeyPairGen |
KeaKeyDerive |
KeaDerive |
FortezzaTimestamp |
BatonKeyGen |
BatonEcb128 |
BatonEcb96 |
BatonCbc128 |
BatonCounter |
BatonShuffle |
BatonWrap |
EcdsaKeyPairGen |
EcKeyPairGen |
Ecdsa |
EcdsaSha1 |
EcdsaSha224 |
EcdsaSha256 |
EcdsaSha384 |
EcdsaSha512 |
Ecdh1Derive |
Ecdh1CofactorDerive |
EcmqvDerive |
EcdhAesKeyWrap |
RsaAesKeyWrap |
JuniperKeyGen |
JuniperEcb128 |
JuniperCbc128 |
JuniperCounter |
JuniperShuffle |
JuniperWrap |
Fasthash |
AesKeyGen |
AesEcb |
AesCbc |
AesMac |
AesMacGeneral |
AesCbcPad |
AesCtr |
AesGcm |
AesCcm |
AesCts |
AesCmac |
AesCmacGeneral |
AesXcbcMac |
AesXcbcMac96 |
AesGmac |
BlowfishKeyGen |
BlowfishCbc |
TwofishKeyGen |
TwofishCbc |
BlowfishCbcPad |
TwofishCbcPad |
DesEcbEncryptData |
DesCbcEncryptData |
Des3EcbEncryptData |
Des3CbcEncryptData |
AesEcbEncryptData |
AesCbcEncryptData |
Gostr3410KeyPairGen |
Gostr3410 |
Gostr3410WithGostr3411 |
Gostr3410KeyWrap |
Gostr3410Derive |
Gostr3411 |
Gostr3411Hmac |
Gost28147KeyGen |
Gost28147Ecb |
Gost28147 |
Gost28147Mac |
Gost28147KeyWrap |
DsaParameterGen |
DhPkcsParameterGen |
X942DhParameterGen |
DsaProbablisticParameterGen |
DsaShaweTaylorParameterGen |
AesOfb |
AesCfb64 |
AesCfb8 |
AesCfb128 |
AesCfb1 |
AesKeyWrap |
AesKeyWrapPad |
RsaPkcsTpm11 |
RsaPkcsOaepTpm11 |
VendorDefined |

Definition at line 337 of file p11.h.

338 {
339 RsaPkcsKeyPairGen = CKM_RSA_PKCS_KEY_PAIR_GEN,
340 RsaPkcs = CKM_RSA_PKCS,
341 Rsa9796 = CKM_RSA_9796,
342 RsaX509 = CKM_RSA_X_509,
343 Md2RsaPkcs = CKM_MD2_RSA_PKCS,
344 Md5RsaPkcs = CKM_MD5_RSA_PKCS,
345 Sha1RsaPkcs = CKM_SHA1_RSA_PKCS,
346 Ripemd128RsaPkcs = CKM_RIPEMD128_RSA_PKCS,
347 Ripemd160RsaPkcs = CKM_RIPEMD160_RSA_PKCS,
348 RsaPkcsOaep = CKM_RSA_PKCS_OAEP,
349 RsaX931KeyPairGen = CKM_RSA_X9_31_KEY_PAIR_GEN,
350 RsaX931 = CKM_RSA_X9_31,
351 Sha1RsaX931 = CKM_SHA1_RSA_X9_31,
352 RsaPkcsPss = CKM_RSA_PKCS_PSS,
353 Sha1RsaPkcsPss = CKM_SHA1_RSA_PKCS_PSS,
354 DsaKeyPairGen = CKM_DSA_KEY_PAIR_GEN,
355 Dsa = CKM_DSA,
356 DsaSha1 = CKM_DSA_SHA1,
357 DsaSha224 = CKM_DSA_SHA224,
358 DsaSha256 = CKM_DSA_SHA256,
359 DsaSha384 = CKM_DSA_SHA384,
360 DsaSha512 = CKM_DSA_SHA512,
361 DhPkcsKeyPairGen = CKM_DH_PKCS_KEY_PAIR_GEN,
362 DhPkcsDerive = CKM_DH_PKCS_DERIVE,
363 X942DhKeyPairGen = CKM_X9_42_DH_KEY_PAIR_GEN,
364 X942DhDerive = CKM_X9_42_DH_DERIVE,
365 X942DhHybridDerive = CKM_X9_42_DH_HYBRID_DERIVE,
366 X942MqvDerive = CKM_X9_42_MQV_DERIVE,
367 Sha256RsaPkcs = CKM_SHA256_RSA_PKCS,
368 Sha384RsaPkcs = CKM_SHA384_RSA_PKCS,
369 Sha512RsaPkcs = CKM_SHA512_RSA_PKCS,
370 Sha256RsaPkcsPss = CKM_SHA256_RSA_PKCS_PSS,
371 Sha384RsaPkcsPss = CKM_SHA384_RSA_PKCS_PSS,
372 Sha512RsaPkcsPss = CKM_SHA512_RSA_PKCS_PSS,
373 Sha224RsaPkcs = CKM_SHA224_RSA_PKCS,
374 Sha224RsaPkcsPss = CKM_SHA224_RSA_PKCS_PSS,
375 Sha512224 = CKM_SHA512_224,
376 Sha512224Hmac = CKM_SHA512_224_HMAC,
377 Sha512224HmacGeneral = CKM_SHA512_224_HMAC_GENERAL,
378 Sha512224KeyDerivation = CKM_SHA512_224_KEY_DERIVATION,
379 Sha512256 = CKM_SHA512_256,
380 Sha512256Hmac = CKM_SHA512_256_HMAC,
381 Sha512256HmacGeneral = CKM_SHA512_256_HMAC_GENERAL,
382 Sha512256KeyDerivation = CKM_SHA512_256_KEY_DERIVATION,
383 Sha512T = CKM_SHA512_T,
384 Sha512THmac = CKM_SHA512_T_HMAC,
385 Sha512THmacGeneral = CKM_SHA512_T_HMAC_GENERAL,
386 Sha512TKeyDerivation = CKM_SHA512_T_KEY_DERIVATION,
387 Rc2KeyGen = CKM_RC2_KEY_GEN,
388 Rc2Ecb = CKM_RC2_ECB,
389 Rc2Cbc = CKM_RC2_CBC,
390 Rc2Mac = CKM_RC2_MAC,
391 Rc2MacGeneral = CKM_RC2_MAC_GENERAL,
392 Rc2CbcPad = CKM_RC2_CBC_PAD,
393 Rc4KeyGen = CKM_RC4_KEY_GEN,
394 Rc4 = CKM_RC4,
395 DesKeyGen = CKM_DES_KEY_GEN,
396 DesEcb = CKM_DES_ECB,
397 DesCbc = CKM_DES_CBC,
398 DesMac = CKM_DES_MAC,
399 DesMacGeneral = CKM_DES_MAC_GENERAL,
400 DesCbcPad = CKM_DES_CBC_PAD,
401 Des2KeyGen = CKM_DES2_KEY_GEN,
402 Des3KeyGen = CKM_DES3_KEY_GEN,
403 Des3Ecb = CKM_DES3_ECB,
404 Des3Cbc = CKM_DES3_CBC,
405 Des3Mac = CKM_DES3_MAC,
406 Des3MacGeneral = CKM_DES3_MAC_GENERAL,
407 Des3CbcPad = CKM_DES3_CBC_PAD,
408 Des3CmacGeneral = CKM_DES3_CMAC_GENERAL,
409 Des3Cmac = CKM_DES3_CMAC,
410 CdmfKeyGen = CKM_CDMF_KEY_GEN,
411 CdmfEcb = CKM_CDMF_ECB,
412 CdmfCbc = CKM_CDMF_CBC,
413 CdmfMac = CKM_CDMF_MAC,
414 CdmfMacGeneral = CKM_CDMF_MAC_GENERAL,
415 CdmfCbcPad = CKM_CDMF_CBC_PAD,
416 DesOfb64 = CKM_DES_OFB64,
417 DesOfb8 = CKM_DES_OFB8,
418 DesCfb64 = CKM_DES_CFB64,
419 DesCfb8 = CKM_DES_CFB8,
420 Md2 = CKM_MD2,
421 Md2Hmac = CKM_MD2_HMAC,
422 Md2HmacGeneral = CKM_MD2_HMAC_GENERAL,
423 Md5 = CKM_MD5,
424 Md5Hmac = CKM_MD5_HMAC,
425 Md5HmacGeneral = CKM_MD5_HMAC_GENERAL,
426 Sha1 = CKM_SHA_1,
427 Sha1Hmac = CKM_SHA_1_HMAC,
428 Sha1HmacGeneral = CKM_SHA_1_HMAC_GENERAL,
429 Ripemd128 = CKM_RIPEMD128,
430 Ripemd128Hmac = CKM_RIPEMD128_HMAC,
431 Ripemd128HmacGeneral = CKM_RIPEMD128_HMAC_GENERAL,
432 Ripemd160 = CKM_RIPEMD160,
433 Ripemd160Hmac = CKM_RIPEMD160_HMAC,
434 Ripemd160HmacGeneral = CKM_RIPEMD160_HMAC_GENERAL,
435 Sha256 = CKM_SHA256,
436 Sha256Hmac = CKM_SHA256_HMAC,
437 Sha256HmacGeneral = CKM_SHA256_HMAC_GENERAL,
438 Sha224 = CKM_SHA224,
439 Sha224Hmac = CKM_SHA224_HMAC,
440 Sha224HmacGeneral = CKM_SHA224_HMAC_GENERAL,
441 Sha384 = CKM_SHA384,
442 Sha384Hmac = CKM_SHA384_HMAC,
443 Sha384HmacGeneral = CKM_SHA384_HMAC_GENERAL,
444 Sha512 = CKM_SHA512,
445 Sha512Hmac = CKM_SHA512_HMAC,
446 Sha512HmacGeneral = CKM_SHA512_HMAC_GENERAL,
447 SecuridKeyGen = CKM_SECURID_KEY_GEN,
448 Securid = CKM_SECURID,
449 HotpKeyGen = CKM_HOTP_KEY_GEN,
450 Hotp = CKM_HOTP,
451 Acti = CKM_ACTI,
452 ActiKeyGen = CKM_ACTI_KEY_GEN,
453 CastKeyGen = CKM_CAST_KEY_GEN,
454 CastEcb = CKM_CAST_ECB,
455 CastCbc = CKM_CAST_CBC,
456 CastMac = CKM_CAST_MAC,
457 CastMacGeneral = CKM_CAST_MAC_GENERAL,
458 CastCbcPad = CKM_CAST_CBC_PAD,
459 Cast3KeyGen = CKM_CAST3_KEY_GEN,
460 Cast3Ecb = CKM_CAST3_ECB,
461 Cast3Cbc = CKM_CAST3_CBC,
462 Cast3Mac = CKM_CAST3_MAC,
463 Cast3MacGeneral = CKM_CAST3_MAC_GENERAL,
464 Cast3CbcPad = CKM_CAST3_CBC_PAD,
465 Cast5KeyGen = CKM_CAST5_KEY_GEN,
466 Cast128KeyGen = CKM_CAST128_KEY_GEN,
467 Cast5Ecb = CKM_CAST5_ECB,
468 Cast128Ecb = CKM_CAST128_ECB,
469 Cast5Cbc = CKM_CAST5_CBC,
470 Cast128Cbc = CKM_CAST128_CBC,
471 Cast5Mac = CKM_CAST5_MAC,
472 Cast128Mac = CKM_CAST128_MAC,
473 Cast5MacGeneral = CKM_CAST5_MAC_GENERAL,
474 Cast128MacGeneral = CKM_CAST128_MAC_GENERAL,
475 Cast5CbcPad = CKM_CAST5_CBC_PAD,
476 Cast128CbcPad = CKM_CAST128_CBC_PAD,
477 Rc5KeyGen = CKM_RC5_KEY_GEN,
478 Rc5Ecb = CKM_RC5_ECB,
479 Rc5Cbc = CKM_RC5_CBC,
480 Rc5Mac = CKM_RC5_MAC,
481 Rc5MacGeneral = CKM_RC5_MAC_GENERAL,
482 Rc5CbcPad = CKM_RC5_CBC_PAD,
483 IdeaKeyGen = CKM_IDEA_KEY_GEN,
484 IdeaEcb = CKM_IDEA_ECB,
485 IdeaCbc = CKM_IDEA_CBC,
486 IdeaMac = CKM_IDEA_MAC,
487 IdeaMacGeneral = CKM_IDEA_MAC_GENERAL,
488 IdeaCbcPad = CKM_IDEA_CBC_PAD,
489 GenericSecretKeyGen = CKM_GENERIC_SECRET_KEY_GEN,
490 ConcatenateBaseAndKey = CKM_CONCATENATE_BASE_AND_KEY,
491 ConcatenateBaseAndData = CKM_CONCATENATE_BASE_AND_DATA,
492 ConcatenateDataAndBase = CKM_CONCATENATE_DATA_AND_BASE,
493 XorBaseAndData = CKM_XOR_BASE_AND_DATA,
494 ExtractKeyFromKey = CKM_EXTRACT_KEY_FROM_KEY,
495 Ssl3PreMasterKeyGen = CKM_SSL3_PRE_MASTER_KEY_GEN,
496 Ssl3MasterKeyDerive = CKM_SSL3_MASTER_KEY_DERIVE,
497 Ssl3KeyAndMacDerive = CKM_SSL3_KEY_AND_MAC_DERIVE,
498 Ssl3MasterKeyDeriveDh = CKM_SSL3_MASTER_KEY_DERIVE_DH,
499 TlsPreMasterKeyGen = CKM_TLS_PRE_MASTER_KEY_GEN,
500 TlsMasterKeyDerive = CKM_TLS_MASTER_KEY_DERIVE,
501 TlsKeyAndMacDerive = CKM_TLS_KEY_AND_MAC_DERIVE,
502 TlsMasterKeyDeriveDh = CKM_TLS_MASTER_KEY_DERIVE_DH,
503 TlsPrf = CKM_TLS_PRF,
504 Ssl3Md5Mac = CKM_SSL3_MD5_MAC,
505 Ssl3Sha1Mac = CKM_SSL3_SHA1_MAC,
506 Md5KeyDerivation = CKM_MD5_KEY_DERIVATION,
507 Md2KeyDerivation = CKM_MD2_KEY_DERIVATION,
508 Sha1KeyDerivation = CKM_SHA1_KEY_DERIVATION,
509 Sha256KeyDerivation = CKM_SHA256_KEY_DERIVATION,
510 Sha384KeyDerivation = CKM_SHA384_KEY_DERIVATION,
511 Sha512KeyDerivation = CKM_SHA512_KEY_DERIVATION,
512 Sha224KeyDerivation = CKM_SHA224_KEY_DERIVATION,
513 PbeMd2DesCbc = CKM_PBE_MD2_DES_CBC,
514 PbeMd5DesCbc = CKM_PBE_MD5_DES_CBC,
515 PbeMd5CastCbc = CKM_PBE_MD5_CAST_CBC,
516 PbeMd5Cast3Cbc = CKM_PBE_MD5_CAST3_CBC,
517 PbeMd5Cast5Cbc = CKM_PBE_MD5_CAST5_CBC,
518 PbeMd5Cast128Cbc = CKM_PBE_MD5_CAST128_CBC,
519 PbeSha1Cast5Cbc = CKM_PBE_SHA1_CAST5_CBC,
520 PbeSha1Cast128Cbc = CKM_PBE_SHA1_CAST128_CBC,
521 PbeSha1Rc4128 = CKM_PBE_SHA1_RC4_128,
522 PbeSha1Rc440 = CKM_PBE_SHA1_RC4_40,
523 PbeSha1Des3EdeCbc = CKM_PBE_SHA1_DES3_EDE_CBC,
524 PbeSha1Des2EdeCbc = CKM_PBE_SHA1_DES2_EDE_CBC,
525 PbeSha1Rc2128Cbc = CKM_PBE_SHA1_RC2_128_CBC,
526 PbeSha1Rc240Cbc = CKM_PBE_SHA1_RC2_40_CBC,
527 Pkcs5Pbkd2 = CKM_PKCS5_PBKD2,
528 PbaSha1WithSha1Hmac = CKM_PBA_SHA1_WITH_SHA1_HMAC,
529 WtlsPreMasterKeyGen = CKM_WTLS_PRE_MASTER_KEY_GEN,
530 WtlsMasterKeyDerive = CKM_WTLS_MASTER_KEY_DERIVE,
531 WtlsMasterKeyDeriveDhEcc = CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC,
532 WtlsPrf = CKM_WTLS_PRF,
533 WtlsServerKeyAndMacDerive = CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE,
534 WtlsClientKeyAndMacDerive = CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE,
535 Tls10MacServer = CKM_TLS10_MAC_SERVER,
536 Tls10MacClient = CKM_TLS10_MAC_CLIENT,
537 Tls12Mac = CKM_TLS12_MAC,
538 Tls12Kdf = CKM_TLS12_KDF,
539 Tls12MasterKeyDerive = CKM_TLS12_MASTER_KEY_DERIVE,
540 Tls12KeyAndMacDerive = CKM_TLS12_KEY_AND_MAC_DERIVE,
541 Tls12MasterKeyDeriveDh = CKM_TLS12_MASTER_KEY_DERIVE_DH,
542 Tls12KeySafeDerive = CKM_TLS12_KEY_SAFE_DERIVE,
543 TlsMac = CKM_TLS_MAC,
544 TlsKdf = CKM_TLS_KDF,
545 KeyWrapLynks = CKM_KEY_WRAP_LYNKS,
546 KeyWrapSetOaep = CKM_KEY_WRAP_SET_OAEP,
547 CmsSig = CKM_CMS_SIG,
548 KipDerive = CKM_KIP_DERIVE,
549 KipWrap = CKM_KIP_WRAP,
550 KipMac = CKM_KIP_MAC,
551 CamelliaKeyGen = CKM_CAMELLIA_KEY_GEN,
552 CamelliaEcb = CKM_CAMELLIA_ECB,
553 CamelliaCbc = CKM_CAMELLIA_CBC,
554 CamelliaMac = CKM_CAMELLIA_MAC,
555 CamelliaMacGeneral = CKM_CAMELLIA_MAC_GENERAL,
556 CamelliaCbcPad = CKM_CAMELLIA_CBC_PAD,
557 CamelliaEcbEncryptData = CKM_CAMELLIA_ECB_ENCRYPT_DATA,
558 CamelliaCbcEncryptData = CKM_CAMELLIA_CBC_ENCRYPT_DATA,
559 CamelliaCtr = CKM_CAMELLIA_CTR,
560 AriaKeyGen = CKM_ARIA_KEY_GEN,
561 AriaEcb = CKM_ARIA_ECB,
562 AriaCbc = CKM_ARIA_CBC,
563 AriaMac = CKM_ARIA_MAC,
564 AriaMacGeneral = CKM_ARIA_MAC_GENERAL,
565 AriaCbcPad = CKM_ARIA_CBC_PAD,
566 AriaEcbEncryptData = CKM_ARIA_ECB_ENCRYPT_DATA,
567 AriaCbcEncryptData = CKM_ARIA_CBC_ENCRYPT_DATA,
568 SeedKeyGen = CKM_SEED_KEY_GEN,
569 SeedEcb = CKM_SEED_ECB,
570 SeedCbc = CKM_SEED_CBC,
571 SeedMac = CKM_SEED_MAC,
572 SeedMacGeneral = CKM_SEED_MAC_GENERAL,
573 SeedCbcPad = CKM_SEED_CBC_PAD,
574 SeedEcbEncryptData = CKM_SEED_ECB_ENCRYPT_DATA,
575 SeedCbcEncryptData = CKM_SEED_CBC_ENCRYPT_DATA,
576 SkipjackKeyGen = CKM_SKIPJACK_KEY_GEN,
577 SkipjackEcb64 = CKM_SKIPJACK_ECB64,
578 SkipjackCbc64 = CKM_SKIPJACK_CBC64,
579 SkipjackOfb64 = CKM_SKIPJACK_OFB64,
580 SkipjackCfb64 = CKM_SKIPJACK_CFB64,
581 SkipjackCfb32 = CKM_SKIPJACK_CFB32,
582 SkipjackCfb16 = CKM_SKIPJACK_CFB16,
583 SkipjackCfb8 = CKM_SKIPJACK_CFB8,
584 SkipjackWrap = CKM_SKIPJACK_WRAP,
585 SkipjackPrivateWrap = CKM_SKIPJACK_PRIVATE_WRAP,
586 SkipjackRelayx = CKM_SKIPJACK_RELAYX,
587 KeaKeyPairGen = CKM_KEA_KEY_PAIR_GEN,
588 KeaKeyDerive = CKM_KEA_KEY_DERIVE,
589 KeaDerive = CKM_KEA_DERIVE,
590 FortezzaTimestamp = CKM_FORTEZZA_TIMESTAMP,
591 BatonKeyGen = CKM_BATON_KEY_GEN,
592 BatonEcb128 = CKM_BATON_ECB128,
593 BatonEcb96 = CKM_BATON_ECB96,
594 BatonCbc128 = CKM_BATON_CBC128,
595 BatonCounter = CKM_BATON_COUNTER,
596 BatonShuffle = CKM_BATON_SHUFFLE,
597 BatonWrap = CKM_BATON_WRAP,
598 EcdsaKeyPairGen = CKM_ECDSA_KEY_PAIR_GEN,
599 EcKeyPairGen = CKM_EC_KEY_PAIR_GEN,
600 Ecdsa = CKM_ECDSA,
601 EcdsaSha1 = CKM_ECDSA_SHA1,
602 EcdsaSha224 = CKM_ECDSA_SHA224,
603 EcdsaSha256 = CKM_ECDSA_SHA256,
604 EcdsaSha384 = CKM_ECDSA_SHA384,
605 EcdsaSha512 = CKM_ECDSA_SHA512,
606 Ecdh1Derive = CKM_ECDH1_DERIVE,
607 Ecdh1CofactorDerive = CKM_ECDH1_COFACTOR_DERIVE,
608 EcmqvDerive = CKM_ECMQV_DERIVE,
609 EcdhAesKeyWrap = CKM_ECDH_AES_KEY_WRAP,
610 RsaAesKeyWrap = CKM_RSA_AES_KEY_WRAP,
611 JuniperKeyGen = CKM_JUNIPER_KEY_GEN,
612 JuniperEcb128 = CKM_JUNIPER_ECB128,
613 JuniperCbc128 = CKM_JUNIPER_CBC128,
614 JuniperCounter = CKM_JUNIPER_COUNTER,
615 JuniperShuffle = CKM_JUNIPER_SHUFFLE,
616 JuniperWrap = CKM_JUNIPER_WRAP,
617 Fasthash = CKM_FASTHASH,
618 AesKeyGen = CKM_AES_KEY_GEN,
619 AesEcb = CKM_AES_ECB,
620 AesCbc = CKM_AES_CBC,
621 AesMac = CKM_AES_MAC,
622 AesMacGeneral = CKM_AES_MAC_GENERAL,
623 AesCbcPad = CKM_AES_CBC_PAD,
624 AesCtr = CKM_AES_CTR,
625 AesGcm = CKM_AES_GCM,
626 AesCcm = CKM_AES_CCM,
627 AesCts = CKM_AES_CTS,
628 AesCmac = CKM_AES_CMAC,
629 AesCmacGeneral = CKM_AES_CMAC_GENERAL,
630 AesXcbcMac = CKM_AES_XCBC_MAC,
631 AesXcbcMac96 = CKM_AES_XCBC_MAC_96,
632 AesGmac = CKM_AES_GMAC,
633 BlowfishKeyGen = CKM_BLOWFISH_KEY_GEN,
634 BlowfishCbc = CKM_BLOWFISH_CBC,
635 TwofishKeyGen = CKM_TWOFISH_KEY_GEN,
636 TwofishCbc = CKM_TWOFISH_CBC,
637 BlowfishCbcPad = CKM_BLOWFISH_CBC_PAD,
638 TwofishCbcPad = CKM_TWOFISH_CBC_PAD,
639 DesEcbEncryptData = CKM_DES_ECB_ENCRYPT_DATA,
640 DesCbcEncryptData = CKM_DES_CBC_ENCRYPT_DATA,
641 Des3EcbEncryptData = CKM_DES3_ECB_ENCRYPT_DATA,
642 Des3CbcEncryptData = CKM_DES3_CBC_ENCRYPT_DATA,
643 AesEcbEncryptData = CKM_AES_ECB_ENCRYPT_DATA,
644 AesCbcEncryptData = CKM_AES_CBC_ENCRYPT_DATA,
645 Gostr3410KeyPairGen = CKM_GOSTR3410_KEY_PAIR_GEN,
646 Gostr3410 = CKM_GOSTR3410,
647 Gostr3410WithGostr3411 = CKM_GOSTR3410_WITH_GOSTR3411,
648 Gostr3410KeyWrap = CKM_GOSTR3410_KEY_WRAP,
649 Gostr3410Derive = CKM_GOSTR3410_DERIVE,
650 Gostr3411 = CKM_GOSTR3411,
651 Gostr3411Hmac = CKM_GOSTR3411_HMAC,
652 Gost28147KeyGen = CKM_GOST28147_KEY_GEN,
653 Gost28147Ecb = CKM_GOST28147_ECB,
654 Gost28147 = CKM_GOST28147,
655 Gost28147Mac = CKM_GOST28147_MAC,
656 Gost28147KeyWrap = CKM_GOST28147_KEY_WRAP,
657 DsaParameterGen = CKM_DSA_PARAMETER_GEN,
658 DhPkcsParameterGen = CKM_DH_PKCS_PARAMETER_GEN,
659 X942DhParameterGen = CKM_X9_42_DH_PARAMETER_GEN,
660 DsaProbablisticParameterGen = CKM_DSA_PROBABLISTIC_PARAMETER_GEN,
661 DsaShaweTaylorParameterGen = CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN,
662 AesOfb = CKM_AES_OFB,
663 AesCfb64 = CKM_AES_CFB64,
664 AesCfb8 = CKM_AES_CFB8,
665 AesCfb128 = CKM_AES_CFB128,
666 AesCfb1 = CKM_AES_CFB1,
667 AesKeyWrap = CKM_AES_KEY_WRAP,
668 AesKeyWrapPad = CKM_AES_KEY_WRAP_PAD,
669 RsaPkcsTpm11 = CKM_RSA_PKCS_TPM_1_1,
670 RsaPkcsOaepTpm11 = CKM_RSA_PKCS_OAEP_TPM_1_1,
671 VendorDefined = CKM_VENDOR_DEFINED,
672 };
Botan::PKCS11::MechanismType::AesCbc
@ AesCbc
Botan::PKCS11::MechanismType::ActiKeyGen
@ ActiKeyGen
Botan::PKCS11::MechanismType::Sha512RsaPkcsPss
@ Sha512RsaPkcsPss
Botan::PKCS11::MechanismType::Rc5Mac
@ Rc5Mac
Botan::PKCS11::MechanismType::DhPkcsParameterGen
@ DhPkcsParameterGen
Botan::PKCS11::MechanismType::RsaPkcsOaep
@ RsaPkcsOaep
Botan::PKCS11::MechanismType::Md5RsaPkcs
@ Md5RsaPkcs
Botan::PKCS11::MechanismType::SkipjackCfb64
@ SkipjackCfb64
Botan::PKCS11::MechanismType::EcdsaSha256
@ EcdsaSha256
Botan::PKCS11::MechanismType::Ecdh1Derive
@ Ecdh1Derive
Botan::PKCS11::MechanismType::Ssl3MasterKeyDeriveDh
@ Ssl3MasterKeyDeriveDh
Botan::PKCS11::MechanismType::Gost28147Ecb
@ Gost28147Ecb
Botan::PKCS11::MechanismType::Sha512KeyDerivation
@ Sha512KeyDerivation
Botan::PKCS11::MechanismType::Sha512224
@ Sha512224
Botan::PKCS11::MechanismType::Rc2Ecb
@ Rc2Ecb
Botan::PKCS11::MechanismType::Sha1RsaPkcs
@ Sha1RsaPkcs
Botan::PKCS11::MechanismType::SkipjackCfb16
@ SkipjackCfb16
Botan::PKCS11::MechanismType::Sha384HmacGeneral
@ Sha384HmacGeneral
Botan::PKCS11::MechanismType::Des3Mac
@ Des3Mac
Botan::PKCS11::MechanismType::EcdhAesKeyWrap
@ EcdhAesKeyWrap
Botan::PKCS11::MechanismType::JuniperWrap
@ JuniperWrap
Botan::PKCS11::MechanismType::Sha256
@ Sha256
Botan::PKCS11::MechanismType::JuniperShuffle
@ JuniperShuffle
Botan::PKCS11::MechanismType::AesCfb1
@ AesCfb1
Botan::PKCS11::MechanismType::Md2
@ Md2
Botan::PKCS11::MechanismType::Md2RsaPkcs
@ Md2RsaPkcs
Botan::PKCS11::MechanismType::AesCmac
@ AesCmac
Botan::PKCS11::MechanismType::Tls12KeyAndMacDerive
@ Tls12KeyAndMacDerive
Botan::PKCS11::MechanismType::AesGmac
@ AesGmac
Botan::PKCS11::MechanismType::EcdsaKeyPairGen
@ EcdsaKeyPairGen
Botan::PKCS11::MechanismType::Tls10MacClient
@ Tls10MacClient
Botan::PKCS11::MechanismType::AesKeyWrapPad
@ AesKeyWrapPad
Botan::PKCS11::MechanismType::SeedMac
@ SeedMac
Botan::PKCS11::MechanismType::Rsa9796
@ Rsa9796
Botan::PKCS11::MechanismType::FortezzaTimestamp
@ FortezzaTimestamp
Botan::PKCS11::MechanismType::Ripemd128HmacGeneral
@ Ripemd128HmacGeneral
Botan::PKCS11::MechanismType::DsaKeyPairGen
@ DsaKeyPairGen
Botan::PKCS11::MechanismType::CamelliaEcb
@ CamelliaEcb
Botan::PKCS11::MechanismType::ExtractKeyFromKey
@ ExtractKeyFromKey
Botan::PKCS11::MechanismType::CastMac
@ CastMac
Botan::PKCS11::MechanismType::AesCbcEncryptData
@ AesCbcEncryptData
Botan::PKCS11::MechanismType::Cast5Ecb
@ Cast5Ecb
Botan::PKCS11::MechanismType::Md5HmacGeneral
@ Md5HmacGeneral
Botan::PKCS11::MechanismType::DesCfb64
@ DesCfb64
Botan::PKCS11::MechanismType::BatonEcb128
@ BatonEcb128
Botan::PKCS11::MechanismType::IdeaEcb
@ IdeaEcb
Botan::PKCS11::MechanismType::KeaDerive
@ KeaDerive
Botan::PKCS11::MechanismType::Ssl3KeyAndMacDerive
@ Ssl3KeyAndMacDerive
Botan::PKCS11::MechanismType::CamelliaCtr
@ CamelliaCtr
Botan::PKCS11::MechanismType::DesKeyGen
@ DesKeyGen
Botan::PKCS11::MechanismType::KipWrap
@ KipWrap
Botan::PKCS11::MechanismType::PbeSha1Rc240Cbc
@ PbeSha1Rc240Cbc
Botan::PKCS11::MechanismType::DesEcbEncryptData
@ DesEcbEncryptData
Botan::PKCS11::MechanismType::SkipjackEcb64
@ SkipjackEcb64
Botan::PKCS11::MechanismType::Cast3Cbc
@ Cast3Cbc
Botan::PKCS11::MechanismType::WtlsPrf
@ WtlsPrf
Botan::PKCS11::MechanismType::AriaEcb
@ AriaEcb
Botan::PKCS11::MechanismType::WtlsPreMasterKeyGen
@ WtlsPreMasterKeyGen
Botan::PKCS11::MechanismType::Sha224
@ Sha224
Botan::PKCS11::MechanismType::Ssl3PreMasterKeyGen
@ Ssl3PreMasterKeyGen
Botan::PKCS11::MechanismType::TwofishCbc
@ TwofishCbc
Botan::PKCS11::MechanismType::TlsMasterKeyDeriveDh
@ TlsMasterKeyDeriveDh
Botan::PKCS11::MechanismType::ConcatenateDataAndBase
@ ConcatenateDataAndBase
Botan::PKCS11::MechanismType::BlowfishCbcPad
@ BlowfishCbcPad
Botan::PKCS11::MechanismType::AriaEcbEncryptData
@ AriaEcbEncryptData
Botan::PKCS11::MechanismType::SeedEcbEncryptData
@ SeedEcbEncryptData
Botan::PKCS11::MechanismType::PbeSha1Rc4128
@ PbeSha1Rc4128
Botan::PKCS11::MechanismType::AesCcm
@ AesCcm
Botan::PKCS11::MechanismType::Cast5CbcPad
@ Cast5CbcPad
Botan::PKCS11::MechanismType::EcdsaSha1
@ EcdsaSha1
Botan::PKCS11::MechanismType::AesEcbEncryptData
@ AesEcbEncryptData
Botan::PKCS11::MechanismType::Sha512HmacGeneral
@ Sha512HmacGeneral
Botan::PKCS11::MechanismType::DsaSha384
@ DsaSha384
Botan::PKCS11::MechanismType::Des3Cbc
@ Des3Cbc
Botan::PKCS11::MechanismType::RsaX509
@ RsaX509
Botan::PKCS11::MechanismType::SeedEcb
@ SeedEcb
Botan::PKCS11::MechanismType::CamelliaCbcEncryptData
@ CamelliaCbcEncryptData
Botan::PKCS11::MechanismType::KeaKeyDerive
@ KeaKeyDerive
Botan::PKCS11::MechanismType::ConcatenateBaseAndData
@ ConcatenateBaseAndData
Botan::PKCS11::MechanismType::RsaPkcsPss
@ RsaPkcsPss
Botan::PKCS11::MechanismType::Sha384
@ Sha384
Botan::PKCS11::MechanismType::Sha1RsaPkcsPss
@ Sha1RsaPkcsPss
Botan::PKCS11::MechanismType::Md2KeyDerivation
@ Md2KeyDerivation
Botan::PKCS11::MechanismType::JuniperCounter
@ JuniperCounter
Botan::PKCS11::MechanismType::Cast3Mac
@ Cast3Mac
Botan::PKCS11::MechanismType::TlsMac
@ TlsMac
Botan::PKCS11::MechanismType::PbeSha1Rc440
@ PbeSha1Rc440
Botan::PKCS11::MechanismType::PbeMd5CastCbc
@ PbeMd5CastCbc
Botan::PKCS11::MechanismType::DesCfb8
@ DesCfb8
Botan::PKCS11::MechanismType::Gostr3410WithGostr3411
@ Gostr3410WithGostr3411
Botan::PKCS11::MechanismType::DsaShaweTaylorParameterGen
@ DsaShaweTaylorParameterGen
Botan::PKCS11::MechanismType::Fasthash
@ Fasthash
Botan::PKCS11::MechanismType::XorBaseAndData
@ XorBaseAndData
Botan::PKCS11::MechanismType::IdeaCbcPad
@ IdeaCbcPad
Botan::PKCS11::MechanismType::AesGcm
@ AesGcm
Botan::PKCS11::MechanismType::BatonWrap
@ BatonWrap
Botan::PKCS11::MechanismType::Ecdh1CofactorDerive
@ Ecdh1CofactorDerive
Botan::PKCS11::MechanismType::PbeMd2DesCbc
@ PbeMd2DesCbc
Botan::PKCS11::MechanismType::CdmfCbc
@ CdmfCbc
Botan::PKCS11::MechanismType::BatonEcb96
@ BatonEcb96
Botan::PKCS11::MechanismType::SkipjackCfb8
@ SkipjackCfb8
Botan::PKCS11::MechanismType::Cast3MacGeneral
@ Cast3MacGeneral
Botan::PKCS11::MechanismType::Cast5KeyGen
@ Cast5KeyGen
Botan::PKCS11::MechanismType::SkipjackCbc64
@ SkipjackCbc64
Botan::PKCS11::MechanismType::Sha224HmacGeneral
@ Sha224HmacGeneral
Botan::PKCS11::MechanismType::CastMacGeneral
@ CastMacGeneral
Botan::PKCS11::MechanismType::Gostr3410KeyPairGen
@ Gostr3410KeyPairGen
Botan::PKCS11::MechanismType::Cast5Cbc
@ Cast5Cbc
Botan::PKCS11::MechanismType::DhPkcsDerive
@ DhPkcsDerive
Botan::PKCS11::MechanismType::CastCbc
@ CastCbc
Botan::PKCS11::MechanismType::KeyWrapLynks
@ KeyWrapLynks
Botan::PKCS11::MechanismType::ConcatenateBaseAndKey
@ ConcatenateBaseAndKey
Botan::PKCS11::MechanismType::Sha512224KeyDerivation
@ Sha512224KeyDerivation
Botan::PKCS11::MechanismType::DesCbc
@ DesCbc
Botan::PKCS11::MechanismType::Sha512256Hmac
@ Sha512256Hmac
Botan::PKCS11::MechanismType::Cast128Mac
@ Cast128Mac
Botan::PKCS11::MechanismType::PbeMd5Cast3Cbc
@ PbeMd5Cast3Cbc
Botan::PKCS11::MechanismType::Rc2Mac
@ Rc2Mac
Botan::PKCS11::MechanismType::CamelliaMac
@ CamelliaMac
Botan::PKCS11::MechanismType::CamelliaKeyGen
@ CamelliaKeyGen
Botan::PKCS11::MechanismType::DesOfb8
@ DesOfb8
Botan::PKCS11::MechanismType::CastCbcPad
@ CastCbcPad
Botan::PKCS11::MechanismType::Rc2MacGeneral
@ Rc2MacGeneral
Botan::PKCS11::MechanismType::SkipjackRelayx
@ SkipjackRelayx
Botan::PKCS11::MechanismType::Sha224KeyDerivation
@ Sha224KeyDerivation
Botan::PKCS11::MechanismType::AesOfb
@ AesOfb
Botan::PKCS11::MechanismType::Des3EcbEncryptData
@ Des3EcbEncryptData
Botan::PKCS11::MechanismType::JuniperKeyGen
@ JuniperKeyGen
Botan::PKCS11::MechanismType::AesMacGeneral
@ AesMacGeneral
Botan::PKCS11::MechanismType::AesCtr
@ AesCtr
Botan::PKCS11::MechanismType::DhPkcsKeyPairGen
@ DhPkcsKeyPairGen
Botan::PKCS11::MechanismType::AriaMacGeneral
@ AriaMacGeneral
Botan::PKCS11::MechanismType::Rc2CbcPad
@ Rc2CbcPad
Botan::PKCS11::MechanismType::AriaCbc
@ AriaCbc
Botan::PKCS11::MechanismType::Sha512TKeyDerivation
@ Sha512TKeyDerivation
Botan::PKCS11::MechanismType::AesCts
@ AesCts
Botan::PKCS11::MechanismType::AesXcbcMac
@ AesXcbcMac
Botan::PKCS11::MechanismType::Sha512256HmacGeneral
@ Sha512256HmacGeneral
Botan::PKCS11::MechanismType::Rc5CbcPad
@ Rc5CbcPad
Botan::PKCS11::MechanismType::SkipjackPrivateWrap
@ SkipjackPrivateWrap
Botan::PKCS11::MechanismType::JuniperEcb128
@ JuniperEcb128
Botan::PKCS11::MechanismType::Cast5MacGeneral
@ Cast5MacGeneral
Botan::PKCS11::MechanismType::Cast5Mac
@ Cast5Mac
Botan::PKCS11::MechanismType::Sha224RsaPkcs
@ Sha224RsaPkcs
Botan::PKCS11::MechanismType::X942DhDerive
@ X942DhDerive
Botan::PKCS11::MechanismType::Des3CmacGeneral
@ Des3CmacGeneral
Botan::PKCS11::MechanismType::Tls12MasterKeyDerive
@ Tls12MasterKeyDerive
Botan::PKCS11::MechanismType::AesXcbcMac96
@ AesXcbcMac96
Botan::PKCS11::MechanismType::DesOfb64
@ DesOfb64
Botan::PKCS11::MechanismType::IdeaKeyGen
@ IdeaKeyGen
Botan::PKCS11::MechanismType::Sha384KeyDerivation
@ Sha384KeyDerivation
Botan::PKCS11::MechanismType::CdmfKeyGen
@ CdmfKeyGen
Botan::PKCS11::MechanismType::IdeaMacGeneral
@ IdeaMacGeneral
Botan::PKCS11::MechanismType::AesCfb128
@ AesCfb128
Botan::PKCS11::MechanismType::PbeSha1Cast128Cbc
@ PbeSha1Cast128Cbc
Botan::PKCS11::MechanismType::EcdsaSha384
@ EcdsaSha384
Botan::PKCS11::MechanismType::Sha512256
@ Sha512256
Botan::PKCS11::MechanismType::KipDerive
@ KipDerive
Botan::PKCS11::MechanismType::SeedCbcPad
@ SeedCbcPad
Botan::PKCS11::MechanismType::RsaX931KeyPairGen
@ RsaX931KeyPairGen
Botan::PKCS11::MechanismType::Rc5Ecb
@ Rc5Ecb
Botan::PKCS11::MechanismType::Tls10MacServer
@ Tls10MacServer
Botan::PKCS11::MechanismType::EcdsaSha512
@ EcdsaSha512
Botan::PKCS11::MechanismType::TwofishCbcPad
@ TwofishCbcPad
Botan::PKCS11::MechanismType::RsaPkcsOaepTpm11
@ RsaPkcsOaepTpm11
Botan::PKCS11::MechanismType::SeedKeyGen
@ SeedKeyGen
Botan::PKCS11::MechanismType::Sha1
@ Sha1
Botan::PKCS11::MechanismType::TlsKeyAndMacDerive
@ TlsKeyAndMacDerive
Botan::PKCS11::MechanismType::Rc5Cbc
@ Rc5Cbc
Botan::PKCS11::MechanismType::Sha1RsaX931
@ Sha1RsaX931
Botan::PKCS11::MechanismType::PbeSha1Cast5Cbc
@ PbeSha1Cast5Cbc
Botan::PKCS11::MechanismType::Md5
@ Md5
Botan::PKCS11::MechanismType::DsaSha1
@ DsaSha1
Botan::PKCS11::MechanismType::CamelliaCbcPad
@ CamelliaCbcPad
Botan::PKCS11::MechanismType::SkipjackOfb64
@ SkipjackOfb64
Botan::PKCS11::MechanismType::DsaParameterGen
@ DsaParameterGen
Botan::PKCS11::MechanismType::AriaKeyGen
@ AriaKeyGen
Botan::PKCS11::MechanismType::AriaMac
@ AriaMac
Botan::PKCS11::MechanismType::Sha512RsaPkcs
@ Sha512RsaPkcs
Botan::PKCS11::MechanismType::CdmfMacGeneral
@ CdmfMacGeneral
Botan::PKCS11::MechanismType::Des2KeyGen
@ Des2KeyGen
Botan::PKCS11::MechanismType::Md2HmacGeneral
@ Md2HmacGeneral
Botan::PKCS11::MechanismType::RsaX931
@ RsaX931
Botan::PKCS11::MechanismType::X942DhHybridDerive
@ X942DhHybridDerive
Botan::PKCS11::MechanismType::DsaSha256
@ DsaSha256
Botan::PKCS11::MechanismType::PbeSha1Des2EdeCbc
@ PbeSha1Des2EdeCbc
Botan::PKCS11::MechanismType::Ssl3MasterKeyDerive
@ Ssl3MasterKeyDerive
Botan::PKCS11::MechanismType::Cast128Cbc
@ Cast128Cbc
Botan::PKCS11::MechanismType::Md5KeyDerivation
@ Md5KeyDerivation
Botan::PKCS11::MechanismType::EcdsaSha224
@ EcdsaSha224
Botan::PKCS11::MechanismType::WtlsServerKeyAndMacDerive
@ WtlsServerKeyAndMacDerive
Botan::PKCS11::MechanismType::RsaAesKeyWrap
@ RsaAesKeyWrap
Botan::PKCS11::MechanismType::PbaSha1WithSha1Hmac
@ PbaSha1WithSha1Hmac
Botan::PKCS11::MechanismType::Gost28147Mac
@ Gost28147Mac
Botan::PKCS11::MechanismType::Md2Hmac
@ Md2Hmac
Botan::PKCS11::MechanismType::SecuridKeyGen
@ SecuridKeyGen
Botan::PKCS11::MechanismType::CastKeyGen
@ CastKeyGen
Botan::PKCS11::MechanismType::PbeSha1Rc2128Cbc
@ PbeSha1Rc2128Cbc
Botan::PKCS11::MechanismType::JuniperCbc128
@ JuniperCbc128
Botan::PKCS11::MechanismType::AriaCbcPad
@ AriaCbcPad
Botan::PKCS11::MechanismType::SeedMacGeneral
@ SeedMacGeneral
Botan::PKCS11::MechanismType::Gostr3411Hmac
@ Gostr3411Hmac
Botan::PKCS11::MechanismType::DsaSha224
@ DsaSha224
Botan::PKCS11::MechanismType::AesKeyGen
@ AesKeyGen
Botan::PKCS11::MechanismType::SeedCbcEncryptData
@ SeedCbcEncryptData
Botan::PKCS11::MechanismType::Des3Ecb
@ Des3Ecb
Botan::PKCS11::MechanismType::HotpKeyGen
@ HotpKeyGen
Botan::PKCS11::MechanismType::WtlsClientKeyAndMacDerive
@ WtlsClientKeyAndMacDerive
Botan::PKCS11::MechanismType::TlsPreMasterKeyGen
@ TlsPreMasterKeyGen
Botan::PKCS11::MechanismType::Sha384RsaPkcsPss
@ Sha384RsaPkcsPss
Botan::PKCS11::MechanismType::EcKeyPairGen
@ EcKeyPairGen
Botan::PKCS11::MechanismType::TlsPrf
@ TlsPrf
Botan::PKCS11::MechanismType::AesCfb8
@ AesCfb8
Botan::PKCS11::MechanismType::TlsKdf
@ TlsKdf
Botan::PKCS11::MechanismType::Tls12MasterKeyDeriveDh
@ Tls12MasterKeyDeriveDh
Botan::PKCS11::MechanismType::Tls12Mac
@ Tls12Mac
Botan::PKCS11::MechanismType::DesMacGeneral
@ DesMacGeneral
Botan::PKCS11::MechanismType::Cast3KeyGen
@ Cast3KeyGen
Botan::PKCS11::MechanismType::CastEcb
@ CastEcb
Botan::PKCS11::MechanismType::TlsMasterKeyDerive
@ TlsMasterKeyDerive
Botan::PKCS11::MechanismType::Ssl3Sha1Mac
@ Ssl3Sha1Mac
Botan::PKCS11::MechanismType::WtlsMasterKeyDerive
@ WtlsMasterKeyDerive
Botan::PKCS11::MechanismType::PbeMd5DesCbc
@ PbeMd5DesCbc
Botan::PKCS11::MechanismType::AesKeyWrap
@ AesKeyWrap
Botan::PKCS11::MechanismType::Rc5MacGeneral
@ Rc5MacGeneral
Botan::PKCS11::MechanismType::CdmfEcb
@ CdmfEcb
Botan::PKCS11::MechanismType::AesCmacGeneral
@ AesCmacGeneral
Botan::PKCS11::MechanismType::KeyWrapSetOaep
@ KeyWrapSetOaep
Botan::PKCS11::MechanismType::Gost28147KeyGen
@ Gost28147KeyGen
Botan::PKCS11::MechanismType::Cast128CbcPad
@ Cast128CbcPad
Botan::PKCS11::MechanismType::DsaSha512
@ DsaSha512
Botan::PKCS11::MechanismType::AesCbcPad
@ AesCbcPad
Botan::PKCS11::MechanismType::SeedCbc
@ SeedCbc
Botan::PKCS11::MechanismType::RsaPkcsKeyPairGen
@ RsaPkcsKeyPairGen
Botan::PKCS11::MechanismType::Sha512256KeyDerivation
@ Sha512256KeyDerivation
Botan::PKCS11::MechanismType::Sha256RsaPkcs
@ Sha256RsaPkcs
Botan::PKCS11::MechanismType::DesMac
@ DesMac
Botan::PKCS11::MechanismType::Sha512T
@ Sha512T
Botan::PKCS11::MechanismType::Sha224RsaPkcsPss
@ Sha224RsaPkcsPss
Botan::PKCS11::MechanismType::Sha512THmac
@ Sha512THmac
Botan::PKCS11::MechanismType::Sha512THmacGeneral
@ Sha512THmacGeneral
Botan::PKCS11::MechanismType::BatonCounter
@ BatonCounter
Botan::PKCS11::MechanismType::IdeaCbc
@ IdeaCbc
Botan::PKCS11::MechanismType::Ripemd160HmacGeneral
@ Ripemd160HmacGeneral
Botan::PKCS11::MechanismType::Rc2Cbc
@ Rc2Cbc
Botan::PKCS11::MechanismType::Sha512224HmacGeneral
@ Sha512224HmacGeneral
Botan::PKCS11::MechanismType::Ssl3Md5Mac
@ Ssl3Md5Mac
Botan::PKCS11::MechanismType::X942DhParameterGen
@ X942DhParameterGen
Botan::PKCS11::MechanismType::X942DhKeyPairGen
@ X942DhKeyPairGen
Botan::PKCS11::MechanismType::Des3KeyGen
@ Des3KeyGen
Botan::PKCS11::MechanismType::Sha256HmacGeneral
@ Sha256HmacGeneral
Botan::PKCS11::MechanismType::CmsSig
@ CmsSig
Botan::PKCS11::MechanismType::Rc5KeyGen
@ Rc5KeyGen
Botan::PKCS11::MechanismType::Tls12KeySafeDerive
@ Tls12KeySafeDerive
Botan::PKCS11::MechanismType::TwofishKeyGen
@ TwofishKeyGen
Botan::PKCS11::MechanismType::CamelliaMacGeneral
@ CamelliaMacGeneral
Botan::PKCS11::MechanismType::Cast128Ecb
@ Cast128Ecb
Botan::PKCS11::MechanismType::RsaPkcs
@ RsaPkcs
Botan::PKCS11::MechanismType::Tls12Kdf
@ Tls12Kdf
Botan::PKCS11::MechanismType::Ripemd160RsaPkcs
@ Ripemd160RsaPkcs
Botan::PKCS11::MechanismType::AesMac
@ AesMac
Botan::PKCS11::MechanismType::Des3MacGeneral
@ Des3MacGeneral
Botan::PKCS11::MechanismType::PbeMd5Cast128Cbc
@ PbeMd5Cast128Cbc
Botan::PKCS11::MechanismType::SkipjackWrap
@ SkipjackWrap
Botan::PKCS11::MechanismType::Des3Cmac
@ Des3Cmac
Botan::PKCS11::MechanismType::DsaProbablisticParameterGen
@ DsaProbablisticParameterGen
Botan::PKCS11::MechanismType::BatonShuffle
@ BatonShuffle
Botan::PKCS11::MechanismType::PbeSha1Des3EdeCbc
@ PbeSha1Des3EdeCbc
Botan::PKCS11::MechanismType::Rc4KeyGen
@ Rc4KeyGen
Botan::PKCS11::MechanismType::Pkcs5Pbkd2
@ Pkcs5Pbkd2
Botan::PKCS11::MechanismType::WtlsMasterKeyDeriveDhEcc
@ WtlsMasterKeyDeriveDhEcc
Botan::PKCS11::MechanismType::Rc2KeyGen
@ Rc2KeyGen
Botan::PKCS11::MechanismType::Des3CbcEncryptData
@ Des3CbcEncryptData
Botan::PKCS11::MechanismType::BatonKeyGen
@ BatonKeyGen
Botan::PKCS11::MechanismType::Sha256RsaPkcsPss
@ Sha256RsaPkcsPss
Botan::PKCS11::MechanismType::Cast128MacGeneral
@ Cast128MacGeneral
Botan::PKCS11::MechanismType::Ripemd160
@ Ripemd160
Botan::PKCS11::MechanismType::CamelliaCbc
@ CamelliaCbc
Botan::PKCS11::MechanismType::Sha512
@ Sha512
Botan::PKCS11::MechanismType::CamelliaEcbEncryptData
@ CamelliaEcbEncryptData
Botan::PKCS11::MechanismType::X942MqvDerive
@ X942MqvDerive
Botan::PKCS11::MechanismType::AesCfb64
@ AesCfb64
Botan::PKCS11::MechanismType::BatonCbc128
@ BatonCbc128
Botan::PKCS11::MechanismType::Cast3CbcPad
@ Cast3CbcPad
Botan::PKCS11::MechanismType::SkipjackKeyGen
@ SkipjackKeyGen
Botan::PKCS11::MechanismType::Cast3Ecb
@ Cast3Ecb
Botan::PKCS11::MechanismType::IdeaMac
@ IdeaMac
Botan::PKCS11::MechanismType::Gostr3410KeyWrap
@ Gostr3410KeyWrap
Botan::PKCS11::MechanismType::Cast128KeyGen
@ Cast128KeyGen
Botan::PKCS11::MechanismType::KipMac
@ KipMac
Botan::PKCS11::MechanismType::AriaCbcEncryptData
@ AriaCbcEncryptData
Botan::PKCS11::MechanismType::Sha1KeyDerivation
@ Sha1KeyDerivation
Botan::PKCS11::MechanismType::BlowfishCbc
@ BlowfishCbc
Botan::PKCS11::MechanismType::CdmfMac
@ CdmfMac
Botan::PKCS11::MechanismType::BlowfishKeyGen
@ BlowfishKeyGen
Botan::PKCS11::MechanismType::Ripemd128
@ Ripemd128
Botan::PKCS11::MechanismType::Sha384RsaPkcs
@ Sha384RsaPkcs
Botan::PKCS11::MechanismType::DesCbcPad
@ DesCbcPad
Botan::PKCS11::MechanismType::KeaKeyPairGen
@ KeaKeyPairGen
Botan::PKCS11::MechanismType::Des3CbcPad
@ Des3CbcPad
Botan::PKCS11::MechanismType::Sha1HmacGeneral
@ Sha1HmacGeneral
Botan::PKCS11::MechanismType::DesEcb
@ DesEcb
Botan::PKCS11::MechanismType::GenericSecretKeyGen
@ GenericSecretKeyGen
Botan::PKCS11::MechanismType::Gostr3410Derive
@ Gostr3410Derive
Botan::PKCS11::MechanismType::RsaPkcsTpm11
@ RsaPkcsTpm11
Botan::PKCS11::MechanismType::EcmqvDerive
@ EcmqvDerive
Botan::PKCS11::MechanismType::PbeMd5Cast5Cbc
@ PbeMd5Cast5Cbc
Botan::PKCS11::MechanismType::Sha256KeyDerivation
@ Sha256KeyDerivation
Botan::PKCS11::MechanismType::SkipjackCfb32
@ SkipjackCfb32
Botan::PKCS11::MechanismType::DesCbcEncryptData
@ DesCbcEncryptData
Botan::PKCS11::MechanismType::AesEcb
@ AesEcb
Botan::PKCS11::MechanismType::Gost28147KeyWrap
@ Gost28147KeyWrap
Botan::PKCS11::MechanismType::Ripemd128RsaPkcs
@ Ripemd128RsaPkcs
Botan::PKCS11::MechanismType::Sha512224Hmac
@ Sha512224Hmac
Botan::PKCS11::MechanismType::CdmfCbcPad
@ CdmfCbcPad
CKM_SEED_KEY_GEN
#define CKM_SEED_KEY_GEN
Definition: pkcs11t.h:856
CKM_TLS_MASTER_KEY_DERIVE
#define CKM_TLS_MASTER_KEY_DERIVE
Definition: pkcs11t.h:775
CKM_DSA_PARAMETER_GEN
#define CKM_DSA_PARAMETER_GEN
Definition: pkcs11t.h:957
CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE
#define CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE
Definition: pkcs11t.h:816
CKM_CONCATENATE_BASE_AND_DATA
#define CKM_CONCATENATE_BASE_AND_DATA
Definition: pkcs11t.h:765
CKM_PKCS5_PBKD2
#define CKM_PKCS5_PBKD2
Definition: pkcs11t.h:807
CKM_AES_GMAC
#define CKM_AES_GMAC
Definition: pkcs11t.h:928
CKM_KIP_DERIVE
#define CKM_KIP_DERIVE
Definition: pkcs11t.h:833
CKM_SSL3_SHA1_MAC
#define CKM_SSL3_SHA1_MAC
Definition: pkcs11t.h:782
CKM_SSL3_MASTER_KEY_DERIVE
#define CKM_SSL3_MASTER_KEY_DERIVE
Definition: pkcs11t.h:770
CKM_RSA_PKCS
#define CKM_RSA_PKCS
Definition: pkcs11t.h:587
CKM_ECDSA_SHA1
#define CKM_ECDSA_SHA1
Definition: pkcs11t.h:892
CKM_IDEA_ECB
#define CKM_IDEA_ECB
Definition: pkcs11t.h:758
CKM_GOSTR3411_HMAC
#define CKM_GOSTR3411_HMAC
Definition: pkcs11t.h:950
CKM_WTLS_PRE_MASTER_KEY_GEN
#define CKM_WTLS_PRE_MASTER_KEY_GEN
Definition: pkcs11t.h:811
CKM_DES3_CMAC
#define CKM_DES3_CMAC
Definition: pkcs11t.h:672
CKM_RC2_MAC
#define CKM_RC2_MAC
Definition: pkcs11t.h:648
CKM_SHA256_KEY_DERIVATION
#define CKM_SHA256_KEY_DERIVATION
Definition: pkcs11t.h:787
CKM_CAST5_MAC_GENERAL
#define CKM_CAST5_MAC_GENERAL
Definition: pkcs11t.h:747
CKM_RSA_X_509
#define CKM_RSA_X_509
Definition: pkcs11t.h:589
CKM_SEED_MAC_GENERAL
#define CKM_SEED_MAC_GENERAL
Definition: pkcs11t.h:860
CKM_ARIA_KEY_GEN
#define CKM_ARIA_KEY_GEN
Definition: pkcs11t.h:847
CKM_DSA_PROBABLISTIC_PARAMETER_GEN
#define CKM_DSA_PROBABLISTIC_PARAMETER_GEN
Definition: pkcs11t.h:960
CKM_AES_CTR
#define CKM_AES_CTR
Definition: pkcs11t.h:919
CKM_TLS12_MAC
#define CKM_TLS12_MAC
Definition: pkcs11t.h:820
CKM_DES3_CBC
#define CKM_DES3_CBC
Definition: pkcs11t.h:666
CKM_TWOFISH_CBC_PAD
#define CKM_TWOFISH_CBC_PAD
Definition: pkcs11t.h:935
CKM_AES_CMAC
#define CKM_AES_CMAC
Definition: pkcs11t.h:923
CKM_SKIPJACK_CFB8
#define CKM_SKIPJACK_CFB8
Definition: pkcs11t.h:872
CKM_RSA_X9_31_KEY_PAIR_GEN
#define CKM_RSA_X9_31_KEY_PAIR_GEN
Definition: pkcs11t.h:599
CKM_CONCATENATE_BASE_AND_KEY
#define CKM_CONCATENATE_BASE_AND_KEY
Definition: pkcs11t.h:764
CKM_SHA512_256
#define CKM_SHA512_256
Definition: pkcs11t.h:635
CKM_SEED_ECB_ENCRYPT_DATA
#define CKM_SEED_ECB_ENCRYPT_DATA
Definition: pkcs11t.h:862
CKM_FORTEZZA_TIMESTAMP
#define CKM_FORTEZZA_TIMESTAMP
Definition: pkcs11t.h:879
CKM_MD5
#define CKM_MD5
Definition: pkcs11t.h:690
CKM_SHA512_HMAC_GENERAL
#define CKM_SHA512_HMAC_GENERAL
Definition: pkcs11t.h:718
CKM_CAST3_ECB
#define CKM_CAST3_ECB
Definition: pkcs11t.h:733
CKM_SKIPJACK_CFB64
#define CKM_SKIPJACK_CFB64
Definition: pkcs11t.h:869
CKM_DES_CBC_ENCRYPT_DATA
#define CKM_DES_CBC_ENCRYPT_DATA
Definition: pkcs11t.h:938
CKM_SHA_1_HMAC
#define CKM_SHA_1_HMAC
Definition: pkcs11t.h:697
CKM_CAMELLIA_MAC
#define CKM_CAMELLIA_MAC
Definition: pkcs11t.h:840
CKM_IDEA_KEY_GEN
#define CKM_IDEA_KEY_GEN
Definition: pkcs11t.h:757
CKM_ECDH1_COFACTOR_DERIVE
#define CKM_ECDH1_COFACTOR_DERIVE
Definition: pkcs11t.h:899
CKM_ARIA_CBC_ENCRYPT_DATA
#define CKM_ARIA_CBC_ENCRYPT_DATA
Definition: pkcs11t.h:854
CKM_CAMELLIA_KEY_GEN
#define CKM_CAMELLIA_KEY_GEN
Definition: pkcs11t.h:837
CKM_ECDSA_SHA224
#define CKM_ECDSA_SHA224
Definition: pkcs11t.h:893
CKM_BATON_KEY_GEN
#define CKM_BATON_KEY_GEN
Definition: pkcs11t.h:880
CKM_MD2
#define CKM_MD2
Definition: pkcs11t.h:685
CKM_BATON_CBC128
#define CKM_BATON_CBC128
Definition: pkcs11t.h:883
CKM_DSA
#define CKM_DSA
Definition: pkcs11t.h:606
CKM_AES_CFB8
#define CKM_AES_CFB8
Definition: pkcs11t.h:965
CKM_CMS_SIG
#define CKM_CMS_SIG
Definition: pkcs11t.h:832
CKM_RIPEMD128
#define CKM_RIPEMD128
Definition: pkcs11t.h:700
CKM_AES_CBC_PAD
#define CKM_AES_CBC_PAD
Definition: pkcs11t.h:918
CKM_CAST3_CBC
#define CKM_CAST3_CBC
Definition: pkcs11t.h:734
CKM_ECDH1_DERIVE
#define CKM_ECDH1_DERIVE
Definition: pkcs11t.h:898
CKM_VENDOR_DEFINED
#define CKM_VENDOR_DEFINED
Definition: pkcs11t.h:975
CKM_TWOFISH_KEY_GEN
#define CKM_TWOFISH_KEY_GEN
Definition: pkcs11t.h:932
CKM_SHA512_224_HMAC_GENERAL
#define CKM_SHA512_224_HMAC_GENERAL
Definition: pkcs11t.h:633
CKM_SKIPJACK_RELAYX
#define CKM_SKIPJACK_RELAYX
Definition: pkcs11t.h:875
CKM_SHA512_224_HMAC
#define CKM_SHA512_224_HMAC
Definition: pkcs11t.h:632
CKM_MD5_HMAC_GENERAL
#define CKM_MD5_HMAC_GENERAL
Definition: pkcs11t.h:693
CKM_MD2_RSA_PKCS
#define CKM_MD2_RSA_PKCS
Definition: pkcs11t.h:591
CKM_SHA_1_HMAC_GENERAL
#define CKM_SHA_1_HMAC_GENERAL
Definition: pkcs11t.h:698
CKM_TLS10_MAC_CLIENT
#define CKM_TLS10_MAC_CLIENT
Definition: pkcs11t.h:819
CKM_JUNIPER_ECB128
#define CKM_JUNIPER_ECB128
Definition: pkcs11t.h:906
CKM_SKIPJACK_CBC64
#define CKM_SKIPJACK_CBC64
Definition: pkcs11t.h:867
CKM_DES_ECB
#define CKM_DES_ECB
Definition: pkcs11t.h:656
CKM_CAST_CBC
#define CKM_CAST_CBC
Definition: pkcs11t.h:728
CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE
#define CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE
Definition: pkcs11t.h:815
CKM_PBE_SHA1_DES2_EDE_CBC
#define CKM_PBE_SHA1_DES2_EDE_CBC
Definition: pkcs11t.h:803
CKM_X9_42_DH_KEY_PAIR_GEN
#define CKM_X9_42_DH_KEY_PAIR_GEN
Definition: pkcs11t.h:616
CKM_RC5_MAC
#define CKM_RC5_MAC
Definition: pkcs11t.h:754
CKM_RSA_PKCS_KEY_PAIR_GEN
#define CKM_RSA_PKCS_KEY_PAIR_GEN
Definition: pkcs11t.h:586
CKM_RC2_CBC
#define CKM_RC2_CBC
Definition: pkcs11t.h:647
CKM_PBE_MD5_CAST5_CBC
#define CKM_PBE_MD5_CAST5_CBC
Definition: pkcs11t.h:796
CKM_KEA_KEY_DERIVE
#define CKM_KEA_KEY_DERIVE
Definition: pkcs11t.h:877
CKM_JUNIPER_KEY_GEN
#define CKM_JUNIPER_KEY_GEN
Definition: pkcs11t.h:905
CKM_RC5_CBC
#define CKM_RC5_CBC
Definition: pkcs11t.h:753
CKM_ARIA_CBC_PAD
#define CKM_ARIA_CBC_PAD
Definition: pkcs11t.h:852
CKM_SHA512_KEY_DERIVATION
#define CKM_SHA512_KEY_DERIVATION
Definition: pkcs11t.h:789
CKM_TLS_KDF
#define CKM_TLS_KDF
Definition: pkcs11t.h:827
CKM_AES_MAC_GENERAL
#define CKM_AES_MAC_GENERAL
Definition: pkcs11t.h:917
CKM_CAST128_CBC_PAD
#define CKM_CAST128_CBC_PAD
Definition: pkcs11t.h:750
CKM_BATON_ECB128
#define CKM_BATON_ECB128
Definition: pkcs11t.h:881
CKM_BLOWFISH_CBC
#define CKM_BLOWFISH_CBC
Definition: pkcs11t.h:931
CKM_FASTHASH
#define CKM_FASTHASH
Definition: pkcs11t.h:911
CKM_ARIA_ECB
#define CKM_ARIA_ECB
Definition: pkcs11t.h:848
CKM_DES_CBC
#define CKM_DES_CBC
Definition: pkcs11t.h:657
CKM_CAST5_MAC
#define CKM_CAST5_MAC
Definition: pkcs11t.h:745
CKM_SHA384_HMAC_GENERAL
#define CKM_SHA384_HMAC_GENERAL
Definition: pkcs11t.h:715
CKM_SECURID_KEY_GEN
#define CKM_SECURID_KEY_GEN
Definition: pkcs11t.h:719
CKM_IDEA_MAC_GENERAL
#define CKM_IDEA_MAC_GENERAL
Definition: pkcs11t.h:761
CKM_TLS_KEY_AND_MAC_DERIVE
#define CKM_TLS_KEY_AND_MAC_DERIVE
Definition: pkcs11t.h:776
CKM_GOST28147_ECB
#define CKM_GOST28147_ECB
Definition: pkcs11t.h:952
CKM_SECURID
#define CKM_SECURID
Definition: pkcs11t.h:720
CKM_AES_CCM
#define CKM_AES_CCM
Definition: pkcs11t.h:921
CKM_SHA512_224_KEY_DERIVATION
#define CKM_SHA512_224_KEY_DERIVATION
Definition: pkcs11t.h:634
CKM_SHA256
#define CKM_SHA256
Definition: pkcs11t.h:707
CKM_IDEA_CBC_PAD
#define CKM_IDEA_CBC_PAD
Definition: pkcs11t.h:762
CKM_SHA512_T_HMAC_GENERAL
#define CKM_SHA512_T_HMAC_GENERAL
Definition: pkcs11t.h:642
CKM_CDMF_CBC_PAD
#define CKM_CDMF_CBC_PAD
Definition: pkcs11t.h:678
CKM_AES_CFB64
#define CKM_AES_CFB64
Definition: pkcs11t.h:964
CKM_TLS_MASTER_KEY_DERIVE_DH
#define CKM_TLS_MASTER_KEY_DERIVE_DH
Definition: pkcs11t.h:777
CKM_DES_KEY_GEN
#define CKM_DES_KEY_GEN
Definition: pkcs11t.h:655
CKM_CAST3_MAC_GENERAL
#define CKM_CAST3_MAC_GENERAL
Definition: pkcs11t.h:736
CKM_CAST5_CBC_PAD
#define CKM_CAST5_CBC_PAD
Definition: pkcs11t.h:749
CKM_PBE_SHA1_RC2_128_CBC
#define CKM_PBE_SHA1_RC2_128_CBC
Definition: pkcs11t.h:804
CKM_DSA_SHA512
#define CKM_DSA_SHA512
Definition: pkcs11t.h:611
CKM_SSL3_PRE_MASTER_KEY_GEN
#define CKM_SSL3_PRE_MASTER_KEY_GEN
Definition: pkcs11t.h:769
CKM_SSL3_MASTER_KEY_DERIVE_DH
#define CKM_SSL3_MASTER_KEY_DERIVE_DH
Definition: pkcs11t.h:773
CKM_IDEA_MAC
#define CKM_IDEA_MAC
Definition: pkcs11t.h:760
CKM_MD5_RSA_PKCS
#define CKM_MD5_RSA_PKCS
Definition: pkcs11t.h:592
CKM_DSA_SHA384
#define CKM_DSA_SHA384
Definition: pkcs11t.h:610
CKM_RIPEMD128_HMAC_GENERAL
#define CKM_RIPEMD128_HMAC_GENERAL
Definition: pkcs11t.h:702
CKM_PBA_SHA1_WITH_SHA1_HMAC
#define CKM_PBA_SHA1_WITH_SHA1_HMAC
Definition: pkcs11t.h:809
CKM_DES_CBC_PAD
#define CKM_DES_CBC_PAD
Definition: pkcs11t.h:661
CKM_SHA512_T
#define CKM_SHA512_T
Definition: pkcs11t.h:640
CKM_DES3_CBC_PAD
#define CKM_DES3_CBC_PAD
Definition: pkcs11t.h:670
CKM_SHA512_T_KEY_DERIVATION
#define CKM_SHA512_T_KEY_DERIVATION
Definition: pkcs11t.h:643
CKM_KEA_DERIVE
#define CKM_KEA_DERIVE
Definition: pkcs11t.h:878
CKM_DH_PKCS_DERIVE
#define CKM_DH_PKCS_DERIVE
Definition: pkcs11t.h:614
CKM_CAMELLIA_MAC_GENERAL
#define CKM_CAMELLIA_MAC_GENERAL
Definition: pkcs11t.h:841
CKM_MD2_HMAC_GENERAL
#define CKM_MD2_HMAC_GENERAL
Definition: pkcs11t.h:688
CKM_SEED_CBC_ENCRYPT_DATA
#define CKM_SEED_CBC_ENCRYPT_DATA
Definition: pkcs11t.h:863
CKM_DES3_CMAC_GENERAL
#define CKM_DES3_CMAC_GENERAL
Definition: pkcs11t.h:671
CKM_CAST128_MAC_GENERAL
#define CKM_CAST128_MAC_GENERAL
Definition: pkcs11t.h:748
CKM_ARIA_CBC
#define CKM_ARIA_CBC
Definition: pkcs11t.h:849
CKM_CAMELLIA_CTR
#define CKM_CAMELLIA_CTR
Definition: pkcs11t.h:845
CKM_PBE_SHA1_RC4_40
#define CKM_PBE_SHA1_RC4_40
Definition: pkcs11t.h:801
CKM_PBE_SHA1_CAST5_CBC
#define CKM_PBE_SHA1_CAST5_CBC
Definition: pkcs11t.h:798
CKM_TLS10_MAC_SERVER
#define CKM_TLS10_MAC_SERVER
Definition: pkcs11t.h:818
CKM_X9_42_DH_DERIVE
#define CKM_X9_42_DH_DERIVE
Definition: pkcs11t.h:617
CKM_AES_KEY_WRAP
#define CKM_AES_KEY_WRAP
Definition: pkcs11t.h:969
CKM_SKIPJACK_PRIVATE_WRAP
#define CKM_SKIPJACK_PRIVATE_WRAP
Definition: pkcs11t.h:874
CKM_KEY_WRAP_LYNKS
#define CKM_KEY_WRAP_LYNKS
Definition: pkcs11t.h:829
CKM_SHA512_RSA_PKCS_PSS
#define CKM_SHA512_RSA_PKCS_PSS
Definition: pkcs11t.h:626
CKM_CAST5_KEY_GEN
#define CKM_CAST5_KEY_GEN
Definition: pkcs11t.h:739
CKM_CAMELLIA_CBC
#define CKM_CAMELLIA_CBC
Definition: pkcs11t.h:839
CKM_ECDSA_SHA512
#define CKM_ECDSA_SHA512
Definition: pkcs11t.h:896
CKM_RSA_PKCS_OAEP
#define CKM_RSA_PKCS_OAEP
Definition: pkcs11t.h:597
CKM_DES_OFB64
#define CKM_DES_OFB64
Definition: pkcs11t.h:680
CKM_PBE_SHA1_RC4_128
#define CKM_PBE_SHA1_RC4_128
Definition: pkcs11t.h:800
CKM_CDMF_MAC
#define CKM_CDMF_MAC
Definition: pkcs11t.h:676
CKM_RSA_PKCS_OAEP_TPM_1_1
#define CKM_RSA_PKCS_OAEP_TPM_1_1
Definition: pkcs11t.h:973
CKM_SHA512_RSA_PKCS
#define CKM_SHA512_RSA_PKCS
Definition: pkcs11t.h:623
CKM_DES3_MAC_GENERAL
#define CKM_DES3_MAC_GENERAL
Definition: pkcs11t.h:669
CKM_CAST_CBC_PAD
#define CKM_CAST_CBC_PAD
Definition: pkcs11t.h:731
CKM_SHA224_HMAC
#define CKM_SHA224_HMAC
Definition: pkcs11t.h:711
CKM_CAST5_CBC
#define CKM_CAST5_CBC
Definition: pkcs11t.h:743
CKM_SSL3_MD5_MAC
#define CKM_SSL3_MD5_MAC
Definition: pkcs11t.h:781
CKM_EXTRACT_KEY_FROM_KEY
#define CKM_EXTRACT_KEY_FROM_KEY
Definition: pkcs11t.h:768
CKM_SKIPJACK_CFB32
#define CKM_SKIPJACK_CFB32
Definition: pkcs11t.h:870
CKM_ECMQV_DERIVE
#define CKM_ECMQV_DERIVE
Definition: pkcs11t.h:900
CKM_AES_KEY_GEN
#define CKM_AES_KEY_GEN
Definition: pkcs11t.h:913
CKM_CAST_MAC_GENERAL
#define CKM_CAST_MAC_GENERAL
Definition: pkcs11t.h:730
CKM_IDEA_CBC
#define CKM_IDEA_CBC
Definition: pkcs11t.h:759
CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC
#define CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC
Definition: pkcs11t.h:813
CKM_DSA_KEY_PAIR_GEN
#define CKM_DSA_KEY_PAIR_GEN
Definition: pkcs11t.h:605
CKM_RC4_KEY_GEN
#define CKM_RC4_KEY_GEN
Definition: pkcs11t.h:653
CKM_ACTI_KEY_GEN
#define CKM_ACTI_KEY_GEN
Definition: pkcs11t.h:724
CKM_SHA224
#define CKM_SHA224
Definition: pkcs11t.h:710
CKM_SHA1_RSA_X9_31
#define CKM_SHA1_RSA_X9_31
Definition: pkcs11t.h:601
CKM_AES_CBC_ENCRYPT_DATA
#define CKM_AES_CBC_ENCRYPT_DATA
Definition: pkcs11t.h:942
CKM_GOSTR3410
#define CKM_GOSTR3410
Definition: pkcs11t.h:945
CKM_CAMELLIA_CBC_PAD
#define CKM_CAMELLIA_CBC_PAD
Definition: pkcs11t.h:842
CKM_CAMELLIA_ECB_ENCRYPT_DATA
#define CKM_CAMELLIA_ECB_ENCRYPT_DATA
Definition: pkcs11t.h:843
CKM_SKIPJACK_CFB16
#define CKM_SKIPJACK_CFB16
Definition: pkcs11t.h:871
CKM_WTLS_MASTER_KEY_DERIVE
#define CKM_WTLS_MASTER_KEY_DERIVE
Definition: pkcs11t.h:812
CKM_SKIPJACK_KEY_GEN
#define CKM_SKIPJACK_KEY_GEN
Definition: pkcs11t.h:865
CKM_GOST28147_KEY_WRAP
#define CKM_GOST28147_KEY_WRAP
Definition: pkcs11t.h:955
CKM_SHA224_RSA_PKCS_PSS
#define CKM_SHA224_RSA_PKCS_PSS
Definition: pkcs11t.h:629
CKM_MD5_KEY_DERIVATION
#define CKM_MD5_KEY_DERIVATION
Definition: pkcs11t.h:783
CKM_BATON_ECB96
#define CKM_BATON_ECB96
Definition: pkcs11t.h:882
CKM_CAST3_MAC
#define CKM_CAST3_MAC
Definition: pkcs11t.h:735
CKM_CDMF_KEY_GEN
#define CKM_CDMF_KEY_GEN
Definition: pkcs11t.h:673
CKM_SHA512_224
#define CKM_SHA512_224
Definition: pkcs11t.h:631
CKM_KEA_KEY_PAIR_GEN
#define CKM_KEA_KEY_PAIR_GEN
Definition: pkcs11t.h:876
CKM_SHA256_HMAC
#define CKM_SHA256_HMAC
Definition: pkcs11t.h:708
CKM_X9_42_MQV_DERIVE
#define CKM_X9_42_MQV_DERIVE
Definition: pkcs11t.h:619
CKM_GOST28147
#define CKM_GOST28147
Definition: pkcs11t.h:953
CKM_CDMF_ECB
#define CKM_CDMF_ECB
Definition: pkcs11t.h:674
CKM_TLS12_MASTER_KEY_DERIVE
#define CKM_TLS12_MASTER_KEY_DERIVE
Definition: pkcs11t.h:822
CKM_BATON_SHUFFLE
#define CKM_BATON_SHUFFLE
Definition: pkcs11t.h:885
CKM_SHA512_256_HMAC_GENERAL
#define CKM_SHA512_256_HMAC_GENERAL
Definition: pkcs11t.h:637
CKM_RC5_MAC_GENERAL
#define CKM_RC5_MAC_GENERAL
Definition: pkcs11t.h:755
CKM_RC2_CBC_PAD
#define CKM_RC2_CBC_PAD
Definition: pkcs11t.h:651
CKM_SEED_CBC_PAD
#define CKM_SEED_CBC_PAD
Definition: pkcs11t.h:861
CKM_GENERIC_SECRET_KEY_GEN
#define CKM_GENERIC_SECRET_KEY_GEN
Definition: pkcs11t.h:763
CKM_DH_PKCS_KEY_PAIR_GEN
#define CKM_DH_PKCS_KEY_PAIR_GEN
Definition: pkcs11t.h:613
CKM_DES3_ECB_ENCRYPT_DATA
#define CKM_DES3_ECB_ENCRYPT_DATA
Definition: pkcs11t.h:939
CKM_CDMF_MAC_GENERAL
#define CKM_CDMF_MAC_GENERAL
Definition: pkcs11t.h:677
CKM_SHA384
#define CKM_SHA384
Definition: pkcs11t.h:713
CKM_TLS_PRE_MASTER_KEY_GEN
#define CKM_TLS_PRE_MASTER_KEY_GEN
Definition: pkcs11t.h:774
CKM_EC_KEY_PAIR_GEN
#define CKM_EC_KEY_PAIR_GEN
Definition: pkcs11t.h:889
CKM_RC5_KEY_GEN
#define CKM_RC5_KEY_GEN
Definition: pkcs11t.h:751
CKM_AES_GCM
#define CKM_AES_GCM
Definition: pkcs11t.h:920
CKM_DH_PKCS_PARAMETER_GEN
#define CKM_DH_PKCS_PARAMETER_GEN
Definition: pkcs11t.h:958
CKM_PBE_MD5_CAST128_CBC
#define CKM_PBE_MD5_CAST128_CBC
Definition: pkcs11t.h:797
CKM_SHA384_HMAC
#define CKM_SHA384_HMAC
Definition: pkcs11t.h:714
CKM_CDMF_CBC
#define CKM_CDMF_CBC
Definition: pkcs11t.h:675
CKM_RC5_CBC_PAD
#define CKM_RC5_CBC_PAD
Definition: pkcs11t.h:756
CKM_SHA1_RSA_PKCS
#define CKM_SHA1_RSA_PKCS
Definition: pkcs11t.h:593
CKM_SHA512
#define CKM_SHA512
Definition: pkcs11t.h:716
CKM_MD2_KEY_DERIVATION
#define CKM_MD2_KEY_DERIVATION
Definition: pkcs11t.h:784
CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN
#define CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN
Definition: pkcs11t.h:961
CKM_ARIA_MAC_GENERAL
#define CKM_ARIA_MAC_GENERAL
Definition: pkcs11t.h:851
CKM_CAMELLIA_CBC_ENCRYPT_DATA
#define CKM_CAMELLIA_CBC_ENCRYPT_DATA
Definition: pkcs11t.h:844
CKM_AES_CFB128
#define CKM_AES_CFB128
Definition: pkcs11t.h:966
CKM_AES_CMAC_GENERAL
#define CKM_AES_CMAC_GENERAL
Definition: pkcs11t.h:924
CKM_PBE_MD5_CAST_CBC
#define CKM_PBE_MD5_CAST_CBC
Definition: pkcs11t.h:794
CKM_SHA1_KEY_DERIVATION
#define CKM_SHA1_KEY_DERIVATION
Definition: pkcs11t.h:785
CKM_RIPEMD160
#define CKM_RIPEMD160
Definition: pkcs11t.h:703
CKM_RSA_9796
#define CKM_RSA_9796
Definition: pkcs11t.h:588
CKM_JUNIPER_WRAP
#define CKM_JUNIPER_WRAP
Definition: pkcs11t.h:910
CKM_CAST_ECB
#define CKM_CAST_ECB
Definition: pkcs11t.h:727
CKM_BATON_COUNTER
#define CKM_BATON_COUNTER
Definition: pkcs11t.h:884
CKM_CAST3_KEY_GEN
#define CKM_CAST3_KEY_GEN
Definition: pkcs11t.h:732
CKM_TLS_PRF
#define CKM_TLS_PRF
Definition: pkcs11t.h:779
CKM_JUNIPER_CBC128
#define CKM_JUNIPER_CBC128
Definition: pkcs11t.h:907
CKM_SHA224_RSA_PKCS
#define CKM_SHA224_RSA_PKCS
Definition: pkcs11t.h:628
CKM_PBE_SHA1_DES3_EDE_CBC
#define CKM_PBE_SHA1_DES3_EDE_CBC
Definition: pkcs11t.h:802
CKM_RIPEMD160_RSA_PKCS
#define CKM_RIPEMD160_RSA_PKCS
Definition: pkcs11t.h:596
CKM_AES_CTS
#define CKM_AES_CTS
Definition: pkcs11t.h:922
CKM_X9_42_DH_PARAMETER_GEN
#define CKM_X9_42_DH_PARAMETER_GEN
Definition: pkcs11t.h:959
CKM_JUNIPER_COUNTER
#define CKM_JUNIPER_COUNTER
Definition: pkcs11t.h:908
CKM_SHA512_256_HMAC
#define CKM_SHA512_256_HMAC
Definition: pkcs11t.h:636
CKM_KIP_WRAP
#define CKM_KIP_WRAP
Definition: pkcs11t.h:834
CKM_TLS12_KEY_SAFE_DERIVE
#define CKM_TLS12_KEY_SAFE_DERIVE
Definition: pkcs11t.h:825
CKM_PBE_SHA1_CAST128_CBC
#define CKM_PBE_SHA1_CAST128_CBC
Definition: pkcs11t.h:799
CKM_TLS12_KDF
#define CKM_TLS12_KDF
Definition: pkcs11t.h:821
CKM_AES_KEY_WRAP_PAD
#define CKM_AES_KEY_WRAP_PAD
Definition: pkcs11t.h:970
CKM_CONCATENATE_DATA_AND_BASE
#define CKM_CONCATENATE_DATA_AND_BASE
Definition: pkcs11t.h:766
CKM_GOSTR3410_KEY_WRAP
#define CKM_GOSTR3410_KEY_WRAP
Definition: pkcs11t.h:947
CKM_XOR_BASE_AND_DATA
#define CKM_XOR_BASE_AND_DATA
Definition: pkcs11t.h:767
CKM_ECDSA
#define CKM_ECDSA
Definition: pkcs11t.h:891
CKM_ECDSA_SHA384
#define CKM_ECDSA_SHA384
Definition: pkcs11t.h:895
CKM_RSA_X9_31
#define CKM_RSA_X9_31
Definition: pkcs11t.h:600
CKM_GOST28147_KEY_GEN
#define CKM_GOST28147_KEY_GEN
Definition: pkcs11t.h:951
CKM_GOSTR3411
#define CKM_GOSTR3411
Definition: pkcs11t.h:949
CKM_PBE_MD2_DES_CBC
#define CKM_PBE_MD2_DES_CBC
Definition: pkcs11t.h:792
CKM_DES_OFB8
#define CKM_DES_OFB8
Definition: pkcs11t.h:681
CKM_RIPEMD160_HMAC
#define CKM_RIPEMD160_HMAC
Definition: pkcs11t.h:704
CKM_HOTP
#define CKM_HOTP
Definition: pkcs11t.h:722
CKM_KEY_WRAP_SET_OAEP
#define CKM_KEY_WRAP_SET_OAEP
Definition: pkcs11t.h:830
CKM_KIP_MAC
#define CKM_KIP_MAC
Definition: pkcs11t.h:835
CKM_CAST3_CBC_PAD
#define CKM_CAST3_CBC_PAD
Definition: pkcs11t.h:737
CKM_DSA_SHA224
#define CKM_DSA_SHA224
Definition: pkcs11t.h:608
CKM_TLS_MAC
#define CKM_TLS_MAC
Definition: pkcs11t.h:826
CKM_CAST5_ECB
#define CKM_CAST5_ECB
Definition: pkcs11t.h:741
CKM_DES_CFB64
#define CKM_DES_CFB64
Definition: pkcs11t.h:682
CKM_AES_CFB1
#define CKM_AES_CFB1
Definition: pkcs11t.h:968
CKM_DES_ECB_ENCRYPT_DATA
#define CKM_DES_ECB_ENCRYPT_DATA
Definition: pkcs11t.h:937
CKM_PBE_SHA1_RC2_40_CBC
#define CKM_PBE_SHA1_RC2_40_CBC
Definition: pkcs11t.h:805
CKM_GOSTR3410_DERIVE
#define CKM_GOSTR3410_DERIVE
Definition: pkcs11t.h:948
CKM_SHA256_HMAC_GENERAL
#define CKM_SHA256_HMAC_GENERAL
Definition: pkcs11t.h:709
CKM_AES_ECB_ENCRYPT_DATA
#define CKM_AES_ECB_ENCRYPT_DATA
Definition: pkcs11t.h:941
CKM_RIPEMD128_RSA_PKCS
#define CKM_RIPEMD128_RSA_PKCS
Definition: pkcs11t.h:595
CKM_ECDSA_SHA256
#define CKM_ECDSA_SHA256
Definition: pkcs11t.h:894
CKM_BATON_WRAP
#define CKM_BATON_WRAP
Definition: pkcs11t.h:886
CKM_AES_OFB
#define CKM_AES_OFB
Definition: pkcs11t.h:963
CKM_HOTP_KEY_GEN
#define CKM_HOTP_KEY_GEN
Definition: pkcs11t.h:721
CKM_TWOFISH_CBC
#define CKM_TWOFISH_CBC
Definition: pkcs11t.h:933
CKM_RIPEMD128_HMAC
#define CKM_RIPEMD128_HMAC
Definition: pkcs11t.h:701
CKM_ACTI
#define CKM_ACTI
Definition: pkcs11t.h:723
CKM_CAST_KEY_GEN
#define CKM_CAST_KEY_GEN
Definition: pkcs11t.h:726
CKM_DES3_KEY_GEN
#define CKM_DES3_KEY_GEN
Definition: pkcs11t.h:664
CKM_DES3_CBC_ENCRYPT_DATA
#define CKM_DES3_CBC_ENCRYPT_DATA
Definition: pkcs11t.h:940
CKM_CAST128_MAC
#define CKM_CAST128_MAC
Definition: pkcs11t.h:746
CKM_MD5_HMAC
#define CKM_MD5_HMAC
Definition: pkcs11t.h:692
CKM_DES3_ECB
#define CKM_DES3_ECB
Definition: pkcs11t.h:665
CKM_AES_CBC
#define CKM_AES_CBC
Definition: pkcs11t.h:915
CKM_SEED_MAC
#define CKM_SEED_MAC
Definition: pkcs11t.h:859
CKM_AES_MAC
#define CKM_AES_MAC
Definition: pkcs11t.h:916
CKM_SHA256_RSA_PKCS_PSS
#define CKM_SHA256_RSA_PKCS_PSS
Definition: pkcs11t.h:624
CKM_SKIPJACK_WRAP
#define CKM_SKIPJACK_WRAP
Definition: pkcs11t.h:873
CKM_SKIPJACK_ECB64
#define CKM_SKIPJACK_ECB64
Definition: pkcs11t.h:866
CKM_SHA384_KEY_DERIVATION
#define CKM_SHA384_KEY_DERIVATION
Definition: pkcs11t.h:788
CKM_RSA_PKCS_PSS
#define CKM_RSA_PKCS_PSS
Definition: pkcs11t.h:602
CKM_SKIPJACK_OFB64
#define CKM_SKIPJACK_OFB64
Definition: pkcs11t.h:868
CKM_GOSTR3410_WITH_GOSTR3411
#define CKM_GOSTR3410_WITH_GOSTR3411
Definition: pkcs11t.h:946
CKM_SHA1_RSA_PKCS_PSS
#define CKM_SHA1_RSA_PKCS_PSS
Definition: pkcs11t.h:603
CKM_DES2_KEY_GEN
#define CKM_DES2_KEY_GEN
Definition: pkcs11t.h:663
CKM_GOSTR3410_KEY_PAIR_GEN
#define CKM_GOSTR3410_KEY_PAIR_GEN
Definition: pkcs11t.h:944
CKM_SHA512_256_KEY_DERIVATION
#define CKM_SHA512_256_KEY_DERIVATION
Definition: pkcs11t.h:638
CKM_SHA384_RSA_PKCS
#define CKM_SHA384_RSA_PKCS
Definition: pkcs11t.h:622
CKM_ARIA_MAC
#define CKM_ARIA_MAC
Definition: pkcs11t.h:850
CKM_SHA224_KEY_DERIVATION
#define CKM_SHA224_KEY_DERIVATION
Definition: pkcs11t.h:790
CKM_JUNIPER_SHUFFLE
#define CKM_JUNIPER_SHUFFLE
Definition: pkcs11t.h:909
CKM_SEED_ECB
#define CKM_SEED_ECB
Definition: pkcs11t.h:857
CKM_CAMELLIA_ECB
#define CKM_CAMELLIA_ECB
Definition: pkcs11t.h:838
CKM_ECDH_AES_KEY_WRAP
#define CKM_ECDH_AES_KEY_WRAP
Definition: pkcs11t.h:902
CKM_PBE_MD5_CAST3_CBC
#define CKM_PBE_MD5_CAST3_CBC
Definition: pkcs11t.h:795
CKM_RC4
#define CKM_RC4
Definition: pkcs11t.h:654
CKM_RSA_AES_KEY_WRAP
#define CKM_RSA_AES_KEY_WRAP
Definition: pkcs11t.h:903
CKM_PBE_MD5_DES_CBC
#define CKM_PBE_MD5_DES_CBC
Definition: pkcs11t.h:793
CKM_SHA512_T_HMAC
#define CKM_SHA512_T_HMAC
Definition: pkcs11t.h:641
CKM_SHA512_HMAC
#define CKM_SHA512_HMAC
Definition: pkcs11t.h:717
CKM_RIPEMD160_HMAC_GENERAL
#define CKM_RIPEMD160_HMAC_GENERAL
Definition: pkcs11t.h:705
CKM_SHA256_RSA_PKCS
#define CKM_SHA256_RSA_PKCS
Definition: pkcs11t.h:621
CKM_CAST_MAC
#define CKM_CAST_MAC
Definition: pkcs11t.h:729
CKM_RC2_MAC_GENERAL
#define CKM_RC2_MAC_GENERAL
Definition: pkcs11t.h:650
CKM_RC2_KEY_GEN
#define CKM_RC2_KEY_GEN
Definition: pkcs11t.h:645
CKM_CAST128_KEY_GEN
#define CKM_CAST128_KEY_GEN
Definition: pkcs11t.h:740
CKM_AES_XCBC_MAC
#define CKM_AES_XCBC_MAC
Definition: pkcs11t.h:926
CKM_SHA384_RSA_PKCS_PSS
#define CKM_SHA384_RSA_PKCS_PSS
Definition: pkcs11t.h:625
CKM_RSA_PKCS_TPM_1_1
#define CKM_RSA_PKCS_TPM_1_1
Definition: pkcs11t.h:972
CKM_SSL3_KEY_AND_MAC_DERIVE
#define CKM_SSL3_KEY_AND_MAC_DERIVE
Definition: pkcs11t.h:771
CKM_DES_MAC_GENERAL
#define CKM_DES_MAC_GENERAL
Definition: pkcs11t.h:660
CKM_CAST128_CBC
#define CKM_CAST128_CBC
Definition: pkcs11t.h:744
CKM_AES_ECB
#define CKM_AES_ECB
Definition: pkcs11t.h:914
CKM_ARIA_ECB_ENCRYPT_DATA
#define CKM_ARIA_ECB_ENCRYPT_DATA
Definition: pkcs11t.h:853
CKM_X9_42_DH_HYBRID_DERIVE
#define CKM_X9_42_DH_HYBRID_DERIVE
Definition: pkcs11t.h:618
CKM_BLOWFISH_KEY_GEN
#define CKM_BLOWFISH_KEY_GEN
Definition: pkcs11t.h:930
CKM_GOST28147_MAC
#define CKM_GOST28147_MAC
Definition: pkcs11t.h:954
CKM_CAST128_ECB
#define CKM_CAST128_ECB
Definition: pkcs11t.h:742
CKM_SEED_CBC
#define CKM_SEED_CBC
Definition: pkcs11t.h:858
CKM_DSA_SHA256
#define CKM_DSA_SHA256
Definition: pkcs11t.h:609
CKM_DES_CFB8
#define CKM_DES_CFB8
Definition: pkcs11t.h:683
CKM_BLOWFISH_CBC_PAD
#define CKM_BLOWFISH_CBC_PAD
Definition: pkcs11t.h:934
CKM_SHA_1
#define CKM_SHA_1
Definition: pkcs11t.h:695
CKM_DSA_SHA1
#define CKM_DSA_SHA1
Definition: pkcs11t.h:607
CKM_AES_XCBC_MAC_96
#define CKM_AES_XCBC_MAC_96
Definition: pkcs11t.h:927
CKM_ECDSA_KEY_PAIR_GEN
#define CKM_ECDSA_KEY_PAIR_GEN
Definition: pkcs11t.h:888
CKM_WTLS_PRF
#define CKM_WTLS_PRF
Definition: pkcs11t.h:814
CKM_DES_MAC
#define CKM_DES_MAC
Definition: pkcs11t.h:658
CKM_RC2_ECB
#define CKM_RC2_ECB
Definition: pkcs11t.h:646
CKM_TLS12_KEY_AND_MAC_DERIVE
#define CKM_TLS12_KEY_AND_MAC_DERIVE
Definition: pkcs11t.h:823
CKM_MD2_HMAC
#define CKM_MD2_HMAC
Definition: pkcs11t.h:687
CKM_TLS12_MASTER_KEY_DERIVE_DH
#define CKM_TLS12_MASTER_KEY_DERIVE_DH
Definition: pkcs11t.h:824
CKM_RC5_ECB
#define CKM_RC5_ECB
Definition: pkcs11t.h:752
CKM_SHA224_HMAC_GENERAL
#define CKM_SHA224_HMAC_GENERAL
Definition: pkcs11t.h:712
CKM_DES3_MAC
#define CKM_DES3_MAC
Definition: pkcs11t.h:667

## ◆ MGF

enum class Botan::PKCS11::MGF : CK_RSA_PKCS_MGF_TYPE
| strong

Enumerator
Mgf1Sha1 |
Mgf1Sha256 |
Mgf1Sha384 |
Mgf1Sha512 |
Mgf1Sha224 |

Definition at line 272 of file p11.h.

273 {
274 Mgf1Sha1 = CKG_MGF1_SHA1,
275 Mgf1Sha256 = CKG_MGF1_SHA256,
276 Mgf1Sha384 = CKG_MGF1_SHA384,
277 Mgf1Sha512 = CKG_MGF1_SHA512,
278 Mgf1Sha224 = CKG_MGF1_SHA224,
279 };
Botan::PKCS11::MGF::Mgf1Sha1
@ Mgf1Sha1
Botan::PKCS11::MGF::Mgf1Sha384
@ Mgf1Sha384
Botan::PKCS11::MGF::Mgf1Sha512
@ Mgf1Sha512
Botan::PKCS11::MGF::Mgf1Sha256
@ Mgf1Sha256
Botan::PKCS11::MGF::Mgf1Sha224
@ Mgf1Sha224
CKG_MGF1_SHA256
#define CKG_MGF1_SHA256
Definition: pkcs11t.h:1247
CKG_MGF1_SHA512
#define CKG_MGF1_SHA512
Definition: pkcs11t.h:1249
CKG_MGF1_SHA224
#define CKG_MGF1_SHA224
Definition: pkcs11t.h:1250
CKG_MGF1_SHA384
#define CKG_MGF1_SHA384
Definition: pkcs11t.h:1248
CKG_MGF1_SHA1
#define CKG_MGF1_SHA1
Definition: pkcs11t.h:1246

## ◆ Notification

enum class Botan::PKCS11::Notification : CK_NOTIFICATION
| strong

Enumerator
Surrender |
OtpChanged |

Definition at line 674 of file p11.h.

675 {
676 Surrender = CKN_SURRENDER,
677 OtpChanged = CKN_OTP_CHANGED,
678 };
Botan::PKCS11::Notification::OtpChanged
@ OtpChanged
Botan::PKCS11::Notification::Surrender
@ Surrender
CKN_SURRENDER
#define CKN_SURRENDER
Definition: pkcs11t.h:101
CKN_OTP_CHANGED
#define CKN_OTP_CHANGED
Definition: pkcs11t.h:102

## ◆ ObjectClass

enum class Botan::PKCS11::ObjectClass : CK_OBJECT_CLASS
| strong

Enumerator
Data |
Certificate |
PublicKey |
PrivateKey |
SecretKey |
HwFeature |
DomainParameters |
Mechanism |
OtpKey |
VendorDefined |

Definition at line 680 of file p11.h.

681 {
682 Data = CKO_DATA,
683 Certificate = CKO_CERTIFICATE,
684 PublicKey = CKO_PUBLIC_KEY,
685 PrivateKey = CKO_PRIVATE_KEY,
686 SecretKey = CKO_SECRET_KEY,
687 HwFeature = CKO_HW_FEATURE,
688 DomainParameters = CKO_DOMAIN_PARAMETERS,
689 Mechanism = CKO_MECHANISM,
690 OtpKey = CKO_OTP_KEY,
691 VendorDefined = CKO_VENDOR_DEFINED,
692 };
Botan::PKCS11::ObjectClass::SecretKey
@ SecretKey
Botan::PKCS11::ObjectClass::OtpKey
@ OtpKey
Botan::PKCS11::ObjectClass::DomainParameters
@ DomainParameters
Botan::PKCS11::ObjectClass::PublicKey
@ PublicKey
Botan::PKCS11::ObjectClass::HwFeature
@ HwFeature
Botan::PKCS11::ObjectClass::PrivateKey
@ PrivateKey
Botan::PKCS11::ObjectClass::Certificate
@ Certificate
Botan::PKCS11::ObjectClass::Data
@ Data
CKO_PUBLIC_KEY
#define CKO_PUBLIC_KEY
Definition: pkcs11t.h:312
CKO_SECRET_KEY
#define CKO_SECRET_KEY
Definition: pkcs11t.h:314
CKO_CERTIFICATE
#define CKO_CERTIFICATE
Definition: pkcs11t.h:311
CKO_OTP_KEY
#define CKO_OTP_KEY
Definition: pkcs11t.h:318
CKO_DATA
#define CKO_DATA
Definition: pkcs11t.h:310
CKO_PRIVATE_KEY
#define CKO_PRIVATE_KEY
Definition: pkcs11t.h:313
CKO_MECHANISM
#define CKO_MECHANISM
Definition: pkcs11t.h:317
CKO_HW_FEATURE
#define CKO_HW_FEATURE
Definition: pkcs11t.h:315
CKO_VENDOR_DEFINED
#define CKO_VENDOR_DEFINED
Definition: pkcs11t.h:320
CKO_DOMAIN_PARAMETERS
#define CKO_DOMAIN_PARAMETERS
Definition: pkcs11t.h:316
CK_MECHANISM
Definition: pkcs11t.h:983

## ◆ PseudoRandom

enum class Botan::PKCS11::PseudoRandom : CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE
| strong

Enumerator
Pkcs5Pbkd2HmacSha1 |
Pkcs5Pbkd2HmacGostr3411 |
Pkcs5Pbkd2HmacSha224 |
Pkcs5Pbkd2HmacSha256 |
Pkcs5Pbkd2HmacSha384 |
Pkcs5Pbkd2HmacSha512 |
Pkcs5Pbkd2HmacSha512224 |
Pkcs5Pbkd2HmacSha512256 |

Definition at line 694 of file p11.h.

695 {
696 Pkcs5Pbkd2HmacSha1 = CKP_PKCS5_PBKD2_HMAC_SHA1,
697 Pkcs5Pbkd2HmacGostr3411 = CKP_PKCS5_PBKD2_HMAC_GOSTR3411,
698 Pkcs5Pbkd2HmacSha224 = CKP_PKCS5_PBKD2_HMAC_SHA224,
699 Pkcs5Pbkd2HmacSha256 = CKP_PKCS5_PBKD2_HMAC_SHA256,
700 Pkcs5Pbkd2HmacSha384 = CKP_PKCS5_PBKD2_HMAC_SHA384,
701 Pkcs5Pbkd2HmacSha512 = CKP_PKCS5_PBKD2_HMAC_SHA512,
702 Pkcs5Pbkd2HmacSha512224 = CKP_PKCS5_PBKD2_HMAC_SHA512_224,
703 Pkcs5Pbkd2HmacSha512256 = CKP_PKCS5_PBKD2_HMAC_SHA512_256,
704 };
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacSha384
@ Pkcs5Pbkd2HmacSha384
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacSha224
@ Pkcs5Pbkd2HmacSha224
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacSha512
@ Pkcs5Pbkd2HmacSha512
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacSha256
@ Pkcs5Pbkd2HmacSha256
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacSha512256
@ Pkcs5Pbkd2HmacSha512256
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacGostr3411
@ Pkcs5Pbkd2HmacGostr3411
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacSha512224
@ Pkcs5Pbkd2HmacSha512224
Botan::PKCS11::PseudoRandom::Pkcs5Pbkd2HmacSha1
@ Pkcs5Pbkd2HmacSha1
CKP_PKCS5_PBKD2_HMAC_SHA512_256
#define CKP_PKCS5_PBKD2_HMAC_SHA512_256
Definition: pkcs11t.h:1726
CKP_PKCS5_PBKD2_HMAC_SHA224
#define CKP_PKCS5_PBKD2_HMAC_SHA224
Definition: pkcs11t.h:1721
CKP_PKCS5_PBKD2_HMAC_SHA384
#define CKP_PKCS5_PBKD2_HMAC_SHA384
Definition: pkcs11t.h:1723
CKP_PKCS5_PBKD2_HMAC_GOSTR3411
#define CKP_PKCS5_PBKD2_HMAC_GOSTR3411
Definition: pkcs11t.h:1720
CKP_PKCS5_PBKD2_HMAC_SHA512
#define CKP_PKCS5_PBKD2_HMAC_SHA512
Definition: pkcs11t.h:1724
CKP_PKCS5_PBKD2_HMAC_SHA1
#define CKP_PKCS5_PBKD2_HMAC_SHA1
Definition: pkcs11t.h:1719
CKP_PKCS5_PBKD2_HMAC_SHA512_224
#define CKP_PKCS5_PBKD2_HMAC_SHA512_224
Definition: pkcs11t.h:1725
CKP_PKCS5_PBKD2_HMAC_SHA256
#define CKP_PKCS5_PBKD2_HMAC_SHA256
Definition: pkcs11t.h:1722

## ◆ PublicPointEncoding

enum class Botan::PKCS11::PublicPointEncoding : uint32_t
| strong

Enumerator
Raw |
Der |

Definition at line 821 of file p11.h.

822 {
823 Raw,
824 Der
825 };
Botan::PKCS11::PublicPointEncoding::Der
@ Der
Botan::PKCS11::PublicPointEncoding::Raw
@ Raw

## ◆ ReturnValue

enum class Botan::PKCS11::ReturnValue : CK_RV
| strong

Enumerator
OK |
Cancel |
HostMemory |
SlotIdInvalid |
GeneralError |
FunctionFailed |
ArgumentsBad |
NoEvent |
NeedToCreateThreads |
CantLock |
AttributeReadOnly |
AttributeSensitive |
AttributeTypeInvalid |
AttributeValueInvalid |
ActionProhibited |
DataInvalid |
DataLenRange |
DeviceError |
DeviceMemory |
DeviceRemoved |
EncryptedDataInvalid |
EncryptedDataLenRange |
FunctionCanceled |
FunctionNotParallel |
FunctionNotSupported |
KeyHandleInvalid |
KeySizeRange |
KeyTypeInconsistent |
KeyNotNeeded |
KeyChanged |
KeyNeeded |
KeyIndigestible |
KeyFunctionNotPermitted |
KeyNotWrappable |
KeyUnextractable |
MechanismInvalid |
MechanismParamInvalid |
ObjectHandleInvalid |
OperationActive |
OperationNotInitialized |
PinIncorrect |
PinInvalid |
PinLenRange |
PinExpired |
PinLocked |
SessionClosed |
SessionCount |
SessionHandleInvalid |
SessionParallelNotSupported |
SessionReadOnly |
SessionExists |
SessionReadOnlyExists |
SessionReadWriteSoExists |
SignatureInvalid |
SignatureLenRange |
TemplateIncomplete |
TemplateInconsistent |
TokenNotPresent |
TokenNotRecognized |
TokenWriteProtected |
UnwrappingKeyHandleInvalid |
UnwrappingKeySizeRange |
UnwrappingKeyTypeInconsistent |
UserAlreadyLoggedIn |
UserNotLoggedIn |
UserPinNotInitialized |
UserTypeInvalid |
UserAnotherAlreadyLoggedIn |
UserTooManyTypes |
WrappedKeyInvalid |
WrappedKeyLenRange |
WrappingKeyHandleInvalid |
WrappingKeySizeRange |
WrappingKeyTypeInconsistent |
RandomSeedNotSupported |
RandomNoRng |
DomainParamsInvalid |
CurveNotSupported |
BufferTooSmall |
SavedStateInvalid |
InformationSensitive |
StateUnsaveable |
CryptokiNotInitialized |
CryptokiAlreadyInitialized |
MutexBad |
MutexNotLocked |
NewPinMode |
NextOtp |
ExceededMaxIterations |
FipsSelfTestFailed |
LibraryLoadFailed |
PinTooWeak |
PublicKeyInvalid |
FunctionRejected |
VendorDefined |

Definition at line 715 of file p11.h.

716 {
717 OK = CKR_OK,
718 Cancel = CKR_CANCEL,
719 HostMemory = CKR_HOST_MEMORY,
720 SlotIdInvalid = CKR_SLOT_ID_INVALID,
721 GeneralError = CKR_GENERAL_ERROR,
722 FunctionFailed = CKR_FUNCTION_FAILED,
723 ArgumentsBad = CKR_ARGUMENTS_BAD,
724 NoEvent = CKR_NO_EVENT,
725 NeedToCreateThreads = CKR_NEED_TO_CREATE_THREADS,
726 CantLock = CKR_CANT_LOCK,
727 AttributeReadOnly = CKR_ATTRIBUTE_READ_ONLY,
728 AttributeSensitive = CKR_ATTRIBUTE_SENSITIVE,
729 AttributeTypeInvalid = CKR_ATTRIBUTE_TYPE_INVALID,
730 AttributeValueInvalid = CKR_ATTRIBUTE_VALUE_INVALID,
731 ActionProhibited = CKR_ACTION_PROHIBITED,
732 DataInvalid = CKR_DATA_INVALID,
733 DataLenRange = CKR_DATA_LEN_RANGE,
734 DeviceError = CKR_DEVICE_ERROR,
735 DeviceMemory = CKR_DEVICE_MEMORY,
736 DeviceRemoved = CKR_DEVICE_REMOVED,
737 EncryptedDataInvalid = CKR_ENCRYPTED_DATA_INVALID,
738 EncryptedDataLenRange = CKR_ENCRYPTED_DATA_LEN_RANGE,
739 FunctionCanceled = CKR_FUNCTION_CANCELED,
740 FunctionNotParallel = CKR_FUNCTION_NOT_PARALLEL,
741 FunctionNotSupported = CKR_FUNCTION_NOT_SUPPORTED,
742 KeyHandleInvalid = CKR_KEY_HANDLE_INVALID,
743 KeySizeRange = CKR_KEY_SIZE_RANGE,
744 KeyTypeInconsistent = CKR_KEY_TYPE_INCONSISTENT,
745 KeyNotNeeded = CKR_KEY_NOT_NEEDED,
746 KeyChanged = CKR_KEY_CHANGED,
747 KeyNeeded = CKR_KEY_NEEDED,
748 KeyIndigestible = CKR_KEY_INDIGESTIBLE,
749 KeyFunctionNotPermitted = CKR_KEY_FUNCTION_NOT_PERMITTED,
750 KeyNotWrappable = CKR_KEY_NOT_WRAPPABLE,
751 KeyUnextractable = CKR_KEY_UNEXTRACTABLE,
752 MechanismInvalid = CKR_MECHANISM_INVALID,
753 MechanismParamInvalid = CKR_MECHANISM_PARAM_INVALID,
754 ObjectHandleInvalid = CKR_OBJECT_HANDLE_INVALID,
755 OperationActive = CKR_OPERATION_ACTIVE,
756 OperationNotInitialized = CKR_OPERATION_NOT_INITIALIZED,
757 PinIncorrect = CKR_PIN_INCORRECT,
758 PinInvalid = CKR_PIN_INVALID,
759 PinLenRange = CKR_PIN_LEN_RANGE,
760 PinExpired = CKR_PIN_EXPIRED,
761 PinLocked = CKR_PIN_LOCKED,
762 SessionClosed = CKR_SESSION_CLOSED,
763 SessionCount = CKR_SESSION_COUNT,
764 SessionHandleInvalid = CKR_SESSION_HANDLE_INVALID,
765 SessionParallelNotSupported = CKR_SESSION_PARALLEL_NOT_SUPPORTED,
766 SessionReadOnly = CKR_SESSION_READ_ONLY,
767 SessionExists = CKR_SESSION_EXISTS,
768 SessionReadOnlyExists = CKR_SESSION_READ_ONLY_EXISTS,
769 SessionReadWriteSoExists = CKR_SESSION_READ_WRITE_SO_EXISTS,
770 SignatureInvalid = CKR_SIGNATURE_INVALID,
771 SignatureLenRange = CKR_SIGNATURE_LEN_RANGE,
772 TemplateIncomplete = CKR_TEMPLATE_INCOMPLETE,
773 TemplateInconsistent = CKR_TEMPLATE_INCONSISTENT,
774 TokenNotPresent = CKR_TOKEN_NOT_PRESENT,
775 TokenNotRecognized = CKR_TOKEN_NOT_RECOGNIZED,
776 TokenWriteProtected = CKR_TOKEN_WRITE_PROTECTED,
777 UnwrappingKeyHandleInvalid = CKR_UNWRAPPING_KEY_HANDLE_INVALID,
778 UnwrappingKeySizeRange = CKR_UNWRAPPING_KEY_SIZE_RANGE,
779 UnwrappingKeyTypeInconsistent = CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT,
780 UserAlreadyLoggedIn = CKR_USER_ALREADY_LOGGED_IN,
781 UserNotLoggedIn = CKR_USER_NOT_LOGGED_IN,
782 UserPinNotInitialized = CKR_USER_PIN_NOT_INITIALIZED,
783 UserTypeInvalid = CKR_USER_TYPE_INVALID,
784 UserAnotherAlreadyLoggedIn = CKR_USER_ANOTHER_ALREADY_LOGGED_IN,
785 UserTooManyTypes = CKR_USER_TOO_MANY_TYPES,
786 WrappedKeyInvalid = CKR_WRAPPED_KEY_INVALID,
787 WrappedKeyLenRange = CKR_WRAPPED_KEY_LEN_RANGE,
788 WrappingKeyHandleInvalid = CKR_WRAPPING_KEY_HANDLE_INVALID,
789 WrappingKeySizeRange = CKR_WRAPPING_KEY_SIZE_RANGE,
790 WrappingKeyTypeInconsistent = CKR_WRAPPING_KEY_TYPE_INCONSISTENT,
791 RandomSeedNotSupported = CKR_RANDOM_SEED_NOT_SUPPORTED,
792 RandomNoRng = CKR_RANDOM_NO_RNG,
793 DomainParamsInvalid = CKR_DOMAIN_PARAMS_INVALID,
794 CurveNotSupported = CKR_CURVE_NOT_SUPPORTED,
795 BufferTooSmall = CKR_BUFFER_TOO_SMALL,
796 SavedStateInvalid = CKR_SAVED_STATE_INVALID,
797 InformationSensitive = CKR_INFORMATION_SENSITIVE,
798 StateUnsaveable = CKR_STATE_UNSAVEABLE,
799 CryptokiNotInitialized = CKR_CRYPTOKI_NOT_INITIALIZED,
800 CryptokiAlreadyInitialized = CKR_CRYPTOKI_ALREADY_INITIALIZED,
801 MutexBad = CKR_MUTEX_BAD,
802 MutexNotLocked = CKR_MUTEX_NOT_LOCKED,
803 NewPinMode = CKR_NEW_PIN_MODE,
804 NextOtp = CKR_NEXT_OTP,
805 ExceededMaxIterations = CKR_EXCEEDED_MAX_ITERATIONS,
806 FipsSelfTestFailed = CKR_FIPS_SELF_TEST_FAILED,
807 LibraryLoadFailed = CKR_LIBRARY_LOAD_FAILED,
808 PinTooWeak = CKR_PIN_TOO_WEAK,
809 PublicKeyInvalid = CKR_PUBLIC_KEY_INVALID,
810 FunctionRejected = CKR_FUNCTION_REJECTED,
811 VendorDefined = CKR_VENDOR_DEFINED,
812 };
Botan::PKCS11::ReturnValue::KeySizeRange
@ KeySizeRange
Botan::PKCS11::ReturnValue::StateUnsaveable
@ StateUnsaveable
Botan::PKCS11::ReturnValue::KeyTypeInconsistent
@ KeyTypeInconsistent
Botan::PKCS11::ReturnValue::NewPinMode
@ NewPinMode
Botan::PKCS11::ReturnValue::WrappedKeyInvalid
@ WrappedKeyInvalid
Botan::PKCS11::ReturnValue::SessionReadWriteSoExists
@ SessionReadWriteSoExists
Botan::PKCS11::ReturnValue::UserTypeInvalid
@ UserTypeInvalid
Botan::PKCS11::ReturnValue::FunctionNotParallel
@ FunctionNotParallel
Botan::PKCS11::ReturnValue::KeyHandleInvalid
@ KeyHandleInvalid
Botan::PKCS11::ReturnValue::SessionParallelNotSupported
@ SessionParallelNotSupported
Botan::PKCS11::ReturnValue::UnwrappingKeyHandleInvalid
@ UnwrappingKeyHandleInvalid
Botan::PKCS11::ReturnValue::DataInvalid
@ DataInvalid
Botan::PKCS11::ReturnValue::DeviceRemoved
@ DeviceRemoved
Botan::PKCS11::ReturnValue::NeedToCreateThreads
@ NeedToCreateThreads
Botan::PKCS11::ReturnValue::SavedStateInvalid
@ SavedStateInvalid
Botan::PKCS11::ReturnValue::UserAnotherAlreadyLoggedIn
@ UserAnotherAlreadyLoggedIn
Botan::PKCS11::ReturnValue::FunctionFailed
@ FunctionFailed
Botan::PKCS11::ReturnValue::DomainParamsInvalid
@ DomainParamsInvalid
Botan::PKCS11::ReturnValue::HostMemory
@ HostMemory
Botan::PKCS11::ReturnValue::SessionClosed
@ SessionClosed
Botan::PKCS11::ReturnValue::SessionReadOnlyExists
@ SessionReadOnlyExists
Botan::PKCS11::ReturnValue::KeyNeeded
@ KeyNeeded
Botan::PKCS11::ReturnValue::InformationSensitive
@ InformationSensitive
Botan::PKCS11::ReturnValue::MechanismParamInvalid
@ MechanismParamInvalid
Botan::PKCS11::ReturnValue::PinExpired
@ PinExpired
Botan::PKCS11::ReturnValue::UnwrappingKeySizeRange
@ UnwrappingKeySizeRange
Botan::PKCS11::ReturnValue::UserNotLoggedIn
@ UserNotLoggedIn
Botan::PKCS11::ReturnValue::CantLock
@ CantLock
Botan::PKCS11::ReturnValue::LibraryLoadFailed
@ LibraryLoadFailed
Botan::PKCS11::ReturnValue::UnwrappingKeyTypeInconsistent
@ UnwrappingKeyTypeInconsistent
Botan::PKCS11::ReturnValue::SignatureInvalid
@ SignatureInvalid
Botan::PKCS11::ReturnValue::ExceededMaxIterations
@ ExceededMaxIterations
Botan::PKCS11::ReturnValue::KeyFunctionNotPermitted
@ KeyFunctionNotPermitted
Botan::PKCS11::ReturnValue::MechanismInvalid
@ MechanismInvalid
Botan::PKCS11::ReturnValue::DeviceMemory
@ DeviceMemory
Botan::PKCS11::ReturnValue::UserTooManyTypes
@ UserTooManyTypes
Botan::PKCS11::ReturnValue::UserAlreadyLoggedIn
@ UserAlreadyLoggedIn
Botan::PKCS11::ReturnValue::TokenNotRecognized
@ TokenNotRecognized
Botan::PKCS11::ReturnValue::TemplateIncomplete
@ TemplateIncomplete
Botan::PKCS11::ReturnValue::EncryptedDataLenRange
@ EncryptedDataLenRange
Botan::PKCS11::ReturnValue::TokenWriteProtected
@ TokenWriteProtected
Botan::PKCS11::ReturnValue::AttributeTypeInvalid
@ AttributeTypeInvalid
Botan::PKCS11::ReturnValue::AttributeSensitive
@ AttributeSensitive
Botan::PKCS11::ReturnValue::SessionHandleInvalid
@ SessionHandleInvalid
Botan::PKCS11::ReturnValue::GeneralError
@ GeneralError
Botan::PKCS11::ReturnValue::TemplateInconsistent
@ TemplateInconsistent
Botan::PKCS11::ReturnValue::SessionCount
@ SessionCount
Botan::PKCS11::ReturnValue::FunctionCanceled
@ FunctionCanceled
Botan::PKCS11::ReturnValue::NoEvent
@ NoEvent
Botan::PKCS11::ReturnValue::CurveNotSupported
@ CurveNotSupported
Botan::PKCS11::ReturnValue::KeyNotWrappable
@ KeyNotWrappable
Botan::PKCS11::ReturnValue::SignatureLenRange
@ SignatureLenRange
Botan::PKCS11::ReturnValue::EncryptedDataInvalid
@ EncryptedDataInvalid
Botan::PKCS11::ReturnValue::PinLocked
@ PinLocked
Botan::PKCS11::ReturnValue::FunctionNotSupported
@ FunctionNotSupported
Botan::PKCS11::ReturnValue::WrappingKeySizeRange
@ WrappingKeySizeRange
Botan::PKCS11::ReturnValue::PinIncorrect
@ PinIncorrect
Botan::PKCS11::ReturnValue::SessionExists
@ SessionExists
Botan::PKCS11::ReturnValue::MutexBad
@ MutexBad
Botan::PKCS11::ReturnValue::KeyUnextractable
@ KeyUnextractable
Botan::PKCS11::ReturnValue::KeyChanged
@ KeyChanged
Botan::PKCS11::ReturnValue::BufferTooSmall
@ BufferTooSmall
Botan::PKCS11::ReturnValue::MutexNotLocked
@ MutexNotLocked
Botan::PKCS11::ReturnValue::DeviceError
@ DeviceError
Botan::PKCS11::ReturnValue::TokenNotPresent
@ TokenNotPresent
Botan::PKCS11::ReturnValue::CryptokiAlreadyInitialized
@ CryptokiAlreadyInitialized
Botan::PKCS11::ReturnValue::FipsSelfTestFailed
@ FipsSelfTestFailed
Botan::PKCS11::ReturnValue::PinLenRange
@ PinLenRange
Botan::PKCS11::ReturnValue::RandomNoRng
@ RandomNoRng
Botan::PKCS11::ReturnValue::WrappingKeyTypeInconsistent
@ WrappingKeyTypeInconsistent
Botan::PKCS11::ReturnValue::OperationActive
@ OperationActive
Botan::PKCS11::ReturnValue::FunctionRejected
@ FunctionRejected
Botan::PKCS11::ReturnValue::SessionReadOnly
@ SessionReadOnly
Botan::PKCS11::ReturnValue::AttributeValueInvalid
@ AttributeValueInvalid
Botan::PKCS11::ReturnValue::PinInvalid
@ PinInvalid
Botan::PKCS11::ReturnValue::PublicKeyInvalid
@ PublicKeyInvalid
Botan::PKCS11::ReturnValue::ActionProhibited
@ ActionProhibited
Botan::PKCS11::ReturnValue::ObjectHandleInvalid
@ ObjectHandleInvalid
Botan::PKCS11::ReturnValue::OperationNotInitialized
@ OperationNotInitialized
Botan::PKCS11::ReturnValue::CryptokiNotInitialized
@ CryptokiNotInitialized
Botan::PKCS11::ReturnValue::OK
@ OK
Botan::PKCS11::ReturnValue::WrappingKeyHandleInvalid
@ WrappingKeyHandleInvalid
Botan::PKCS11::ReturnValue::WrappedKeyLenRange
@ WrappedKeyLenRange
Botan::PKCS11::ReturnValue::KeyIndigestible
@ KeyIndigestible
Botan::PKCS11::ReturnValue::SlotIdInvalid
@ SlotIdInvalid
Botan::PKCS11::ReturnValue::Cancel
@ Cancel
Botan::PKCS11::ReturnValue::PinTooWeak
@ PinTooWeak
Botan::PKCS11::ReturnValue::KeyNotNeeded
@ KeyNotNeeded
Botan::PKCS11::ReturnValue::ArgumentsBad
@ ArgumentsBad
Botan::PKCS11::ReturnValue::UserPinNotInitialized
@ UserPinNotInitialized
Botan::PKCS11::ReturnValue::RandomSeedNotSupported
@ RandomSeedNotSupported
Botan::PKCS11::ReturnValue::DataLenRange
@ DataLenRange
Botan::PKCS11::ReturnValue::AttributeReadOnly
@ AttributeReadOnly
CKR_NEXT_OTP
#define CKR_NEXT_OTP
Definition: pkcs11t.h:1148
CKR_SESSION_COUNT
#define CKR_SESSION_COUNT
Definition: pkcs11t.h:1097
CKR_DEVICE_MEMORY
#define CKR_DEVICE_MEMORY
Definition: pkcs11t.h:1061
CKR_GENERAL_ERROR
#define CKR_GENERAL_ERROR
Definition: pkcs11t.h:1043
CKR_MECHANISM_INVALID
#define CKR_MECHANISM_INVALID
Definition: pkcs11t.h:1083
CKR_SLOT_ID_INVALID
#define CKR_SLOT_ID_INVALID
Definition: pkcs11t.h:1041
CKR_KEY_CHANGED
#define CKR_KEY_CHANGED
Definition: pkcs11t.h:1076
CKR_ATTRIBUTE_TYPE_INVALID
#define CKR_ATTRIBUTE_TYPE_INVALID
Definition: pkcs11t.h:1053
CKR_FUNCTION_CANCELED
#define CKR_FUNCTION_CANCELED
Definition: pkcs11t.h:1065
CKR_KEY_UNEXTRACTABLE
#define CKR_KEY_UNEXTRACTABLE
Definition: pkcs11t.h:1081
CKR_DATA_INVALID
#define CKR_DATA_INVALID
Definition: pkcs11t.h:1058
CKR_UNWRAPPING_KEY_HANDLE_INVALID
#define CKR_UNWRAPPING_KEY_HANDLE_INVALID
Definition: pkcs11t.h:1113
CKR_NEED_TO_CREATE_THREADS
#define CKR_NEED_TO_CREATE_THREADS
Definition: pkcs11t.h:1048
CKR_WRAPPING_KEY_SIZE_RANGE
#define CKR_WRAPPING_KEY_SIZE_RANGE
Definition: pkcs11t.h:1127
CKR_MECHANISM_PARAM_INVALID
#define CKR_MECHANISM_PARAM_INVALID
Definition: pkcs11t.h:1084
CKR_TOKEN_NOT_RECOGNIZED
#define CKR_TOKEN_NOT_RECOGNIZED
Definition: pkcs11t.h:1111
CKR_ATTRIBUTE_SENSITIVE
#define CKR_ATTRIBUTE_SENSITIVE
Definition: pkcs11t.h:1052
CKR_RANDOM_NO_RNG
#define CKR_RANDOM_NO_RNG
Definition: pkcs11t.h:1131
CKR_PIN_LEN_RANGE
#define CKR_PIN_LEN_RANGE
Definition: pkcs11t.h:1091
CKR_DEVICE_ERROR
#define CKR_DEVICE_ERROR
Definition: pkcs11t.h:1060
CKR_RANDOM_SEED_NOT_SUPPORTED
#define CKR_RANDOM_SEED_NOT_SUPPORTED
Definition: pkcs11t.h:1129
CKR_SESSION_PARALLEL_NOT_SUPPORTED
#define CKR_SESSION_PARALLEL_NOT_SUPPORTED
Definition: pkcs11t.h:1099
CKR_ATTRIBUTE_READ_ONLY
#define CKR_ATTRIBUTE_READ_ONLY
Definition: pkcs11t.h:1051
CKR_KEY_FUNCTION_NOT_PERMITTED
#define CKR_KEY_FUNCTION_NOT_PERMITTED
Definition: pkcs11t.h:1079
CKR_WRAPPING_KEY_TYPE_INCONSISTENT
#define CKR_WRAPPING_KEY_TYPE_INCONSISTENT
Definition: pkcs11t.h:1128
CKR_SESSION_EXISTS
#define CKR_SESSION_EXISTS
Definition: pkcs11t.h:1101
CKR_FUNCTION_REJECTED
#define CKR_FUNCTION_REJECTED
Definition: pkcs11t.h:1156
CKR_SESSION_READ_ONLY
#define CKR_SESSION_READ_ONLY
Definition: pkcs11t.h:1100
CKR_ENCRYPTED_DATA_LEN_RANGE
#define CKR_ENCRYPTED_DATA_LEN_RANGE
Definition: pkcs11t.h:1064
CKR_SIGNATURE_INVALID
#define CKR_SIGNATURE_INVALID
Definition: pkcs11t.h:1106
CKR_SESSION_HANDLE_INVALID
#define CKR_SESSION_HANDLE_INVALID
Definition: pkcs11t.h:1098
CKR_USER_ANOTHER_ALREADY_LOGGED_IN
#define CKR_USER_ANOTHER_ALREADY_LOGGED_IN
Definition: pkcs11t.h:1121
CKR_ARGUMENTS_BAD
#define CKR_ARGUMENTS_BAD
Definition: pkcs11t.h:1046
CKR_CANCEL
#define CKR_CANCEL
Definition: pkcs11t.h:1039
CKR_PIN_TOO_WEAK
#define CKR_PIN_TOO_WEAK
Definition: pkcs11t.h:1153
CKR_PIN_EXPIRED
#define CKR_PIN_EXPIRED
Definition: pkcs11t.h:1093
CKR_PIN_LOCKED
#define CKR_PIN_LOCKED
Definition: pkcs11t.h:1094
CKR_LIBRARY_LOAD_FAILED
#define CKR_LIBRARY_LOAD_FAILED
Definition: pkcs11t.h:1152
CKR_CANT_LOCK
#define CKR_CANT_LOCK
Definition: pkcs11t.h:1049
CKR_TOKEN_NOT_PRESENT
#define CKR_TOKEN_NOT_PRESENT
Definition: pkcs11t.h:1110
CKR_CRYPTOKI_NOT_INITIALIZED
#define CKR_CRYPTOKI_NOT_INITIALIZED
Definition: pkcs11t.h:1142
CKR_PIN_INCORRECT
#define CKR_PIN_INCORRECT
Definition: pkcs11t.h:1089
CKR_WRAPPED_KEY_INVALID
#define CKR_WRAPPED_KEY_INVALID
Definition: pkcs11t.h:1124
CKR_WRAPPING_KEY_HANDLE_INVALID
#define CKR_WRAPPING_KEY_HANDLE_INVALID
Definition: pkcs11t.h:1126
CKR_MUTEX_NOT_LOCKED
#define CKR_MUTEX_NOT_LOCKED
Definition: pkcs11t.h:1145
CKR_USER_TOO_MANY_TYPES
#define CKR_USER_TOO_MANY_TYPES
Definition: pkcs11t.h:1122
CKR_SESSION_CLOSED
#define CKR_SESSION_CLOSED
Definition: pkcs11t.h:1096
CKR_OBJECT_HANDLE_INVALID
#define CKR_OBJECT_HANDLE_INVALID
Definition: pkcs11t.h:1086
CKR_PIN_INVALID
#define CKR_PIN_INVALID
Definition: pkcs11t.h:1090
CKR_UNWRAPPING_KEY_SIZE_RANGE
#define CKR_UNWRAPPING_KEY_SIZE_RANGE
Definition: pkcs11t.h:1114
CKR_ENCRYPTED_DATA_INVALID
#define CKR_ENCRYPTED_DATA_INVALID
Definition: pkcs11t.h:1063
CKR_CRYPTOKI_ALREADY_INITIALIZED
#define CKR_CRYPTOKI_ALREADY_INITIALIZED
Definition: pkcs11t.h:1143
CKR_FUNCTION_FAILED
#define CKR_FUNCTION_FAILED
Definition: pkcs11t.h:1044
CKR_OPERATION_NOT_INITIALIZED
#define CKR_OPERATION_NOT_INITIALIZED
Definition: pkcs11t.h:1088
CKR_ACTION_PROHIBITED
#define CKR_ACTION_PROHIBITED
Definition: pkcs11t.h:1056
CKR_SESSION_READ_ONLY_EXISTS
#define CKR_SESSION_READ_ONLY_EXISTS
Definition: pkcs11t.h:1103
CKR_SESSION_READ_WRITE_SO_EXISTS
#define CKR_SESSION_READ_WRITE_SO_EXISTS
Definition: pkcs11t.h:1104
CKR_KEY_SIZE_RANGE
#define CKR_KEY_SIZE_RANGE
Definition: pkcs11t.h:1072
CKR_TEMPLATE_INCONSISTENT
#define CKR_TEMPLATE_INCONSISTENT
Definition: pkcs11t.h:1109
CKR_OPERATION_ACTIVE
#define CKR_OPERATION_ACTIVE
Definition: pkcs11t.h:1087
CKR_DATA_LEN_RANGE
#define CKR_DATA_LEN_RANGE
Definition: pkcs11t.h:1059
CKR_BUFFER_TOO_SMALL
#define CKR_BUFFER_TOO_SMALL
Definition: pkcs11t.h:1137
CKR_USER_PIN_NOT_INITIALIZED
#define CKR_USER_PIN_NOT_INITIALIZED
Definition: pkcs11t.h:1118
CKR_USER_ALREADY_LOGGED_IN
#define CKR_USER_ALREADY_LOGGED_IN
Definition: pkcs11t.h:1116
CKR_STATE_UNSAVEABLE
#define CKR_STATE_UNSAVEABLE
Definition: pkcs11t.h:1140
CKR_INFORMATION_SENSITIVE
#define CKR_INFORMATION_SENSITIVE
Definition: pkcs11t.h:1139
CKR_NEW_PIN_MODE
#define CKR_NEW_PIN_MODE
Definition: pkcs11t.h:1147
CKR_OK
#define CKR_OK
Definition: pkcs11t.h:1038
CKR_ATTRIBUTE_VALUE_INVALID
#define CKR_ATTRIBUTE_VALUE_INVALID
Definition: pkcs11t.h:1054
CKR_FUNCTION_NOT_SUPPORTED
#define CKR_FUNCTION_NOT_SUPPORTED
Definition: pkcs11t.h:1068
CKR_USER_NOT_LOGGED_IN
#define CKR_USER_NOT_LOGGED_IN
Definition: pkcs11t.h:1117
CKR_DEVICE_REMOVED
#define CKR_DEVICE_REMOVED
Definition: pkcs11t.h:1062
CKR_DOMAIN_PARAMS_INVALID
#define CKR_DOMAIN_PARAMS_INVALID
Definition: pkcs11t.h:1133
CKR_TOKEN_WRITE_PROTECTED
#define CKR_TOKEN_WRITE_PROTECTED
Definition: pkcs11t.h:1112
CKR_TEMPLATE_INCOMPLETE
#define CKR_TEMPLATE_INCOMPLETE
Definition: pkcs11t.h:1108
CKR_KEY_NOT_NEEDED
#define CKR_KEY_NOT_NEEDED
Definition: pkcs11t.h:1075
CKR_NO_EVENT
#define CKR_NO_EVENT
Definition: pkcs11t.h:1047
CKR_VENDOR_DEFINED
#define CKR_VENDOR_DEFINED
Definition: pkcs11t.h:1158
CKR_HOST_MEMORY
#define CKR_HOST_MEMORY
Definition: pkcs11t.h:1040
CKR_FUNCTION_NOT_PARALLEL
#define CKR_FUNCTION_NOT_PARALLEL
Definition: pkcs11t.h:1066
CKR_SIGNATURE_LEN_RANGE
#define CKR_SIGNATURE_LEN_RANGE
Definition: pkcs11t.h:1107
CKR_CURVE_NOT_SUPPORTED
#define CKR_CURVE_NOT_SUPPORTED
Definition: pkcs11t.h:1135
CKR_FIPS_SELF_TEST_FAILED
#define CKR_FIPS_SELF_TEST_FAILED
Definition: pkcs11t.h:1151
CKR_USER_TYPE_INVALID
#define CKR_USER_TYPE_INVALID
Definition: pkcs11t.h:1119
CKR_KEY_HANDLE_INVALID
#define CKR_KEY_HANDLE_INVALID
Definition: pkcs11t.h:1070
CKR_MUTEX_BAD
#define CKR_MUTEX_BAD
Definition: pkcs11t.h:1144
CKR_SAVED_STATE_INVALID
#define CKR_SAVED_STATE_INVALID
Definition: pkcs11t.h:1138
CKR_WRAPPED_KEY_LEN_RANGE
#define CKR_WRAPPED_KEY_LEN_RANGE
Definition: pkcs11t.h:1125
CKR_EXCEEDED_MAX_ITERATIONS
#define CKR_EXCEEDED_MAX_ITERATIONS
Definition: pkcs11t.h:1150
CKR_KEY_INDIGESTIBLE
#define CKR_KEY_INDIGESTIBLE
Definition: pkcs11t.h:1078
CKR_KEY_NEEDED
#define CKR_KEY_NEEDED
Definition: pkcs11t.h:1077
CKR_PUBLIC_KEY_INVALID
#define CKR_PUBLIC_KEY_INVALID
Definition: pkcs11t.h:1154
CKR_KEY_TYPE_INCONSISTENT
#define CKR_KEY_TYPE_INCONSISTENT
Definition: pkcs11t.h:1073
CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT
#define CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT
Definition: pkcs11t.h:1115
CKR_KEY_NOT_WRAPPABLE
#define CKR_KEY_NOT_WRAPPABLE
Definition: pkcs11t.h:1080

## ◆ SessionState

enum class Botan::PKCS11::SessionState : CK_STATE
| strong

Enumerator
RoPublicSession |
RoUserFunctions |
RwPublicSession |
RwUserFunctions |
RwSoFunctions |

Definition at line 706 of file p11.h.

707 {
708 RoPublicSession = CKS_RO_PUBLIC_SESSION,
709 RoUserFunctions = CKS_RO_USER_FUNCTIONS,
710 RwPublicSession = CKS_RW_PUBLIC_SESSION,
711 RwUserFunctions = CKS_RW_USER_FUNCTIONS,
712 RwSoFunctions = CKS_RW_SO_FUNCTIONS,
713 };
Botan::PKCS11::SessionState::RoUserFunctions
@ RoUserFunctions
Botan::PKCS11::SessionState::RwPublicSession
@ RwPublicSession
Botan::PKCS11::SessionState::RoPublicSession
@ RoPublicSession
Botan::PKCS11::SessionState::RwSoFunctions
@ RwSoFunctions
Botan::PKCS11::SessionState::RwUserFunctions
@ RwUserFunctions
CKS_RW_PUBLIC_SESSION
#define CKS_RW_PUBLIC_SESSION
Definition: pkcs11t.h:274
CKS_RO_USER_FUNCTIONS
#define CKS_RO_USER_FUNCTIONS
Definition: pkcs11t.h:273
CKS_RW_USER_FUNCTIONS
#define CKS_RW_USER_FUNCTIONS
Definition: pkcs11t.h:275
CKS_RO_PUBLIC_SESSION
#define CKS_RO_PUBLIC_SESSION
Definition: pkcs11t.h:272
CKS_RW_SO_FUNCTIONS
#define CKS_RW_SO_FUNCTIONS
Definition: pkcs11t.h:276

## ◆ UserType

enum class Botan::PKCS11::UserType : CK_USER_TYPE
| strong

Enumerator
SO |
User |
ContextSpecific |

Definition at line 814 of file p11.h.

815 {
816 SO = CKU_SO,
817 User = CKU_USER,
818 ContextSpecific = CKU_CONTEXT_SPECIFIC,
819 };
Botan::PKCS11::UserType::ContextSpecific
@ ContextSpecific
Botan::PKCS11::UserType::User
@ User
Botan::PKCS11::UserType::SO
@ SO
CKU_USER
#define CKU_USER
Definition: pkcs11t.h:266
CKU_SO
#define CKU_SO
Definition: pkcs11t.h:264
CKU_CONTEXT_SPECIFIC
#define CKU_CONTEXT_SPECIFIC
Definition: pkcs11t.h:268

## Function Documentation

## ◆ change_pin()

void Botan::PKCS11::change_pin | ( | Slot & | slot,
|  | const secure_string & | old_pin,
|  | const secure_string & | new_pin
| ) |  |

Change PIN with old PIN to new PIN

Parameters

  slot | The slot with the attached token
  old_pin | The old user PIN
  new_pin | The new user PIN

Definition at line 53 of file p11.cpp.

54 {
55 Session session(slot, false);
56 session.login(UserType::User, old_pin);
57 session.set_pin(old_pin, new_pin);
58 }
Botan::PKCS11::Session
Represents a PKCS#11 session.
Definition: p11_types.h:131

References Botan::PKCS11::Session::login(), Botan::PKCS11::Session::set_pin(), and User.

## ◆ change_so_pin()

void Botan::PKCS11::change_so_pin | ( | Slot & | slot,
|  | const secure_string & | old_so_pin,
|  | const secure_string & | new_so_pin
| ) |  |

Change SO_PIN with old SO_PIN to new SO_PIN

Parameters

  slot | The slot with the attached token
  old_so_pin | The old SO_PIN
  new_so_pin | The new SO_PIN

Definition at line 60 of file p11.cpp.

61 {
62 Session session(slot, false);
63 session.login(UserType::SO, old_so_pin);
64 session.set_pin(old_so_pin, new_so_pin);
65 }

References Botan::PKCS11::Session::login(), Botan::PKCS11::Session::set_pin(), and SO.

## ◆ flags()

Flags Botan::PKCS11::flags | ( | Flag | flags | ) |
| inline

Definition at line 860 of file p11.h.

861 {
862 return static_cast<Flags>(flags);
863 }
Botan::PKCS11::Flags
CK_FLAGS Flags
Definition: p11.h:834
Botan::PKCS11::flags
Flags flags(Flag flags)
Definition: p11.h:860

References flags().

Referenced by botan_bcrypt_generate(), botan_cipher_init(), botan_cipher_update(), botan_fpe_fe1_init(), botan_hash_init(), botan_hex_encode(), botan_mac_init(), botan_pk_op_decrypt_create(), botan_pk_op_encrypt_create(), botan_pk_op_key_agreement_create(), botan_pk_op_sign_create(), botan_pk_op_verify_create(), botan_privkey_check_key(), botan_privkey_export(), botan_privkey_export_encrypted(), botan_privkey_export_encrypted_pbkdf_iter(), botan_privkey_export_encrypted_pbkdf_msec(), botan_privkey_rsa_get_privkey(), botan_pubkey_check_key(), botan_pubkey_export(), Botan::PKCS11::LowLevel::C_OpenSession(), Botan::PKCS11::LowLevel::C_WaitForSlotEvent(), Botan::Device_EntropySource::Device_EntropySource(), flags(), Botan::PKCS11::Session::Session(), and Botan::CPUID::to_string().

## ◆ initialize_token()

void Botan::PKCS11::initialize_token | ( | Slot & | slot,
|  | const std::string & | label,
|  | const secure_string & | so_pin,
|  | const secure_string & | pin
| ) |  |

Initializes a token

Parameters

  slot | The slot with the attached token that should be initialized
  label | The token label
  so_pin | PIN of the security officer. Will be set if the token is uninitialized other this has to be the current SO_PIN
  pin | The user PIN that will be set

Definition at line 47 of file p11.cpp.

48 {
49 slot.initialize(label, so_pin);
50 set_pin(slot, so_pin, pin);
51 }
Botan::PKCS11::Slot::initialize
void initialize(const std::string &label, const secure_string &so_pin) const
Definition: p11_slot.cpp:54
Botan::PKCS11::set_pin
void set_pin(Slot &slot, const secure_string &so_pin, const secure_string &pin)
Definition: p11.cpp:67

References Botan::PKCS11::Slot::initialize(), and set_pin().

## ◆ operator|()

Flag Botan::PKCS11::operator| | ( | Flag | a,
|  | Flag | b
| ) |  |
| inline

Definition at line 267 of file p11.h.

268 {
269 return static_cast< Flag >(static_cast< CK_FLAGS >(a) | static_cast< CK_FLAGS >(b));
270 }
Botan::PKCS11::Flag
Flag
Definition: p11.h:209
CK_FLAGS
CK_ULONG CK_FLAGS
Definition: pkcs11t.h:54

## ◆ set_pin()

void Botan::PKCS11::set_pin | ( | Slot & | slot,
|  | const secure_string & | so_pin,
|  | const secure_string & | pin
| ) |  |

Sets user PIN with SO_PIN

Parameters

  slot | The slot with the attached token
  so_pin | PIN of the security officer
  pin | The user PIN that should be set

Definition at line 67 of file p11.cpp.

68 {
69 Session session(slot, false);
70 session.login(UserType::SO, so_pin);
71 session.init_pin(pin);
72 }

References Botan::PKCS11::Session::init_pin(), Botan::PKCS11::Session::login(), and SO.

Referenced by initialize_token().

## Variable Documentation

## ◆ False

const Bbool Botan::PKCS11::False = 0

Definition at line 858 of file p11.h.

Referenced by Botan::PKCS11::AttributeContainer::add_bool().

## ◆ ThrowException

ReturnValue * Botan::PKCS11::ThrowException = reinterpret_cast< ReturnValue* >(-1)

Definition at line 20 of file p11.cpp.

## ◆ True

const Bbool Botan::PKCS11::True = 1

Definition at line 857 of file p11.h.

Referenced by Botan::PKCS11::AttributeContainer::add_bool().