Botan 2.1.0 Crypto and TLS for C++11

- Main Page
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

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 | AttributeType : CK_ATTRIBUTE_TYPE { AttributeType::Class = CKA_CLASS, AttributeType::Token = CKA_TOKEN, AttributeType::Private = CKA_PRIVATE, AttributeType::Label = CKA_LABEL, AttributeType::Application = CKA_APPLICATION, AttributeType::Value = CKA_VALUE, AttributeType::ObjectId = CKA_OBJECT_ID, AttributeType::CertificateType = CKA_CERTIFICATE_TYPE, AttributeType::Issuer = CKA_ISSUER, AttributeType::SerialNumber = CKA_SERIAL_NUMBER, AttributeType::AcIssuer = CKA_AC_ISSUER, AttributeType::Owner = CKA_OWNER, AttributeType::AttrTypes = CKA_ATTR_TYPES, AttributeType::Trusted = CKA_TRUSTED, AttributeType::CertificateCategory = CKA_CERTIFICATE_CATEGORY, AttributeType::JavaMidpSecurityDomain = CKA_JAVA_MIDP_SECURITY_DOMAIN, AttributeType::Url = CKA_URL, AttributeType::HashOfSubjectPublicKey = CKA_HASH_OF_SUBJECT_PUBLIC_KEY, AttributeType::HashOfIssuerPublicKey = CKA_HASH_OF_ISSUER_PUBLIC_KEY, AttributeType::NameHashAlgorithm = CKA_NAME_HASH_ALGORITHM, AttributeType::CheckValue = CKA_CHECK_VALUE, AttributeType::KeyType = CKA_KEY_TYPE, AttributeType::Subject = CKA_SUBJECT, AttributeType::Id = CKA_ID, AttributeType::Sensitive = CKA_SENSITIVE, AttributeType::Encrypt = CKA_ENCRYPT, AttributeType::Decrypt = CKA_DECRYPT, AttributeType::Wrap = CKA_WRAP, AttributeType::Unwrap = CKA_UNWRAP, AttributeType::Sign = CKA_SIGN, AttributeType::SignRecover = CKA_SIGN_RECOVER, AttributeType::Verify = CKA_VERIFY, AttributeType::VerifyRecover = CKA_VERIFY_RECOVER, AttributeType::Derive = CKA_DERIVE, AttributeType::StartDate = CKA_START_DATE, AttributeType::EndDate = CKA_END_DATE, AttributeType::Modulus = CKA_MODULUS, AttributeType::ModulusBits = CKA_MODULUS_BITS, AttributeType::PublicExponent = CKA_PUBLIC_EXPONENT, AttributeType::PrivateExponent = CKA_PRIVATE_EXPONENT, AttributeType::Prime1 = CKA_PRIME_1, AttributeType::Prime2 = CKA_PRIME_2, AttributeType::Exponent1 = CKA_EXPONENT_1, AttributeType::Exponent2 = CKA_EXPONENT_2, AttributeType::Coefficient = CKA_COEFFICIENT, AttributeType::PublicKeyInfo = CKA_PUBLIC_KEY_INFO, AttributeType::Prime = CKA_PRIME, AttributeType::Subprime = CKA_SUBPRIME, AttributeType::Base = CKA_BASE, AttributeType::PrimeBits = CKA_PRIME_BITS, AttributeType::SubprimeBits = CKA_SUBPRIME_BITS, AttributeType::SubPrimeBits = CKA_SUB_PRIME_BITS, AttributeType::ValueBits = CKA_VALUE_BITS, AttributeType::ValueLen = CKA_VALUE_LEN, AttributeType::Extractable = CKA_EXTRACTABLE, AttributeType::Local = CKA_LOCAL, AttributeType::NeverExtractable = CKA_NEVER_EXTRACTABLE, AttributeType::AlwaysSensitive = CKA_ALWAYS_SENSITIVE, AttributeType::KeyGenMechanism = CKA_KEY_GEN_MECHANISM, AttributeType::Modifiable = CKA_MODIFIABLE, AttributeType::Copyable = CKA_COPYABLE, AttributeType::Destroyable = CKA_DESTROYABLE, AttributeType::EcdsaParams = CKA_ECDSA_PARAMS, AttributeType::EcParams = CKA_EC_PARAMS, AttributeType::EcPoint = CKA_EC_POINT, AttributeType::SecondaryAuth = CKA_SECONDARY_AUTH, AttributeType::AuthPinFlags = CKA_AUTH_PIN_FLAGS, AttributeType::AlwaysAuthenticate = CKA_ALWAYS_AUTHENTICATE, AttributeType::WrapWithTrusted = CKA_WRAP_WITH_TRUSTED, AttributeType::WrapTemplate = CKA_WRAP_TEMPLATE, AttributeType::UnwrapTemplate = CKA_UNWRAP_TEMPLATE, AttributeType::DeriveTemplate = CKA_DERIVE_TEMPLATE, AttributeType::OtpFormat = CKA_OTP_FORMAT, AttributeType::OtpLength = CKA_OTP_LENGTH, AttributeType::OtpTimeInterval = CKA_OTP_TIME_INTERVAL, AttributeType::OtpUserFriendlyMode = CKA_OTP_USER_FRIENDLY_MODE, AttributeType::OtpChallengeRequirement = CKA_OTP_CHALLENGE_REQUIREMENT, AttributeType::OtpTimeRequirement = CKA_OTP_TIME_REQUIREMENT, AttributeType::OtpCounterRequirement = CKA_OTP_COUNTER_REQUIREMENT, AttributeType::OtpPinRequirement = CKA_OTP_PIN_REQUIREMENT, AttributeType::OtpCounter = CKA_OTP_COUNTER, AttributeType::OtpTime = CKA_OTP_TIME, AttributeType::OtpUserIdentifier = CKA_OTP_USER_IDENTIFIER, AttributeType::OtpServiceIdentifier = CKA_OTP_SERVICE_IDENTIFIER, AttributeType::OtpServiceLogo = CKA_OTP_SERVICE_LOGO, AttributeType::OtpServiceLogoType = CKA_OTP_SERVICE_LOGO_TYPE, AttributeType::Gostr3410Params = CKA_GOSTR3410_PARAMS, AttributeType::Gostr3411Params = CKA_GOSTR3411_PARAMS, AttributeType::Gost28147Params = CKA_GOST28147_PARAMS, AttributeType::HwFeatureType = CKA_HW_FEATURE_TYPE, AttributeType::ResetOnInit = CKA_RESET_ON_INIT, AttributeType::HasReset = CKA_HAS_RESET, AttributeType::PixelX = CKA_PIXEL_X, AttributeType::PixelY = CKA_PIXEL_Y, AttributeType::Resolution = CKA_RESOLUTION, AttributeType::CharRows = CKA_CHAR_ROWS, AttributeType::CharColumns = CKA_CHAR_COLUMNS, AttributeType::Color = CKA_COLOR, AttributeType::BitsPerPixel = CKA_BITS_PER_PIXEL, AttributeType::CharSets = CKA_CHAR_SETS, AttributeType::EncodingMethods = CKA_ENCODING_METHODS, AttributeType::MimeTypes = CKA_MIME_TYPES, AttributeType::MechanismType = CKA_MECHANISM_TYPE, AttributeType::RequiredCmsAttributes = CKA_REQUIRED_CMS_ATTRIBUTES, AttributeType::DefaultCmsAttributes = CKA_DEFAULT_CMS_ATTRIBUTES, AttributeType::SupportedCmsAttributes = CKA_SUPPORTED_CMS_ATTRIBUTES, AttributeType::AllowedMechanisms = CKA_ALLOWED_MECHANISMS, AttributeType::VendorDefined = CKA_VENDOR_DEFINED }
enum | CertificateCategory : CK_ULONG { CertificateCategory::Unspecified = CK_CERTIFICATE_CATEGORY_UNSPECIFIED, CertificateCategory::TokenUser = CK_CERTIFICATE_CATEGORY_TOKEN_USER, CertificateCategory::Authority = CK_CERTIFICATE_CATEGORY_AUTHORITY, CertificateCategory::OtherEntity = CK_CERTIFICATE_CATEGORY_OTHER_ENTITY }
enum | CertificateType : CK_CERTIFICATE_TYPE { CertificateType::X509 = CKC_X_509, CertificateType::X509AttrCert = CKC_X_509_ATTR_CERT, CertificateType::Wtls = CKC_WTLS, CertificateType::VendorDefined = CKC_VENDOR_DEFINED }
enum | Flag : CK_FLAGS { Flag::None = 0, Flag::TokenPresent = CKF_TOKEN_PRESENT, Flag::RemovableDevice = CKF_REMOVABLE_DEVICE, Flag::HwSlot = CKF_HW_SLOT, Flag::Rng = CKF_RNG, Flag::WriteProtected = CKF_WRITE_PROTECTED, Flag::LoginRequired = CKF_LOGIN_REQUIRED, Flag::UserPinInitialized = CKF_USER_PIN_INITIALIZED, Flag::RestoreKeyNotNeeded = CKF_RESTORE_KEY_NOT_NEEDED, Flag::ClockOnToken = CKF_CLOCK_ON_TOKEN, Flag::ProtectedAuthenticationPath = CKF_PROTECTED_AUTHENTICATION_PATH, Flag::DualCryptoOperations = CKF_DUAL_CRYPTO_OPERATIONS, Flag::TokenInitialized = CKF_TOKEN_INITIALIZED, Flag::SecondaryAuthentication = CKF_SECONDARY_AUTHENTICATION, Flag::UserPinCountLow = CKF_USER_PIN_COUNT_LOW, Flag::UserPinFinalTry = CKF_USER_PIN_FINAL_TRY, Flag::UserPinLocked = CKF_USER_PIN_LOCKED, Flag::UserPinToBeChanged = CKF_USER_PIN_TO_BE_CHANGED, Flag::SoPinCountLow = CKF_SO_PIN_COUNT_LOW, Flag::SoPinFinalTry = CKF_SO_PIN_FINAL_TRY, Flag::SoPinLocked = CKF_SO_PIN_LOCKED, Flag::SoPinToBeChanged = CKF_SO_PIN_TO_BE_CHANGED, Flag::ErrorState = CKF_ERROR_STATE, Flag::RwSession = CKF_RW_SESSION, Flag::SerialSession = CKF_SERIAL_SESSION, Flag::ArrayAttribute = CKF_ARRAY_ATTRIBUTE, Flag::Hw = CKF_HW, Flag::Encrypt = CKF_ENCRYPT, Flag::Decrypt = CKF_DECRYPT, Flag::Digest = CKF_DIGEST, Flag::Sign = CKF_SIGN, Flag::SignRecover = CKF_SIGN_RECOVER, Flag::Verify = CKF_VERIFY, Flag::VerifyRecover = CKF_VERIFY_RECOVER, Flag::Generate = CKF_GENERATE, Flag::GenerateKeyPair = CKF_GENERATE_KEY_PAIR, Flag::Wrap = CKF_WRAP, Flag::Unwrap = CKF_UNWRAP, Flag::Derive = CKF_DERIVE, Flag::EcFP = CKF_EC_F_P, Flag::EcF2m = CKF_EC_F_2M, Flag::EcEcparameters = CKF_EC_ECPARAMETERS, Flag::EcNamedcurve = CKF_EC_NAMEDCURVE, Flag::EcUncompress = CKF_EC_UNCOMPRESS, Flag::EcCompress = CKF_EC_COMPRESS, Flag::Extension = CKF_EXTENSION, Flag::LibraryCantCreateOsThreads = CKF_LIBRARY_CANT_CREATE_OS_THREADS, Flag::OsLockingOk = CKF_OS_LOCKING_OK, Flag::DontBlock = CKF_DONT_BLOCK, Flag::NextOtp = CKF_NEXT_OTP, Flag::ExcludeTime = CKF_EXCLUDE_TIME, Flag::ExcludeCounter = CKF_EXCLUDE_COUNTER, Flag::ExcludeChallenge = CKF_EXCLUDE_CHALLENGE, Flag::ExcludePin = CKF_EXCLUDE_PIN, Flag::UserFriendlyOtp = CKF_USER_FRIENDLY_OTP }
enum | HardwareType : CK_HW_FEATURE_TYPE { HardwareType::MonotonicCounter = CKH_MONOTONIC_COUNTER, HardwareType::Clock = CKH_CLOCK, HardwareType::UserInterface = CKH_USER_INTERFACE, HardwareType::VendorDefined = CKH_VENDOR_DEFINED }
enum | KeyDerivation : CK_ULONG { KeyDerivation::Null = CKD_NULL, KeyDerivation::Sha1Kdf = CKD_SHA1_KDF, KeyDerivation::Sha1KdfAsn1 = CKD_SHA1_KDF_ASN1, KeyDerivation::Sha1KdfConcatenate = CKD_SHA1_KDF_CONCATENATE, KeyDerivation::Sha224Kdf = CKD_SHA224_KDF, KeyDerivation::Sha256Kdf = CKD_SHA256_KDF, KeyDerivation::Sha384Kdf = CKD_SHA384_KDF, KeyDerivation::Sha512Kdf = CKD_SHA512_KDF, KeyDerivation::CpdiversifyKdf = CKD_CPDIVERSIFY_KDF }
enum | KeyType : CK_KEY_TYPE { KeyType::Rsa = CKK_RSA, KeyType::Dsa = CKK_DSA, KeyType::Dh = CKK_DH, KeyType::Ecdsa = CKK_ECDSA, KeyType::Ec = CKK_EC, KeyType::X942Dh = CKK_X9_42_DH, KeyType::Kea = CKK_KEA, KeyType::GenericSecret = CKK_GENERIC_SECRET, KeyType::Rc2 = CKK_RC2, KeyType::Rc4 = CKK_RC4, KeyType::Des = CKK_DES, KeyType::Des2 = CKK_DES2, KeyType::Des3 = CKK_DES3, KeyType::Cast = CKK_CAST, KeyType::Cast3 = CKK_CAST3, KeyType::Cast5 = CKK_CAST5, KeyType::Cast128 = CKK_CAST128, KeyType::Rc5 = CKK_RC5, KeyType::Idea = CKK_IDEA, KeyType::Skipjack = CKK_SKIPJACK, KeyType::Baton = CKK_BATON, KeyType::Juniper = CKK_JUNIPER, KeyType::Cdmf = CKK_CDMF, KeyType::Aes = CKK_AES, KeyType::Blowfish = CKK_BLOWFISH, KeyType::Twofish = CKK_TWOFISH, KeyType::Securid = CKK_SECURID, KeyType::Hotp = CKK_HOTP, KeyType::Acti = CKK_ACTI, KeyType::Camellia = CKK_CAMELLIA, KeyType::Aria = CKK_ARIA, KeyType::Md5Hmac = CKK_MD5_HMAC, KeyType::Sha1Hmac = CKK_SHA_1_HMAC, KeyType::Ripemd128Hmac = CKK_RIPEMD128_HMAC, KeyType::Ripemd160Hmac = CKK_RIPEMD160_HMAC, KeyType::Sha256Hmac = CKK_SHA256_HMAC, KeyType::Sha384Hmac = CKK_SHA384_HMAC, KeyType::Sha512Hmac = CKK_SHA512_HMAC, KeyType::Sha224Hmac = CKK_SHA224_HMAC, KeyType::Seed = CKK_SEED, KeyType::Gostr3410 = CKK_GOSTR3410, KeyType::Gostr3411 = CKK_GOSTR3411, KeyType::Gost28147 = CKK_GOST28147, KeyType::VendorDefined = CKK_VENDOR_DEFINED }
enum | MechanismType : CK_MECHANISM_TYPE { MechanismType::RsaPkcsKeyPairGen = CKM_RSA_PKCS_KEY_PAIR_GEN, MechanismType::RsaPkcs = CKM_RSA_PKCS, MechanismType::Rsa9796 = CKM_RSA_9796, MechanismType::RsaX509 = CKM_RSA_X_509, MechanismType::Md2RsaPkcs = CKM_MD2_RSA_PKCS, MechanismType::Md5RsaPkcs = CKM_MD5_RSA_PKCS, MechanismType::Sha1RsaPkcs = CKM_SHA1_RSA_PKCS, MechanismType::Ripemd128RsaPkcs = CKM_RIPEMD128_RSA_PKCS, MechanismType::Ripemd160RsaPkcs = CKM_RIPEMD160_RSA_PKCS, MechanismType::RsaPkcsOaep = CKM_RSA_PKCS_OAEP, MechanismType::RsaX931KeyPairGen = CKM_RSA_X9_31_KEY_PAIR_GEN, MechanismType::RsaX931 = CKM_RSA_X9_31, MechanismType::Sha1RsaX931 = CKM_SHA1_RSA_X9_31, MechanismType::RsaPkcsPss = CKM_RSA_PKCS_PSS, MechanismType::Sha1RsaPkcsPss = CKM_SHA1_RSA_PKCS_PSS, MechanismType::DsaKeyPairGen = CKM_DSA_KEY_PAIR_GEN, MechanismType::Dsa = CKM_DSA, MechanismType::DsaSha1 = CKM_DSA_SHA1, MechanismType::DsaSha224 = CKM_DSA_SHA224, MechanismType::DsaSha256 = CKM_DSA_SHA256, MechanismType::DsaSha384 = CKM_DSA_SHA384, MechanismType::DsaSha512 = CKM_DSA_SHA512, MechanismType::DhPkcsKeyPairGen = CKM_DH_PKCS_KEY_PAIR_GEN, MechanismType::DhPkcsDerive = CKM_DH_PKCS_DERIVE, MechanismType::X942DhKeyPairGen = CKM_X9_42_DH_KEY_PAIR_GEN, MechanismType::X942DhDerive = CKM_X9_42_DH_DERIVE, MechanismType::X942DhHybridDerive = CKM_X9_42_DH_HYBRID_DERIVE, MechanismType::X942MqvDerive = CKM_X9_42_MQV_DERIVE, MechanismType::Sha256RsaPkcs = CKM_SHA256_RSA_PKCS, MechanismType::Sha384RsaPkcs = CKM_SHA384_RSA_PKCS, MechanismType::Sha512RsaPkcs = CKM_SHA512_RSA_PKCS, MechanismType::Sha256RsaPkcsPss = CKM_SHA256_RSA_PKCS_PSS, MechanismType::Sha384RsaPkcsPss = CKM_SHA384_RSA_PKCS_PSS, MechanismType::Sha512RsaPkcsPss = CKM_SHA512_RSA_PKCS_PSS, MechanismType::Sha224RsaPkcs = CKM_SHA224_RSA_PKCS, MechanismType::Sha224RsaPkcsPss = CKM_SHA224_RSA_PKCS_PSS, MechanismType::Sha512224 = CKM_SHA512_224, MechanismType::Sha512224Hmac = CKM_SHA512_224_HMAC, MechanismType::Sha512224HmacGeneral = CKM_SHA512_224_HMAC_GENERAL, MechanismType::Sha512224KeyDerivation = CKM_SHA512_224_KEY_DERIVATION, MechanismType::Sha512256 = CKM_SHA512_256, MechanismType::Sha512256Hmac = CKM_SHA512_256_HMAC, MechanismType::Sha512256HmacGeneral = CKM_SHA512_256_HMAC_GENERAL, MechanismType::Sha512256KeyDerivation = CKM_SHA512_256_KEY_DERIVATION, MechanismType::Sha512T = CKM_SHA512_T, MechanismType::Sha512THmac = CKM_SHA512_T_HMAC, MechanismType::Sha512THmacGeneral = CKM_SHA512_T_HMAC_GENERAL, MechanismType::Sha512TKeyDerivation = CKM_SHA512_T_KEY_DERIVATION, MechanismType::Rc2KeyGen = CKM_RC2_KEY_GEN, MechanismType::Rc2Ecb = CKM_RC2_ECB, MechanismType::Rc2Cbc = CKM_RC2_CBC, MechanismType::Rc2Mac = CKM_RC2_MAC, MechanismType::Rc2MacGeneral = CKM_RC2_MAC_GENERAL, MechanismType::Rc2CbcPad = CKM_RC2_CBC_PAD, MechanismType::Rc4KeyGen = CKM_RC4_KEY_GEN, MechanismType::Rc4 = CKM_RC4, MechanismType::DesKeyGen = CKM_DES_KEY_GEN, MechanismType::DesEcb = CKM_DES_ECB, MechanismType::DesCbc = CKM_DES_CBC, MechanismType::DesMac = CKM_DES_MAC, MechanismType::DesMacGeneral = CKM_DES_MAC_GENERAL, MechanismType::DesCbcPad = CKM_DES_CBC_PAD, MechanismType::Des2KeyGen = CKM_DES2_KEY_GEN, MechanismType::Des3KeyGen = CKM_DES3_KEY_GEN, MechanismType::Des3Ecb = CKM_DES3_ECB, MechanismType::Des3Cbc = CKM_DES3_CBC, MechanismType::Des3Mac = CKM_DES3_MAC, MechanismType::Des3MacGeneral = CKM_DES3_MAC_GENERAL, MechanismType::Des3CbcPad = CKM_DES3_CBC_PAD, MechanismType::Des3CmacGeneral = CKM_DES3_CMAC_GENERAL, MechanismType::Des3Cmac = CKM_DES3_CMAC, MechanismType::CdmfKeyGen = CKM_CDMF_KEY_GEN, MechanismType::CdmfEcb = CKM_CDMF_ECB, MechanismType::CdmfCbc = CKM_CDMF_CBC, MechanismType::CdmfMac = CKM_CDMF_MAC, MechanismType::CdmfMacGeneral = CKM_CDMF_MAC_GENERAL, MechanismType::CdmfCbcPad = CKM_CDMF_CBC_PAD, MechanismType::DesOfb64 = CKM_DES_OFB64, MechanismType::DesOfb8 = CKM_DES_OFB8, MechanismType::DesCfb64 = CKM_DES_CFB64, MechanismType::DesCfb8 = CKM_DES_CFB8, MechanismType::Md2 = CKM_MD2, MechanismType::Md2Hmac = CKM_MD2_HMAC, MechanismType::Md2HmacGeneral = CKM_MD2_HMAC_GENERAL, MechanismType::Md5 = CKM_MD5, MechanismType::Md5Hmac = CKM_MD5_HMAC, MechanismType::Md5HmacGeneral = CKM_MD5_HMAC_GENERAL, MechanismType::Sha1 = CKM_SHA_1, MechanismType::Sha1Hmac = CKM_SHA_1_HMAC, MechanismType::Sha1HmacGeneral = CKM_SHA_1_HMAC_GENERAL, MechanismType::Ripemd128 = CKM_RIPEMD128, MechanismType::Ripemd128Hmac = CKM_RIPEMD128_HMAC, MechanismType::Ripemd128HmacGeneral = CKM_RIPEMD128_HMAC_GENERAL, MechanismType::Ripemd160 = CKM_RIPEMD160, MechanismType::Ripemd160Hmac = CKM_RIPEMD160_HMAC, MechanismType::Ripemd160HmacGeneral = CKM_RIPEMD160_HMAC_GENERAL, MechanismType::Sha256 = CKM_SHA256, MechanismType::Sha256Hmac = CKM_SHA256_HMAC, MechanismType::Sha256HmacGeneral = CKM_SHA256_HMAC_GENERAL, MechanismType::Sha224 = CKM_SHA224, MechanismType::Sha224Hmac = CKM_SHA224_HMAC, MechanismType::Sha224HmacGeneral = CKM_SHA224_HMAC_GENERAL, MechanismType::Sha384 = CKM_SHA384, MechanismType::Sha384Hmac = CKM_SHA384_HMAC, MechanismType::Sha384HmacGeneral = CKM_SHA384_HMAC_GENERAL, MechanismType::Sha512 = CKM_SHA512, MechanismType::Sha512Hmac = CKM_SHA512_HMAC, MechanismType::Sha512HmacGeneral = CKM_SHA512_HMAC_GENERAL, MechanismType::SecuridKeyGen = CKM_SECURID_KEY_GEN, MechanismType::Securid = CKM_SECURID, MechanismType::HotpKeyGen = CKM_HOTP_KEY_GEN, MechanismType::Hotp = CKM_HOTP, MechanismType::Acti = CKM_ACTI, MechanismType::ActiKeyGen = CKM_ACTI_KEY_GEN, MechanismType::CastKeyGen = CKM_CAST_KEY_GEN, MechanismType::CastEcb = CKM_CAST_ECB, MechanismType::CastCbc = CKM_CAST_CBC, MechanismType::CastMac = CKM_CAST_MAC, MechanismType::CastMacGeneral = CKM_CAST_MAC_GENERAL, MechanismType::CastCbcPad = CKM_CAST_CBC_PAD, MechanismType::Cast3KeyGen = CKM_CAST3_KEY_GEN, MechanismType::Cast3Ecb = CKM_CAST3_ECB, MechanismType::Cast3Cbc = CKM_CAST3_CBC, MechanismType::Cast3Mac = CKM_CAST3_MAC, MechanismType::Cast3MacGeneral = CKM_CAST3_MAC_GENERAL, MechanismType::Cast3CbcPad = CKM_CAST3_CBC_PAD, MechanismType::Cast5KeyGen = CKM_CAST5_KEY_GEN, MechanismType::Cast128KeyGen = CKM_CAST128_KEY_GEN, MechanismType::Cast5Ecb = CKM_CAST5_ECB, MechanismType::Cast128Ecb = CKM_CAST128_ECB, MechanismType::Cast5Cbc = CKM_CAST5_CBC, MechanismType::Cast128Cbc = CKM_CAST128_CBC, MechanismType::Cast5Mac = CKM_CAST5_MAC, MechanismType::Cast128Mac = CKM_CAST128_MAC, MechanismType::Cast5MacGeneral = CKM_CAST5_MAC_GENERAL, MechanismType::Cast128MacGeneral = CKM_CAST128_MAC_GENERAL, MechanismType::Cast5CbcPad = CKM_CAST5_CBC_PAD, MechanismType::Cast128CbcPad = CKM_CAST128_CBC_PAD, MechanismType::Rc5KeyGen = CKM_RC5_KEY_GEN, MechanismType::Rc5Ecb = CKM_RC5_ECB, MechanismType::Rc5Cbc = CKM_RC5_CBC, MechanismType::Rc5Mac = CKM_RC5_MAC, MechanismType::Rc5MacGeneral = CKM_RC5_MAC_GENERAL, MechanismType::Rc5CbcPad = CKM_RC5_CBC_PAD, MechanismType::IdeaKeyGen = CKM_IDEA_KEY_GEN, MechanismType::IdeaEcb = CKM_IDEA_ECB, MechanismType::IdeaCbc = CKM_IDEA_CBC, MechanismType::IdeaMac = CKM_IDEA_MAC, MechanismType::IdeaMacGeneral = CKM_IDEA_MAC_GENERAL, MechanismType::IdeaCbcPad = CKM_IDEA_CBC_PAD, MechanismType::GenericSecretKeyGen = CKM_GENERIC_SECRET_KEY_GEN, MechanismType::ConcatenateBaseAndKey = CKM_CONCATENATE_BASE_AND_KEY, MechanismType::ConcatenateBaseAndData = CKM_CONCATENATE_BASE_AND_DATA, MechanismType::ConcatenateDataAndBase = CKM_CONCATENATE_DATA_AND_BASE, MechanismType::XorBaseAndData = CKM_XOR_BASE_AND_DATA, MechanismType::ExtractKeyFromKey = CKM_EXTRACT_KEY_FROM_KEY, MechanismType::Ssl3PreMasterKeyGen = CKM_SSL3_PRE_MASTER_KEY_GEN, MechanismType::Ssl3MasterKeyDerive = CKM_SSL3_MASTER_KEY_DERIVE, MechanismType::Ssl3KeyAndMacDerive = CKM_SSL3_KEY_AND_MAC_DERIVE, MechanismType::Ssl3MasterKeyDeriveDh = CKM_SSL3_MASTER_KEY_DERIVE_DH, MechanismType::TlsPreMasterKeyGen = CKM_TLS_PRE_MASTER_KEY_GEN, MechanismType::TlsMasterKeyDerive = CKM_TLS_MASTER_KEY_DERIVE, MechanismType::TlsKeyAndMacDerive = CKM_TLS_KEY_AND_MAC_DERIVE, MechanismType::TlsMasterKeyDeriveDh = CKM_TLS_MASTER_KEY_DERIVE_DH, MechanismType::TlsPrf = CKM_TLS_PRF, MechanismType::Ssl3Md5Mac = CKM_SSL3_MD5_MAC, MechanismType::Ssl3Sha1Mac = CKM_SSL3_SHA1_MAC, MechanismType::Md5KeyDerivation = CKM_MD5_KEY_DERIVATION, MechanismType::Md2KeyDerivation = CKM_MD2_KEY_DERIVATION, MechanismType::Sha1KeyDerivation = CKM_SHA1_KEY_DERIVATION, MechanismType::Sha256KeyDerivation = CKM_SHA256_KEY_DERIVATION, MechanismType::Sha384KeyDerivation = CKM_SHA384_KEY_DERIVATION, MechanismType::Sha512KeyDerivation = CKM_SHA512_KEY_DERIVATION, MechanismType::Sha224KeyDerivation = CKM_SHA224_KEY_DERIVATION, MechanismType::PbeMd2DesCbc = CKM_PBE_MD2_DES_CBC, MechanismType::PbeMd5DesCbc = CKM_PBE_MD5_DES_CBC, MechanismType::PbeMd5CastCbc = CKM_PBE_MD5_CAST_CBC, MechanismType::PbeMd5Cast3Cbc = CKM_PBE_MD5_CAST3_CBC, MechanismType::PbeMd5Cast5Cbc = CKM_PBE_MD5_CAST5_CBC, MechanismType::PbeMd5Cast128Cbc = CKM_PBE_MD5_CAST128_CBC, MechanismType::PbeSha1Cast5Cbc = CKM_PBE_SHA1_CAST5_CBC, MechanismType::PbeSha1Cast128Cbc = CKM_PBE_SHA1_CAST128_CBC, MechanismType::PbeSha1Rc4128 = CKM_PBE_SHA1_RC4_128, MechanismType::PbeSha1Rc440 = CKM_PBE_SHA1_RC4_40, MechanismType::PbeSha1Des3EdeCbc = CKM_PBE_SHA1_DES3_EDE_CBC, MechanismType::PbeSha1Des2EdeCbc = CKM_PBE_SHA1_DES2_EDE_CBC, MechanismType::PbeSha1Rc2128Cbc = CKM_PBE_SHA1_RC2_128_CBC, MechanismType::PbeSha1Rc240Cbc = CKM_PBE_SHA1_RC2_40_CBC, MechanismType::Pkcs5Pbkd2 = CKM_PKCS5_PBKD2, MechanismType::PbaSha1WithSha1Hmac = CKM_PBA_SHA1_WITH_SHA1_HMAC, MechanismType::WtlsPreMasterKeyGen = CKM_WTLS_PRE_MASTER_KEY_GEN, MechanismType::WtlsMasterKeyDerive = CKM_WTLS_MASTER_KEY_DERIVE, MechanismType::WtlsMasterKeyDeriveDhEcc = CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC, MechanismType::WtlsPrf = CKM_WTLS_PRF, MechanismType::WtlsServerKeyAndMacDerive = CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE, MechanismType::WtlsClientKeyAndMacDerive = CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE, MechanismType::Tls10MacServer = CKM_TLS10_MAC_SERVER, MechanismType::Tls10MacClient = CKM_TLS10_MAC_CLIENT, MechanismType::Tls12Mac = CKM_TLS12_MAC, MechanismType::Tls12Kdf = CKM_TLS12_KDF, MechanismType::Tls12MasterKeyDerive = CKM_TLS12_MASTER_KEY_DERIVE, MechanismType::Tls12KeyAndMacDerive = CKM_TLS12_KEY_AND_MAC_DERIVE, MechanismType::Tls12MasterKeyDeriveDh = CKM_TLS12_MASTER_KEY_DERIVE_DH, MechanismType::Tls12KeySafeDerive = CKM_TLS12_KEY_SAFE_DERIVE, MechanismType::TlsMac = CKM_TLS_MAC, MechanismType::TlsKdf = CKM_TLS_KDF, MechanismType::KeyWrapLynks = CKM_KEY_WRAP_LYNKS, MechanismType::KeyWrapSetOaep = CKM_KEY_WRAP_SET_OAEP, MechanismType::CmsSig = CKM_CMS_SIG, MechanismType::KipDerive = CKM_KIP_DERIVE, MechanismType::KipWrap = CKM_KIP_WRAP, MechanismType::KipMac = CKM_KIP_MAC, MechanismType::CamelliaKeyGen = CKM_CAMELLIA_KEY_GEN, MechanismType::CamelliaEcb = CKM_CAMELLIA_ECB, MechanismType::CamelliaCbc = CKM_CAMELLIA_CBC, MechanismType::CamelliaMac = CKM_CAMELLIA_MAC, MechanismType::CamelliaMacGeneral = CKM_CAMELLIA_MAC_GENERAL, MechanismType::CamelliaCbcPad = CKM_CAMELLIA_CBC_PAD, MechanismType::CamelliaEcbEncryptData = CKM_CAMELLIA_ECB_ENCRYPT_DATA, MechanismType::CamelliaCbcEncryptData = CKM_CAMELLIA_CBC_ENCRYPT_DATA, MechanismType::CamelliaCtr = CKM_CAMELLIA_CTR, MechanismType::AriaKeyGen = CKM_ARIA_KEY_GEN, MechanismType::AriaEcb = CKM_ARIA_ECB, MechanismType::AriaCbc = CKM_ARIA_CBC, MechanismType::AriaMac = CKM_ARIA_MAC, MechanismType::AriaMacGeneral = CKM_ARIA_MAC_GENERAL, MechanismType::AriaCbcPad = CKM_ARIA_CBC_PAD, MechanismType::AriaEcbEncryptData = CKM_ARIA_ECB_ENCRYPT_DATA, MechanismType::AriaCbcEncryptData = CKM_ARIA_CBC_ENCRYPT_DATA, MechanismType::SeedKeyGen = CKM_SEED_KEY_GEN, MechanismType::SeedEcb = CKM_SEED_ECB, MechanismType::SeedCbc = CKM_SEED_CBC, MechanismType::SeedMac = CKM_SEED_MAC, MechanismType::SeedMacGeneral = CKM_SEED_MAC_GENERAL, MechanismType::SeedCbcPad = CKM_SEED_CBC_PAD, MechanismType::SeedEcbEncryptData = CKM_SEED_ECB_ENCRYPT_DATA, MechanismType::SeedCbcEncryptData = CKM_SEED_CBC_ENCRYPT_DATA, MechanismType::SkipjackKeyGen = CKM_SKIPJACK_KEY_GEN, MechanismType::SkipjackEcb64 = CKM_SKIPJACK_ECB64, MechanismType::SkipjackCbc64 = CKM_SKIPJACK_CBC64, MechanismType::SkipjackOfb64 = CKM_SKIPJACK_OFB64, MechanismType::SkipjackCfb64 = CKM_SKIPJACK_CFB64, MechanismType::SkipjackCfb32 = CKM_SKIPJACK_CFB32, MechanismType::SkipjackCfb16 = CKM_SKIPJACK_CFB16, MechanismType::SkipjackCfb8 = CKM_SKIPJACK_CFB8, MechanismType::SkipjackWrap = CKM_SKIPJACK_WRAP, MechanismType::SkipjackPrivateWrap = CKM_SKIPJACK_PRIVATE_WRAP, MechanismType::SkipjackRelayx = CKM_SKIPJACK_RELAYX, MechanismType::KeaKeyPairGen = CKM_KEA_KEY_PAIR_GEN, MechanismType::KeaKeyDerive = CKM_KEA_KEY_DERIVE, MechanismType::KeaDerive = CKM_KEA_DERIVE, MechanismType::FortezzaTimestamp = CKM_FORTEZZA_TIMESTAMP, MechanismType::BatonKeyGen = CKM_BATON_KEY_GEN, MechanismType::BatonEcb128 = CKM_BATON_ECB128, MechanismType::BatonEcb96 = CKM_BATON_ECB96, MechanismType::BatonCbc128 = CKM_BATON_CBC128, MechanismType::BatonCounter = CKM_BATON_COUNTER, MechanismType::BatonShuffle = CKM_BATON_SHUFFLE, MechanismType::BatonWrap = CKM_BATON_WRAP, MechanismType::EcdsaKeyPairGen = CKM_ECDSA_KEY_PAIR_GEN, MechanismType::EcKeyPairGen = CKM_EC_KEY_PAIR_GEN, MechanismType::Ecdsa = CKM_ECDSA, MechanismType::EcdsaSha1 = CKM_ECDSA_SHA1, MechanismType::EcdsaSha224 = CKM_ECDSA_SHA224, MechanismType::EcdsaSha256 = CKM_ECDSA_SHA256, MechanismType::EcdsaSha384 = CKM_ECDSA_SHA384, MechanismType::EcdsaSha512 = CKM_ECDSA_SHA512, MechanismType::Ecdh1Derive = CKM_ECDH1_DERIVE, MechanismType::Ecdh1CofactorDerive = CKM_ECDH1_COFACTOR_DERIVE, MechanismType::EcmqvDerive = CKM_ECMQV_DERIVE, MechanismType::EcdhAesKeyWrap = CKM_ECDH_AES_KEY_WRAP, MechanismType::RsaAesKeyWrap = CKM_RSA_AES_KEY_WRAP, MechanismType::JuniperKeyGen = CKM_JUNIPER_KEY_GEN, MechanismType::JuniperEcb128 = CKM_JUNIPER_ECB128, MechanismType::JuniperCbc128 = CKM_JUNIPER_CBC128, MechanismType::JuniperCounter = CKM_JUNIPER_COUNTER, MechanismType::JuniperShuffle = CKM_JUNIPER_SHUFFLE, MechanismType::JuniperWrap = CKM_JUNIPER_WRAP, MechanismType::Fasthash = CKM_FASTHASH, MechanismType::AesKeyGen = CKM_AES_KEY_GEN, MechanismType::AesEcb = CKM_AES_ECB, MechanismType::AesCbc = CKM_AES_CBC, MechanismType::AesMac = CKM_AES_MAC, MechanismType::AesMacGeneral = CKM_AES_MAC_GENERAL, MechanismType::AesCbcPad = CKM_AES_CBC_PAD, MechanismType::AesCtr = CKM_AES_CTR, MechanismType::AesGcm = CKM_AES_GCM, MechanismType::AesCcm = CKM_AES_CCM, MechanismType::AesCts = CKM_AES_CTS, MechanismType::AesCmac = CKM_AES_CMAC, MechanismType::AesCmacGeneral = CKM_AES_CMAC_GENERAL, MechanismType::AesXcbcMac = CKM_AES_XCBC_MAC, MechanismType::AesXcbcMac96 = CKM_AES_XCBC_MAC_96, MechanismType::AesGmac = CKM_AES_GMAC, MechanismType::BlowfishKeyGen = CKM_BLOWFISH_KEY_GEN, MechanismType::BlowfishCbc = CKM_BLOWFISH_CBC, MechanismType::TwofishKeyGen = CKM_TWOFISH_KEY_GEN, MechanismType::TwofishCbc = CKM_TWOFISH_CBC, MechanismType::BlowfishCbcPad = CKM_BLOWFISH_CBC_PAD, MechanismType::TwofishCbcPad = CKM_TWOFISH_CBC_PAD, MechanismType::DesEcbEncryptData = CKM_DES_ECB_ENCRYPT_DATA, MechanismType::DesCbcEncryptData = CKM_DES_CBC_ENCRYPT_DATA, MechanismType::Des3EcbEncryptData = CKM_DES3_ECB_ENCRYPT_DATA, MechanismType::Des3CbcEncryptData = CKM_DES3_CBC_ENCRYPT_DATA, MechanismType::AesEcbEncryptData = CKM_AES_ECB_ENCRYPT_DATA, MechanismType::AesCbcEncryptData = CKM_AES_CBC_ENCRYPT_DATA, MechanismType::Gostr3410KeyPairGen = CKM_GOSTR3410_KEY_PAIR_GEN, MechanismType::Gostr3410 = CKM_GOSTR3410, MechanismType::Gostr3410WithGostr3411 = CKM_GOSTR3410_WITH_GOSTR3411, MechanismType::Gostr3410KeyWrap = CKM_GOSTR3410_KEY_WRAP, MechanismType::Gostr3410Derive = CKM_GOSTR3410_DERIVE, MechanismType::Gostr3411 = CKM_GOSTR3411, MechanismType::Gostr3411Hmac = CKM_GOSTR3411_HMAC, MechanismType::Gost28147KeyGen = CKM_GOST28147_KEY_GEN, MechanismType::Gost28147Ecb = CKM_GOST28147_ECB, MechanismType::Gost28147 = CKM_GOST28147, MechanismType::Gost28147Mac = CKM_GOST28147_MAC, MechanismType::Gost28147KeyWrap = CKM_GOST28147_KEY_WRAP, MechanismType::DsaParameterGen = CKM_DSA_PARAMETER_GEN, MechanismType::DhPkcsParameterGen = CKM_DH_PKCS_PARAMETER_GEN, MechanismType::X942DhParameterGen = CKM_X9_42_DH_PARAMETER_GEN, MechanismType::DsaProbablisticParameterGen = CKM_DSA_PROBABLISTIC_PARAMETER_GEN, MechanismType::DsaShaweTaylorParameterGen = CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN, MechanismType::AesOfb = CKM_AES_OFB, MechanismType::AesCfb64 = CKM_AES_CFB64, MechanismType::AesCfb8 = CKM_AES_CFB8, MechanismType::AesCfb128 = CKM_AES_CFB128, MechanismType::AesCfb1 = CKM_AES_CFB1, MechanismType::AesKeyWrap = CKM_AES_KEY_WRAP, MechanismType::AesKeyWrapPad = CKM_AES_KEY_WRAP_PAD, MechanismType::RsaPkcsTpm11 = CKM_RSA_PKCS_TPM_1_1, MechanismType::RsaPkcsOaepTpm11 = CKM_RSA_PKCS_OAEP_TPM_1_1, MechanismType::VendorDefined = CKM_VENDOR_DEFINED }
enum | MGF : CK_RSA_PKCS_MGF_TYPE { MGF::Mgf1Sha1 = CKG_MGF1_SHA1, MGF::Mgf1Sha256 = CKG_MGF1_SHA256, MGF::Mgf1Sha384 = CKG_MGF1_SHA384, MGF::Mgf1Sha512 = CKG_MGF1_SHA512, MGF::Mgf1Sha224 = CKG_MGF1_SHA224 }
enum | Notification : CK_NOTIFICATION { Notification::Surrender = CKN_SURRENDER, Notification::OtpChanged = CKN_OTP_CHANGED }
enum | ObjectClass : CK_OBJECT_CLASS { ObjectClass::Data = CKO_DATA, ObjectClass::Certificate = CKO_CERTIFICATE, ObjectClass::PublicKey = CKO_PUBLIC_KEY, ObjectClass::PrivateKey = CKO_PRIVATE_KEY, ObjectClass::SecretKey = CKO_SECRET_KEY, ObjectClass::HwFeature = CKO_HW_FEATURE, ObjectClass::DomainParameters = CKO_DOMAIN_PARAMETERS, ObjectClass::Mechanism = CKO_MECHANISM, ObjectClass::OtpKey = CKO_OTP_KEY, ObjectClass::VendorDefined = CKO_VENDOR_DEFINED }
enum | PseudoRandom : CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE { PseudoRandom::Pkcs5Pbkd2HmacSha1 = CKP_PKCS5_PBKD2_HMAC_SHA1, PseudoRandom::Pkcs5Pbkd2HmacGostr3411 = CKP_PKCS5_PBKD2_HMAC_GOSTR3411, PseudoRandom::Pkcs5Pbkd2HmacSha224 = CKP_PKCS5_PBKD2_HMAC_SHA224, PseudoRandom::Pkcs5Pbkd2HmacSha256 = CKP_PKCS5_PBKD2_HMAC_SHA256, PseudoRandom::Pkcs5Pbkd2HmacSha384 = CKP_PKCS5_PBKD2_HMAC_SHA384, PseudoRandom::Pkcs5Pbkd2HmacSha512 = CKP_PKCS5_PBKD2_HMAC_SHA512, PseudoRandom::Pkcs5Pbkd2HmacSha512224 = CKP_PKCS5_PBKD2_HMAC_SHA512_224, PseudoRandom::Pkcs5Pbkd2HmacSha512256 = CKP_PKCS5_PBKD2_HMAC_SHA512_256 }
enum | PublicPointEncoding : uint32_t { PublicPointEncoding::Raw, PublicPointEncoding::Der }
enum | ReturnValue : CK_RV { ReturnValue::OK = CKR_OK, ReturnValue::Cancel = CKR_CANCEL, ReturnValue::HostMemory = CKR_HOST_MEMORY, ReturnValue::SlotIdInvalid = CKR_SLOT_ID_INVALID, ReturnValue::GeneralError = CKR_GENERAL_ERROR, ReturnValue::FunctionFailed = CKR_FUNCTION_FAILED, ReturnValue::ArgumentsBad = CKR_ARGUMENTS_BAD, ReturnValue::NoEvent = CKR_NO_EVENT, ReturnValue::NeedToCreateThreads = CKR_NEED_TO_CREATE_THREADS, ReturnValue::CantLock = CKR_CANT_LOCK, ReturnValue::AttributeReadOnly = CKR_ATTRIBUTE_READ_ONLY, ReturnValue::AttributeSensitive = CKR_ATTRIBUTE_SENSITIVE, ReturnValue::AttributeTypeInvalid = CKR_ATTRIBUTE_TYPE_INVALID, ReturnValue::AttributeValueInvalid = CKR_ATTRIBUTE_VALUE_INVALID, ReturnValue::ActionProhibited = CKR_ACTION_PROHIBITED, ReturnValue::DataInvalid = CKR_DATA_INVALID, ReturnValue::DataLenRange = CKR_DATA_LEN_RANGE, ReturnValue::DeviceError = CKR_DEVICE_ERROR, ReturnValue::DeviceMemory = CKR_DEVICE_MEMORY, ReturnValue::DeviceRemoved = CKR_DEVICE_REMOVED, ReturnValue::EncryptedDataInvalid = CKR_ENCRYPTED_DATA_INVALID, ReturnValue::EncryptedDataLenRange = CKR_ENCRYPTED_DATA_LEN_RANGE, ReturnValue::FunctionCanceled = CKR_FUNCTION_CANCELED, ReturnValue::FunctionNotParallel = CKR_FUNCTION_NOT_PARALLEL, ReturnValue::FunctionNotSupported = CKR_FUNCTION_NOT_SUPPORTED, ReturnValue::KeyHandleInvalid = CKR_KEY_HANDLE_INVALID, ReturnValue::KeySizeRange = CKR_KEY_SIZE_RANGE, ReturnValue::KeyTypeInconsistent = CKR_KEY_TYPE_INCONSISTENT, ReturnValue::KeyNotNeeded = CKR_KEY_NOT_NEEDED, ReturnValue::KeyChanged = CKR_KEY_CHANGED, ReturnValue::KeyNeeded = CKR_KEY_NEEDED, ReturnValue::KeyIndigestible = CKR_KEY_INDIGESTIBLE, ReturnValue::KeyFunctionNotPermitted = CKR_KEY_FUNCTION_NOT_PERMITTED, ReturnValue::KeyNotWrappable = CKR_KEY_NOT_WRAPPABLE, ReturnValue::KeyUnextractable = CKR_KEY_UNEXTRACTABLE, ReturnValue::MechanismInvalid = CKR_MECHANISM_INVALID, ReturnValue::MechanismParamInvalid = CKR_MECHANISM_PARAM_INVALID, ReturnValue::ObjectHandleInvalid = CKR_OBJECT_HANDLE_INVALID, ReturnValue::OperationActive = CKR_OPERATION_ACTIVE, ReturnValue::OperationNotInitialized = CKR_OPERATION_NOT_INITIALIZED, ReturnValue::PinIncorrect = CKR_PIN_INCORRECT, ReturnValue::PinInvalid = CKR_PIN_INVALID, ReturnValue::PinLenRange = CKR_PIN_LEN_RANGE, ReturnValue::PinExpired = CKR_PIN_EXPIRED, ReturnValue::PinLocked = CKR_PIN_LOCKED, ReturnValue::SessionClosed = CKR_SESSION_CLOSED, ReturnValue::SessionCount = CKR_SESSION_COUNT, ReturnValue::SessionHandleInvalid = CKR_SESSION_HANDLE_INVALID, ReturnValue::SessionParallelNotSupported = CKR_SESSION_PARALLEL_NOT_SUPPORTED, ReturnValue::SessionReadOnly = CKR_SESSION_READ_ONLY, ReturnValue::SessionExists = CKR_SESSION_EXISTS, ReturnValue::SessionReadOnlyExists = CKR_SESSION_READ_ONLY_EXISTS, ReturnValue::SessionReadWriteSoExists = CKR_SESSION_READ_WRITE_SO_EXISTS, ReturnValue::SignatureInvalid = CKR_SIGNATURE_INVALID, ReturnValue::SignatureLenRange = CKR_SIGNATURE_LEN_RANGE, ReturnValue::TemplateIncomplete = CKR_TEMPLATE_INCOMPLETE, ReturnValue::TemplateInconsistent = CKR_TEMPLATE_INCONSISTENT, ReturnValue::TokenNotPresent = CKR_TOKEN_NOT_PRESENT, ReturnValue::TokenNotRecognized = CKR_TOKEN_NOT_RECOGNIZED, ReturnValue::TokenWriteProtected = CKR_TOKEN_WRITE_PROTECTED, ReturnValue::UnwrappingKeyHandleInvalid = CKR_UNWRAPPING_KEY_HANDLE_INVALID, ReturnValue::UnwrappingKeySizeRange = CKR_UNWRAPPING_KEY_SIZE_RANGE, ReturnValue::UnwrappingKeyTypeInconsistent = CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT, ReturnValue::UserAlreadyLoggedIn = CKR_USER_ALREADY_LOGGED_IN, ReturnValue::UserNotLoggedIn = CKR_USER_NOT_LOGGED_IN, ReturnValue::UserPinNotInitialized = CKR_USER_PIN_NOT_INITIALIZED, ReturnValue::UserTypeInvalid = CKR_USER_TYPE_INVALID, ReturnValue::UserAnotherAlreadyLoggedIn = CKR_USER_ANOTHER_ALREADY_LOGGED_IN, ReturnValue::UserTooManyTypes = CKR_USER_TOO_MANY_TYPES, ReturnValue::WrappedKeyInvalid = CKR_WRAPPED_KEY_INVALID, ReturnValue::WrappedKeyLenRange = CKR_WRAPPED_KEY_LEN_RANGE, ReturnValue::WrappingKeyHandleInvalid = CKR_WRAPPING_KEY_HANDLE_INVALID, ReturnValue::WrappingKeySizeRange = CKR_WRAPPING_KEY_SIZE_RANGE, ReturnValue::WrappingKeyTypeInconsistent = CKR_WRAPPING_KEY_TYPE_INCONSISTENT, ReturnValue::RandomSeedNotSupported = CKR_RANDOM_SEED_NOT_SUPPORTED, ReturnValue::RandomNoRng = CKR_RANDOM_NO_RNG, ReturnValue::DomainParamsInvalid = CKR_DOMAIN_PARAMS_INVALID, ReturnValue::CurveNotSupported = CKR_CURVE_NOT_SUPPORTED, ReturnValue::BufferTooSmall = CKR_BUFFER_TOO_SMALL, ReturnValue::SavedStateInvalid = CKR_SAVED_STATE_INVALID, ReturnValue::InformationSensitive = CKR_INFORMATION_SENSITIVE, ReturnValue::StateUnsaveable = CKR_STATE_UNSAVEABLE, ReturnValue::CryptokiNotInitialized = CKR_CRYPTOKI_NOT_INITIALIZED, ReturnValue::CryptokiAlreadyInitialized = CKR_CRYPTOKI_ALREADY_INITIALIZED, ReturnValue::MutexBad = CKR_MUTEX_BAD, ReturnValue::MutexNotLocked = CKR_MUTEX_NOT_LOCKED, ReturnValue::NewPinMode = CKR_NEW_PIN_MODE, ReturnValue::NextOtp = CKR_NEXT_OTP, ReturnValue::ExceededMaxIterations = CKR_EXCEEDED_MAX_ITERATIONS, ReturnValue::FipsSelfTestFailed = CKR_FIPS_SELF_TEST_FAILED, ReturnValue::LibraryLoadFailed = CKR_LIBRARY_LOAD_FAILED, ReturnValue::PinTooWeak = CKR_PIN_TOO_WEAK, ReturnValue::PublicKeyInvalid = CKR_PUBLIC_KEY_INVALID, ReturnValue::FunctionRejected = CKR_FUNCTION_REJECTED, ReturnValue::VendorDefined = CKR_VENDOR_DEFINED }
enum | SessionState : CK_STATE { SessionState::RoPublicSession = CKS_RO_PUBLIC_SESSION, SessionState::RoUserFunctions = CKS_RO_USER_FUNCTIONS, SessionState::RwPublicSession = CKS_RW_PUBLIC_SESSION, SessionState::RwUserFunctions = CKS_RW_USER_FUNCTIONS, SessionState::RwSoFunctions = CKS_RW_SO_FUNCTIONS }
enum | UserType : CK_USER_TYPE { UserType::SO = CKU_SO, UserType::User = CKU_USER, UserType::ContextSpecific = CKU_CONTEXT_SPECIFIC }

## 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 = CK_FALSE
ReturnValue * | ThrowException = reinterpret_cast< ReturnValue* >(-1)
const Bbool | True = CK_TRUE

## Typedef Documentation

using Botan::PKCS11::Attribute = typedef CK_ATTRIBUTE

Definition at line 845 of file p11.h.

using Botan::PKCS11::Bbool = typedef CK_BBOOL

Definition at line 834 of file p11.h.

using Botan::PKCS11::Byte = typedef CK_BYTE

Definition at line 847 of file p11.h.

using Botan::PKCS11::C_InitializeArgs = typedef CK_C_INITIALIZE_ARGS

Definition at line 827 of file p11.h.

using Botan::PKCS11::CreateMutex = typedef CK_CREATEMUTEX

Definition at line 828 of file p11.h.

using Botan::PKCS11::Date = typedef CK_DATE

Definition at line 851 of file p11.h.

using Botan::PKCS11::DestroyMutex = typedef CK_DESTROYMUTEX

Definition at line 829 of file p11.h.

using Botan::PKCS11::Ecdh1DeriveParams = typedef CK_ECDH1_DERIVE_PARAMS

Definition at line 850 of file p11.h.

using Botan::PKCS11::Flags = typedef CK_FLAGS

Definition at line 832 of file p11.h.

using Botan::PKCS11::FunctionListPtr = typedef CK_FUNCTION_LIST_PTR

Definition at line 825 of file p11.h.

using Botan::PKCS11::Info = typedef CK_INFO

Definition at line 833 of file p11.h.

using Botan::PKCS11::LockMutex = typedef CK_LOCKMUTEX

Definition at line 830 of file p11.h.

using Botan::PKCS11::Mechanism = typedef CK_MECHANISM

Definition at line 839 of file p11.h.

using Botan::PKCS11::MechanismInfo = typedef CK_MECHANISM_INFO

Definition at line 840 of file p11.h.

using Botan::PKCS11::Notify = typedef CK_NOTIFY

Definition at line 842 of file p11.h.

using Botan::PKCS11::ObjectHandle = typedef CK_OBJECT_HANDLE

Definition at line 846 of file p11.h.

using Botan::PKCS11::RsaPkcsOaepParams = typedef CK_RSA_PKCS_OAEP_PARAMS

Definition at line 848 of file p11.h.

using Botan::PKCS11::RsaPkcsPssParams = typedef CK_RSA_PKCS_PSS_PARAMS

Definition at line 849 of file p11.h.

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

Definition at line 61 of file p11.h.

using Botan::PKCS11::SessionHandle = typedef CK_SESSION_HANDLE

Definition at line 843 of file p11.h.

using Botan::PKCS11::SessionInfo = typedef CK_SESSION_INFO

Definition at line 844 of file p11.h.

using Botan::PKCS11::SlotId = typedef CK_SLOT_ID

Definition at line 835 of file p11.h.

using Botan::PKCS11::SlotInfo = typedef CK_SLOT_INFO

Definition at line 837 of file p11.h.

using Botan::PKCS11::TokenInfo = typedef CK_TOKEN_INFO

Definition at line 838 of file p11.h.

using Botan::PKCS11::Ulong = typedef CK_ULONG

Definition at line 836 of file p11.h.

using Botan::PKCS11::UnlockMutex = typedef CK_UNLOCKMUTEX

Definition at line 831 of file p11.h.

using Botan::PKCS11::Utf8Char = typedef CK_UTF8CHAR

Definition at line 841 of file p11.h.

using Botan::PKCS11::VoidPtr = typedef CK_VOID_PTR

Definition at line 826 of file p11.h.

## Enumeration Type Documentation

enum 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 63 of file p11.h.

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

enum 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 185 of file p11.h.

185 : CK_ULONG
186 {
187 Unspecified = CK_CERTIFICATE_CATEGORY_UNSPECIFIED,
188 TokenUser = CK_CERTIFICATE_CATEGORY_TOKEN_USER,
189 Authority = CK_CERTIFICATE_CATEGORY_AUTHORITY,
190 OtherEntity = CK_CERTIFICATE_CATEGORY_OTHER_ENTITY
191 };
CK_CERTIFICATE_CATEGORY_OTHER_ENTITY
#define CK_CERTIFICATE_CATEGORY_OTHER_ENTITY
Definition: pkcs11t.h:398
CK_CERTIFICATE_CATEGORY_AUTHORITY
#define CK_CERTIFICATE_CATEGORY_AUTHORITY
Definition: pkcs11t.h:397
Botan::PKCS11::CertificateCategory::Authority
Botan::PKCS11::CertificateCategory::Unspecified
CK_ULONG
unsigned long int CK_ULONG
Definition: pkcs11t.h:48
Botan::PKCS11::CertificateCategory::OtherEntity
CK_CERTIFICATE_CATEGORY_UNSPECIFIED
#define CK_CERTIFICATE_CATEGORY_UNSPECIFIED
Definition: pkcs11t.h:395
Botan::PKCS11::CertificateCategory::TokenUser
CK_CERTIFICATE_CATEGORY_TOKEN_USER
#define CK_CERTIFICATE_CATEGORY_TOKEN_USER
Definition: pkcs11t.h:396

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

Enumerator
X509 |
X509AttrCert |
Wtls |
VendorDefined |

Definition at line 175 of file p11.h.

175 : CK_CERTIFICATE_TYPE
176 {
177 X509 = CKC_X_509,
178 X509AttrCert = CKC_X_509_ATTR_CERT,
179 Wtls = CKC_WTLS,
180 VendorDefined = CKC_VENDOR_DEFINED,
181 };
Botan::PKCS11::CertificateType::Wtls
CKC_WTLS
#define CKC_WTLS
Definition: pkcs11t.h:409
CKC_X_509
#define CKC_X_509
Definition: pkcs11t.h:407
Botan::PKCS11::CertificateType::X509AttrCert
Botan::PKCS11::AttributeType::VendorDefined
CKC_VENDOR_DEFINED
#define CKC_VENDOR_DEFINED
Definition: pkcs11t.h:410
Botan::PKCS11::CertificateType::X509
CK_CERTIFICATE_TYPE
CK_ULONG CK_CERTIFICATE_TYPE
Definition: pkcs11t.h:393
CKC_X_509_ATTR_CERT
#define CKC_X_509_ATTR_CERT
Definition: pkcs11t.h:408

enum 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 206 of file p11.h.

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

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

Enumerator
MonotonicCounter |
Clock |
UserInterface |
VendorDefined |

Definition at line 279 of file p11.h.

279 : CK_HW_FEATURE_TYPE
280 {
281 MonotonicCounter = CKH_MONOTONIC_COUNTER,
282 Clock = CKH_CLOCK,
283 UserInterface = CKH_USER_INTERFACE,
284 VendorDefined = CKH_VENDOR_DEFINED,
285 };
CKH_MONOTONIC_COUNTER
#define CKH_MONOTONIC_COUNTER
Definition: pkcs11t.h:330
CKH_USER_INTERFACE
#define CKH_USER_INTERFACE
Definition: pkcs11t.h:332
CKH_CLOCK
#define CKH_CLOCK
Definition: pkcs11t.h:331
Botan::PKCS11::HardwareType::UserInterface
CK_HW_FEATURE_TYPE
CK_ULONG CK_HW_FEATURE_TYPE
Definition: pkcs11t.h:327
Botan::PKCS11::AttributeType::VendorDefined
Botan::PKCS11::HardwareType::Clock
Botan::PKCS11::HardwareType::MonotonicCounter
CKH_VENDOR_DEFINED
#define CKH_VENDOR_DEFINED
Definition: pkcs11t.h:333

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

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

Definition at line 193 of file p11.h.

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

enum 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 287 of file p11.h.

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

enum 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 335 of file p11.h.

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

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

Enumerator
Mgf1Sha1 |
Mgf1Sha256 |
Mgf1Sha384 |
Mgf1Sha512 |
Mgf1Sha224 |

Definition at line 270 of file p11.h.

270 : CK_RSA_PKCS_MGF_TYPE
271 {
272 Mgf1Sha1 = CKG_MGF1_SHA1,
273 Mgf1Sha256 = CKG_MGF1_SHA256,
274 Mgf1Sha384 = CKG_MGF1_SHA384,
275 Mgf1Sha512 = CKG_MGF1_SHA512,
276 Mgf1Sha224 = CKG_MGF1_SHA224,
277 };
CKG_MGF1_SHA256
#define CKG_MGF1_SHA256
Definition: pkcs11t.h:1247
CKG_MGF1_SHA384
#define CKG_MGF1_SHA384
Definition: pkcs11t.h:1248
CKG_MGF1_SHA1
#define CKG_MGF1_SHA1
Definition: pkcs11t.h:1246
Botan::PKCS11::MGF::Mgf1Sha224
Botan::PKCS11::MGF::Mgf1Sha512
Botan::PKCS11::MGF::Mgf1Sha384
CKG_MGF1_SHA512
#define CKG_MGF1_SHA512
Definition: pkcs11t.h:1249
CKG_MGF1_SHA224
#define CKG_MGF1_SHA224
Definition: pkcs11t.h:1250
Botan::PKCS11::MGF::Mgf1Sha256
CK_RSA_PKCS_MGF_TYPE
CK_ULONG CK_RSA_PKCS_MGF_TYPE
Definition: pkcs11t.h:1241
Botan::PKCS11::MGF::Mgf1Sha1

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

Enumerator
Surrender |
OtpChanged |

Definition at line 672 of file p11.h.

672 : CK_NOTIFICATION
673 {
674 Surrender = CKN_SURRENDER,
675 OtpChanged = CKN_OTP_CHANGED,
676 };
CK_NOTIFICATION
CK_ULONG CK_NOTIFICATION
Definition: pkcs11t.h:100
Botan::PKCS11::Notification::OtpChanged
CKN_OTP_CHANGED
#define CKN_OTP_CHANGED
Definition: pkcs11t.h:102
Botan::PKCS11::Notification::Surrender
CKN_SURRENDER
#define CKN_SURRENDER
Definition: pkcs11t.h:101

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

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

Definition at line 678 of file p11.h.

678 : CK_OBJECT_CLASS
679 {
680 Data = CKO_DATA,
681 Certificate = CKO_CERTIFICATE,
682 PublicKey = CKO_PUBLIC_KEY,
683 PrivateKey = CKO_PRIVATE_KEY,
684 SecretKey = CKO_SECRET_KEY,
685 HwFeature = CKO_HW_FEATURE,
686 DomainParameters = CKO_DOMAIN_PARAMETERS,
687 Mechanism = CKO_MECHANISM,
688 OtpKey = CKO_OTP_KEY,
689 VendorDefined = CKO_VENDOR_DEFINED,
690 };
Botan::PKCS11::ObjectClass::DomainParameters
Botan::PKCS11::ObjectClass::PublicKey
CKO_CERTIFICATE
#define CKO_CERTIFICATE
Definition: pkcs11t.h:311
CKO_SECRET_KEY
#define CKO_SECRET_KEY
Definition: pkcs11t.h:314
CK_OBJECT_CLASS
CK_ULONG CK_OBJECT_CLASS
Definition: pkcs11t.h:307
Botan::PKCS11::AttributeType::VendorDefined
CKO_OTP_KEY
#define CKO_OTP_KEY
Definition: pkcs11t.h:318
CKO_PUBLIC_KEY
#define CKO_PUBLIC_KEY
Definition: pkcs11t.h:312
Botan::PKCS11::ObjectClass::Data
CKO_DATA
#define CKO_DATA
Definition: pkcs11t.h:310
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
Botan::PKCS11::ObjectClass::Certificate
Botan::PKCS11::ObjectClass::OtpKey
CKO_PRIVATE_KEY
#define CKO_PRIVATE_KEY
Definition: pkcs11t.h:313
CKO_DOMAIN_PARAMETERS
#define CKO_DOMAIN_PARAMETERS
Definition: pkcs11t.h:316
Botan::PKCS11::Mechanism
CK_MECHANISM Mechanism
Definition: p11.h:839
Botan::PKCS11::ObjectClass::PrivateKey
Botan::PKCS11::ObjectClass::HwFeature
Botan::PKCS11::ObjectClass::SecretKey

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

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

Definition at line 692 of file p11.h.

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

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

Enumerator
Raw |
Der |

Definition at line 819 of file p11.h.

819 : uint32_t
820 {
821 Raw,
822 Der
823 };
Botan::PKCS11::PublicPointEncoding::Der
Botan::PKCS11::PublicPointEncoding::Raw

enum 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 713 of file p11.h.

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

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

Enumerator
RoPublicSession |
RoUserFunctions |
RwPublicSession |
RwUserFunctions |
RwSoFunctions |

Definition at line 704 of file p11.h.

704 : CK_STATE
705 {
706 RoPublicSession = CKS_RO_PUBLIC_SESSION,
707 RoUserFunctions = CKS_RO_USER_FUNCTIONS,
708 RwPublicSession = CKS_RW_PUBLIC_SESSION,
709 RwUserFunctions = CKS_RW_USER_FUNCTIONS,
710 RwSoFunctions = CKS_RW_SO_FUNCTIONS,
711 };
CKS_RW_USER_FUNCTIONS
#define CKS_RW_USER_FUNCTIONS
Definition: pkcs11t.h:275
Botan::PKCS11::SessionState::RwUserFunctions
Botan::PKCS11::SessionState::RwPublicSession
Botan::PKCS11::SessionState::RwSoFunctions
CKS_RO_PUBLIC_SESSION
#define CKS_RO_PUBLIC_SESSION
Definition: pkcs11t.h:272
CKS_RO_USER_FUNCTIONS
#define CKS_RO_USER_FUNCTIONS
Definition: pkcs11t.h:273
CK_STATE
CK_ULONG CK_STATE
Definition: pkcs11t.h:271
Botan::PKCS11::SessionState::RoUserFunctions
CKS_RW_PUBLIC_SESSION
#define CKS_RW_PUBLIC_SESSION
Definition: pkcs11t.h:274
CKS_RW_SO_FUNCTIONS
#define CKS_RW_SO_FUNCTIONS
Definition: pkcs11t.h:276
Botan::PKCS11::SessionState::RoPublicSession

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

Enumerator
SO |
User |
ContextSpecific |

Definition at line 812 of file p11.h.

812 : CK_USER_TYPE
813 {
814 SO = CKU_SO,
815 User = CKU_USER,
816 ContextSpecific = CKU_CONTEXT_SPECIFIC,
817 };
CKU_CONTEXT_SPECIFIC
#define CKU_CONTEXT_SPECIFIC
Definition: pkcs11t.h:268
Botan::PKCS11::UserType::User
Botan::PKCS11::UserType::ContextSpecific
CKU_SO
#define CKU_SO
Definition: pkcs11t.h:264
CK_USER_TYPE
CK_ULONG CK_USER_TYPE
Definition: pkcs11t.h:262
CKU_USER
#define CKU_USER
Definition: pkcs11t.h:266
Botan::PKCS11::UserType::SO

## Function Documentation

BOTAN_DLL 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 52 of file p11.cpp.

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

53 {
54 Session session(slot, false);
55 session.login(UserType::User, old_pin);
56 session.set_pin(old_pin, new_pin);
57 }

BOTAN_DLL 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 59 of file p11.cpp.

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

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

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

Definition at line 858 of file p11.h.

Referenced by Botan::Device_EntropySource::Device_EntropySource(), Botan::PKCS11::Session::Session(), and Botan::CPUID::to_string().

859 {
860 return static_cast<Flags>(flags);
861 }
Botan::PKCS11::flags
Flags flags(Flag flags)
Definition: p11.h:858
Botan::PKCS11::Flags
CK_FLAGS Flags
Definition: p11.h:832

BOTAN_DLL 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 46 of file p11.cpp.

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

47 {
48 slot.initialize(label, so_pin);
49 set_pin(slot, so_pin, pin);
50 }
Botan::PKCS11::set_pin
void set_pin(Slot &slot, const secure_string &so_pin, const secure_string &pin)
Definition: p11.cpp:66

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

Definition at line 265 of file p11.h.

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

BOTAN_DLL 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 66 of file p11.cpp.

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

Referenced by initialize_token().

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

## Variable Documentation

const Bbool Botan::PKCS11::False = CK_FALSE

Definition at line 856 of file p11.h.

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

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

Definition at line 19 of file p11.cpp.

const Bbool Botan::PKCS11::True = CK_TRUE

Definition at line 855 of file p11.h.

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