Botan 2.1.0 Crypto and TLS for C++11

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
p11.h File Reference
`#include <botan/secmem.h>`
`#include <botan/exceptn.h>`
`#include <botan/dyn_load.h>`
`#include <vector>`
`#include <string>`
`#include <map>`
`#include "pkcs11.h"`

Go to the source code of this file.

## Classes
class | Botan::PKCS11::LowLevel
| Provides access to all PKCS#11 functions. More...
class | Botan::PKCS11::PKCS11_Error
class | Botan::PKCS11::PKCS11_ReturnError

## Namespaces
| Botan
| Botan::PKCS11

## Macros
#define | CK_CALLBACK_FUNCTION(returnType, name) returnType (* name)
#define | CK_DECLARE_FUNCTION(returnType, name) returnType name
#define | CK_DECLARE_FUNCTION_POINTER(returnType, name) returnType (* name)
#define | CK_PTR *
#define | NULL_PTR nullptr

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

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

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

## Variables
const Bbool | Botan::PKCS11::False = CK_FALSE
const Bbool | Botan::PKCS11::True = CK_TRUE

## Macro Definition Documentation

#define CK_CALLBACK_FUNCTION | ( |  | returnType,
|  |  | name
| ) |  | returnType (* name)

Definition at line 38 of file p11.h.

#define CK_DECLARE_FUNCTION | ( |  | returnType,
|  |  | name
| ) |  | returnType name

Definition at line 26 of file p11.h.

#define CK_DECLARE_FUNCTION_POINTER | ( |  | returnType,
|  |  | name
| ) |  | returnType (* name)

Definition at line 34 of file p11.h.

#define CK_PTR *

Definition at line 20 of file p11.h.

#define NULL_PTR nullptr

Definition at line 42 of file p11.h.