Versions in this module Expand all Collapse all v1 v1.1.1 Jan 5, 2022 Changes in this version + const CK_CERTIFICATE_CATEGORY_AUTHORITY + const CK_CERTIFICATE_CATEGORY_OTHER_ENTITY + const CK_CERTIFICATE_CATEGORY_TOKEN_USER + const CK_CERTIFICATE_CATEGORY_UNSPECIFIED + const CK_FALSE + const CK_INVALID_HANDLE + const CK_OTP_CHALLENGE + const CK_OTP_COUNTER + const CK_OTP_FLAGS + const CK_OTP_FORMAT_ALPHANUMERIC + const CK_OTP_FORMAT_BINARY + const CK_OTP_FORMAT_DECIMAL + const CK_OTP_FORMAT_HEXADECIMAL + const CK_OTP_OUTPUT_FORMAT + const CK_OTP_OUTPUT_LENGTH + const CK_OTP_PARAM_IGNORED + const CK_OTP_PARAM_MANDATORY + const CK_OTP_PARAM_OPTIONAL + const CK_OTP_PIN + const CK_OTP_TIME + const CK_OTP_VALUE + const CK_SECURITY_DOMAIN_MANUFACTURER + const CK_SECURITY_DOMAIN_OPERATOR + const CK_SECURITY_DOMAIN_THIRD_PARTY + const CK_SECURITY_DOMAIN_UNSPECIFIED + const CK_TRUE v1.1.0 Jan 4, 2022 Changes in this version + const CKA_DERIVE_TEMPLATE + const CKD_CPDIVERSIFY_KDF + const CKD_SHA1_KDF_ASN1 + const CKD_SHA1_KDF_CONCATENATE + const CKD_SHA224_KDF + const CKD_SHA256_KDF + const CKD_SHA384_KDF + const CKD_SHA3_224_KDF + const CKD_SHA3_256_KDF + const CKD_SHA3_384_KDF + const CKD_SHA3_512_KDF + const CKD_SHA512_KDF + const CKH_CLOCK + const CKH_MONOTONIC_COUNTER + const CKH_USER_INTERFACE + const CKH_VENDOR_DEFINED + const CKK_MD5_HMAC + const CKK_RIPEMD128_HMAC + const CKK_RIPEMD160_HMAC + const CKN_OTP_CHANGED + const CKN_SURRENDER + const CKP_PKCS5_PBKD2_HMAC_GOSTR3411 + const CKP_PKCS5_PBKD2_HMAC_SHA1 + const CKP_PKCS5_PBKD2_HMAC_SHA224 + const CKP_PKCS5_PBKD2_HMAC_SHA256 + const CKP_PKCS5_PBKD2_HMAC_SHA384 + const CKP_PKCS5_PBKD2_HMAC_SHA512 + const CKP_PKCS5_PBKD2_HMAC_SHA512_224 + const CKP_PKCS5_PBKD2_HMAC_SHA512_256 + const CKS_RO_PUBLIC_SESSION + const CKS_RO_USER_FUNCTIONS + const CKS_RW_PUBLIC_SESSION + const CKS_RW_SO_FUNCTIONS + const CKS_RW_USER_FUNCTIONS + const CKZ_SALT_SPECIFIED v1.0.3 Aug 17, 2019 Changes in this version + const CK_EFFECTIVELY_INFINITE + const CK_UNAVAILABLE_INFORMATION v1.0.2 Apr 19, 2019 v1.0.1 Apr 19, 2019 Changes in this version + const CKA_AC_ISSUER + const CKA_ALLOWED_MECHANISMS + const CKA_ALWAYS_AUTHENTICATE + const CKA_ALWAYS_SENSITIVE + const CKA_APPLICATION + const CKA_ATTR_TYPES + const CKA_AUTH_PIN_FLAGS + const CKA_BASE + const CKA_BITS_PER_PIXEL + const CKA_CERTIFICATE_CATEGORY + const CKA_CERTIFICATE_TYPE + const CKA_CERT_MD5_HASH + const CKA_CERT_SHA1_HASH + const CKA_CHAR_COLUMNS + const CKA_CHAR_ROWS + const CKA_CHAR_SETS + const CKA_CHECK_VALUE + const CKA_CLASS + const CKA_COEFFICIENT + const CKA_COLOR + const CKA_COPYABLE + const CKA_DECRYPT + const CKA_DEFAULT_CMS_ATTRIBUTES + const CKA_DERIVE + const CKA_DESTROYABLE + const CKA_ECDSA_PARAMS + const CKA_EC_PARAMS + const CKA_EC_POINT + const CKA_ENCODING_METHODS + const CKA_ENCRYPT + const CKA_END_DATE + const CKA_EXPONENT_1 + const CKA_EXPONENT_2 + const CKA_EXTRACTABLE + const CKA_GOST28147_PARAMS + const CKA_GOSTR3410_PARAMS + const CKA_GOSTR3411_PARAMS + const CKA_HASH_OF_ISSUER_PUBLIC_KEY + const CKA_HASH_OF_SUBJECT_PUBLIC_KEY + const CKA_HAS_RESET + const CKA_HW_FEATURE_TYPE + const CKA_ID + const CKA_ISSUER + const CKA_JAVA_MIDP_SECURITY_DOMAIN + const CKA_KEY_GEN_MECHANISM + const CKA_KEY_TYPE + const CKA_LABEL + const CKA_LOCAL + const CKA_MECHANISM_TYPE + const CKA_MIME_TYPES + const CKA_MODIFIABLE + const CKA_MODULUS + const CKA_MODULUS_BITS + const CKA_NAME_HASH_ALGORITHM + const CKA_NCIPHER + const CKA_NEVER_EXTRACTABLE + const CKA_NSS + const CKA_NSS_EMAIL + const CKA_NSS_EXPIRES + const CKA_NSS_JPAKE_GX1 + const CKA_NSS_JPAKE_GX2 + const CKA_NSS_JPAKE_GX3 + const CKA_NSS_JPAKE_GX4 + const CKA_NSS_JPAKE_PEERID + const CKA_NSS_JPAKE_SIGNERID + const CKA_NSS_JPAKE_X2 + const CKA_NSS_JPAKE_X2S + const CKA_NSS_KRL + const CKA_NSS_MODULE_SPEC + const CKA_NSS_MOZILLA_CA_POLICY + const CKA_NSS_OVERRIDE_EXTENSIONS + const CKA_NSS_PASSWORD_CHECK + const CKA_NSS_PKCS8_SALT + const CKA_NSS_PQG_COUNTER + const CKA_NSS_PQG_H + const CKA_NSS_PQG_SEED + const CKA_NSS_PQG_SEED_BITS + const CKA_NSS_SMIME_INFO + const CKA_NSS_SMIME_TIMESTAMP + const CKA_NSS_URL + const CKA_OBJECT_ID + const CKA_OTP_CHALLENGE_REQUIREMENT + const CKA_OTP_COUNTER + const CKA_OTP_COUNTER_REQUIREMENT + const CKA_OTP_FORMAT + const CKA_OTP_LENGTH + const CKA_OTP_PIN_REQUIREMENT + const CKA_OTP_SERVICE_IDENTIFIER + const CKA_OTP_SERVICE_LOGO + const CKA_OTP_SERVICE_LOGO_TYPE + const CKA_OTP_TIME + const CKA_OTP_TIME_INTERVAL + const CKA_OTP_TIME_REQUIREMENT + const CKA_OTP_USER_FRIENDLY_MODE + const CKA_OTP_USER_IDENTIFIER + const CKA_OWNER + const CKA_PIXEL_X + const CKA_PIXEL_Y + const CKA_PRIME + const CKA_PRIME_1 + const CKA_PRIME_2 + const CKA_PRIME_BITS + const CKA_PRIVATE + const CKA_PRIVATE_EXPONENT + const CKA_PUBLIC_EXPONENT + const CKA_PUBLIC_KEY_INFO + const CKA_REQUIRED_CMS_ATTRIBUTES + const CKA_RESET_ON_INIT + const CKA_RESOLUTION + const CKA_SECONDARY_AUTH + const CKA_SENSITIVE + const CKA_SERIAL_NUMBER + const CKA_SIGN + const CKA_SIGN_RECOVER + const CKA_START_DATE + const CKA_SUBJECT + const CKA_SUBPRIME + const CKA_SUBPRIME_BITS + const CKA_SUB_PRIME_BITS + const CKA_SUPPORTED_CMS_ATTRIBUTES + const CKA_TOKEN + const CKA_TRUST + const CKA_TRUSTED + const CKA_TRUST_CLIENT_AUTH + const CKA_TRUST_CODE_SIGNING + const CKA_TRUST_CRL_SIGN + const CKA_TRUST_DATA_ENCIPHERMENT + const CKA_TRUST_DIGITAL_SIGNATURE + const CKA_TRUST_EMAIL_PROTECTION + const CKA_TRUST_IPSEC_END_SYSTEM + const CKA_TRUST_IPSEC_TUNNEL + const CKA_TRUST_IPSEC_USER + const CKA_TRUST_KEY_AGREEMENT + const CKA_TRUST_KEY_CERT_SIGN + const CKA_TRUST_KEY_ENCIPHERMENT + const CKA_TRUST_NON_REPUDIATION + const CKA_TRUST_SERVER_AUTH + const CKA_TRUST_STEP_UP_APPROVED + const CKA_TRUST_TIME_STAMPING + const CKA_UNWRAP + const CKA_UNWRAP_TEMPLATE + const CKA_URL + const CKA_VALUE + const CKA_VALUE_BITS + const CKA_VALUE_LEN + const CKA_VENDOR_DEFINED + const CKA_VERIFY + const CKA_VERIFY_RECOVER + const CKA_WRAP + const CKA_WRAP_TEMPLATE + const CKA_WRAP_WITH_TRUSTED + const CKC_NSS + const CKC_VENDOR_DEFINED + const CKC_WTLS + const CKC_X_509 + const CKC_X_509_ATTR_CERT + const CKD_NULL + const CKD_SHA1_KDF + const CKF_ARRAY_ATTRIBUTE + const CKF_CLOCK_ON_TOKEN + const CKF_DECRYPT + const CKF_DERIVE + const CKF_DIGEST + const CKF_DONT_BLOCK + const CKF_DUAL_CRYPTO_OPERATIONS + const CKF_EC_COMPRESS + const CKF_EC_ECPARAMETERS + const CKF_EC_F_2M + const CKF_EC_F_P + const CKF_EC_NAMEDCURVE + const CKF_EC_UNCOMPRESS + const CKF_ENCRYPT + const CKF_ERROR_STATE + const CKF_EXCLUDE_CHALLENGE + const CKF_EXCLUDE_COUNTER + const CKF_EXCLUDE_PIN + const CKF_EXCLUDE_TIME + const CKF_EXTENSION + const CKF_GENERATE + const CKF_GENERATE_KEY_PAIR + const CKF_HW + const CKF_HW_SLOT + const CKF_LIBRARY_CANT_CREATE_OS_THREADS + const CKF_LOGIN_REQUIRED + const CKF_NEXT_OTP + const CKF_OS_LOCKING_OK + const CKF_PROTECTED_AUTHENTICATION_PATH + const CKF_REMOVABLE_DEVICE + const CKF_RESTORE_KEY_NOT_NEEDED + const CKF_RNG + const CKF_RW_SESSION + const CKF_SECONDARY_AUTHENTICATION + const CKF_SERIAL_SESSION + const CKF_SIGN + const CKF_SIGN_RECOVER + const CKF_SO_PIN_COUNT_LOW + const CKF_SO_PIN_FINAL_TRY + const CKF_SO_PIN_LOCKED + const CKF_SO_PIN_TO_BE_CHANGED + const CKF_TOKEN_INITIALIZED + const CKF_TOKEN_PRESENT + const CKF_UNWRAP + const CKF_USER_FRIENDLY_OTP + const CKF_USER_PIN_COUNT_LOW + const CKF_USER_PIN_FINAL_TRY + const CKF_USER_PIN_INITIALIZED + const CKF_USER_PIN_LOCKED + const CKF_USER_PIN_TO_BE_CHANGED + const CKF_VERIFY + const CKF_VERIFY_RECOVER + const CKF_WRAP + const CKF_WRITE_PROTECTED + const CKG_MGF1_SHA1 + const CKG_MGF1_SHA224 + const CKG_MGF1_SHA256 + const CKG_MGF1_SHA384 + const CKG_MGF1_SHA3_224 + const CKG_MGF1_SHA3_256 + const CKG_MGF1_SHA3_384 + const CKG_MGF1_SHA3_512 + const CKG_MGF1_SHA512 + const CKK_ACTI + const CKK_AES + const CKK_ARIA + const CKK_BATON + const CKK_BLOWFISH + const CKK_CAMELLIA + const CKK_CAST + const CKK_CAST128 + const CKK_CAST3 + const CKK_CAST5 + const CKK_CDMF + const CKK_DES + const CKK_DES2 + const CKK_DES3 + const CKK_DH + const CKK_DSA + const CKK_EC + const CKK_ECDSA + const CKK_GENERIC_SECRET + const CKK_GOST28147 + const CKK_GOSTR3410 + const CKK_GOSTR3411 + const CKK_HOTP + const CKK_IDEA + const CKK_JUNIPER + const CKK_KEA + const CKK_NCIPHER + const CKK_NSS + const CKK_NSS_CHACHA20 + const CKK_NSS_JPAKE_ROUND1 + const CKK_NSS_JPAKE_ROUND2 + const CKK_NSS_PKCS8 + const CKK_RC2 + const CKK_RC4 + const CKK_RC5 + const CKK_RSA + const CKK_SECURID + const CKK_SEED + const CKK_SHA224_HMAC + const CKK_SHA256_HMAC + const CKK_SHA384_HMAC + const CKK_SHA3_224_HMAC + const CKK_SHA3_256_HMAC + const CKK_SHA3_384_HMAC + const CKK_SHA3_512_HMAC + const CKK_SHA512_224_HMAC + const CKK_SHA512_256_HMAC + const CKK_SHA512_HMAC + const CKK_SHA512_T_HMAC + const CKK_SHA_1_HMAC + const CKK_SKIPJACK + const CKK_TWOFISH + const CKK_VENDOR_DEFINED + const CKK_X9_42_DH + const CKM_ACTI + const CKM_ACTI_KEY_GEN + const CKM_AES_CBC + const CKM_AES_CBC_ENCRYPT_DATA + const CKM_AES_CBC_PAD + const CKM_AES_CCM + const CKM_AES_CFB1 + const CKM_AES_CFB128 + const CKM_AES_CFB64 + const CKM_AES_CFB8 + const CKM_AES_CMAC + const CKM_AES_CMAC_GENERAL + const CKM_AES_CTR + const CKM_AES_CTS + const CKM_AES_ECB + const CKM_AES_ECB_ENCRYPT_DATA + const CKM_AES_GCM + const CKM_AES_GMAC + const CKM_AES_KEY_GEN + const CKM_AES_KEY_WRAP + const CKM_AES_KEY_WRAP_PAD + const CKM_AES_MAC + const CKM_AES_MAC_GENERAL + const CKM_AES_OFB + const CKM_AES_XCBC_MAC + const CKM_AES_XCBC_MAC_96 + const CKM_ARIA_CBC + const CKM_ARIA_CBC_ENCRYPT_DATA + const CKM_ARIA_CBC_PAD + const CKM_ARIA_ECB + const CKM_ARIA_ECB_ENCRYPT_DATA + const CKM_ARIA_KEY_GEN + const CKM_ARIA_MAC + const CKM_ARIA_MAC_GENERAL + const CKM_BATON_CBC128 + const CKM_BATON_COUNTER + const CKM_BATON_ECB128 + const CKM_BATON_ECB96 + const CKM_BATON_KEY_GEN + const CKM_BATON_SHUFFLE + const CKM_BATON_WRAP + const CKM_BLOWFISH_CBC + const CKM_BLOWFISH_CBC_PAD + const CKM_BLOWFISH_KEY_GEN + const CKM_CAMELLIA_CBC + const CKM_CAMELLIA_CBC_ENCRYPT_DATA + const CKM_CAMELLIA_CBC_PAD + const CKM_CAMELLIA_CTR + const CKM_CAMELLIA_ECB + const CKM_CAMELLIA_ECB_ENCRYPT_DATA + const CKM_CAMELLIA_KEY_GEN + const CKM_CAMELLIA_MAC + const CKM_CAMELLIA_MAC_GENERAL + const CKM_CAST128_CBC + const CKM_CAST128_CBC_PAD + const CKM_CAST128_ECB + const CKM_CAST128_KEY_GEN + const CKM_CAST128_MAC + const CKM_CAST128_MAC_GENERAL + const CKM_CAST3_CBC + const CKM_CAST3_CBC_PAD + const CKM_CAST3_ECB + const CKM_CAST3_KEY_GEN + const CKM_CAST3_MAC + const CKM_CAST3_MAC_GENERAL + const CKM_CAST5_CBC + const CKM_CAST5_CBC_PAD + const CKM_CAST5_ECB + const CKM_CAST5_KEY_GEN + const CKM_CAST5_MAC + const CKM_CAST5_MAC_GENERAL + const CKM_CAST_CBC + const CKM_CAST_CBC_PAD + const CKM_CAST_ECB + const CKM_CAST_KEY_GEN + const CKM_CAST_MAC + const CKM_CAST_MAC_GENERAL + const CKM_CDMF_CBC + const CKM_CDMF_CBC_PAD + const CKM_CDMF_ECB + const CKM_CDMF_KEY_GEN + const CKM_CDMF_MAC + const CKM_CDMF_MAC_GENERAL + const CKM_CMS_SIG + const CKM_CONCATENATE_BASE_AND_DATA + const CKM_CONCATENATE_BASE_AND_KEY + const CKM_CONCATENATE_DATA_AND_BASE + const CKM_DES2_KEY_GEN + const CKM_DES3_CBC + const CKM_DES3_CBC_ENCRYPT_DATA + const CKM_DES3_CBC_PAD + const CKM_DES3_CMAC + const CKM_DES3_CMAC_GENERAL + const CKM_DES3_ECB + const CKM_DES3_ECB_ENCRYPT_DATA + const CKM_DES3_KEY_GEN + const CKM_DES3_MAC + const CKM_DES3_MAC_GENERAL + const CKM_DES_CBC + const CKM_DES_CBC_ENCRYPT_DATA + const CKM_DES_CBC_PAD + const CKM_DES_CFB64 + const CKM_DES_CFB8 + const CKM_DES_ECB + const CKM_DES_ECB_ENCRYPT_DATA + const CKM_DES_KEY_GEN + const CKM_DES_MAC + const CKM_DES_MAC_GENERAL + const CKM_DES_OFB64 + const CKM_DES_OFB8 + const CKM_DH_PKCS_DERIVE + const CKM_DH_PKCS_KEY_PAIR_GEN + const CKM_DH_PKCS_PARAMETER_GEN + const CKM_DSA + const CKM_DSA_FIPS_G_GEN + const CKM_DSA_KEY_PAIR_GEN + const CKM_DSA_PARAMETER_GEN + const CKM_DSA_PROBABLISTIC_PARAMETER_GEN + const CKM_DSA_SHA1 + const CKM_DSA_SHA224 + const CKM_DSA_SHA256 + const CKM_DSA_SHA384 + const CKM_DSA_SHA3_224 + const CKM_DSA_SHA3_256 + const CKM_DSA_SHA3_384 + const CKM_DSA_SHA3_512 + const CKM_DSA_SHA512 + const CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN + const CKM_ECDH1_COFACTOR_DERIVE + const CKM_ECDH1_DERIVE + const CKM_ECDH_AES_KEY_WRAP + const CKM_ECDSA + const CKM_ECDSA_KEY_PAIR_GEN + const CKM_ECDSA_SHA1 + const CKM_ECDSA_SHA224 + const CKM_ECDSA_SHA256 + const CKM_ECDSA_SHA384 + const CKM_ECDSA_SHA512 + const CKM_ECMQV_DERIVE + const CKM_EC_KEY_PAIR_GEN + const CKM_EXTRACT_KEY_FROM_KEY + const CKM_FASTHASH + const CKM_FORTEZZA_TIMESTAMP + const CKM_GENERIC_SECRET_KEY_GEN + const CKM_GOST28147 + const CKM_GOST28147_ECB + const CKM_GOST28147_KEY_GEN + const CKM_GOST28147_KEY_WRAP + const CKM_GOST28147_MAC + const CKM_GOSTR3410 + const CKM_GOSTR3410_DERIVE + const CKM_GOSTR3410_KEY_PAIR_GEN + const CKM_GOSTR3410_KEY_WRAP + const CKM_GOSTR3410_WITH_GOSTR3411 + const CKM_GOSTR3411 + const CKM_GOSTR3411_HMAC + const CKM_HOTP + const CKM_HOTP_KEY_GEN + const CKM_IDEA_CBC + const CKM_IDEA_CBC_PAD + const CKM_IDEA_ECB + const CKM_IDEA_KEY_GEN + const CKM_IDEA_MAC + const CKM_IDEA_MAC_GENERAL + const CKM_JUNIPER_CBC128 + const CKM_JUNIPER_COUNTER + const CKM_JUNIPER_ECB128 + const CKM_JUNIPER_KEY_GEN + const CKM_JUNIPER_SHUFFLE + const CKM_JUNIPER_WRAP + const CKM_KEA_DERIVE + const CKM_KEA_KEY_DERIVE + const CKM_KEA_KEY_PAIR_GEN + const CKM_KEY_WRAP_LYNKS + const CKM_KEY_WRAP_SET_OAEP + const CKM_KIP_DERIVE + const CKM_KIP_MAC + const CKM_KIP_WRAP + const CKM_MD2 + const CKM_MD2_HMAC + const CKM_MD2_HMAC_GENERAL + const CKM_MD2_KEY_DERIVATION + const CKM_MD2_RSA_PKCS + const CKM_MD5 + const CKM_MD5_HMAC + const CKM_MD5_HMAC_GENERAL + const CKM_MD5_KEY_DERIVATION + const CKM_MD5_RSA_PKCS + const CKM_NCIPHER + const CKM_NC_MD5_HMAC_KEY_GEN + const CKM_NC_SHA224_HMAC_KEY_GEN + const CKM_NC_SHA256_HMAC_KEY_GEN + const CKM_NC_SHA384_HMAC_KEY_GEN + const CKM_NC_SHA512_HMAC_KEY_GEN + const CKM_NC_SHA_1_HMAC_KEY_GEN + const CKM_NSS + const CKM_NSS_AES_KEY_WRAP + const CKM_NSS_AES_KEY_WRAP_PAD + const CKM_NSS_CHACHA20_KEY_GEN + const CKM_NSS_CHACHA20_POLY1305 + const CKM_NSS_HKDF_SHA1 + const CKM_NSS_HKDF_SHA256 + const CKM_NSS_HKDF_SHA384 + const CKM_NSS_HKDF_SHA512 + const CKM_NSS_HMAC_CONSTANT_TIME + const CKM_NSS_JPAKE_FINAL_SHA1 + const CKM_NSS_JPAKE_FINAL_SHA256 + const CKM_NSS_JPAKE_FINAL_SHA384 + const CKM_NSS_JPAKE_FINAL_SHA512 + const CKM_NSS_JPAKE_ROUND1_SHA1 + const CKM_NSS_JPAKE_ROUND1_SHA256 + const CKM_NSS_JPAKE_ROUND1_SHA384 + const CKM_NSS_JPAKE_ROUND1_SHA512 + const CKM_NSS_JPAKE_ROUND2_SHA1 + const CKM_NSS_JPAKE_ROUND2_SHA256 + const CKM_NSS_JPAKE_ROUND2_SHA384 + const CKM_NSS_JPAKE_ROUND2_SHA512 + const CKM_NSS_PKCS12_PBE_SHA224_HMAC_KEY_GEN + const CKM_NSS_PKCS12_PBE_SHA256_HMAC_KEY_GEN + const CKM_NSS_PKCS12_PBE_SHA384_HMAC_KEY_GEN + const CKM_NSS_PKCS12_PBE_SHA512_HMAC_KEY_GEN + const CKM_NSS_SSL3_MAC_CONSTANT_TIME + const CKM_NSS_TLS_EXTENDED_MASTER_KEY_DERIVE + const CKM_NSS_TLS_EXTENDED_MASTER_KEY_DERIVE_DH + const CKM_NSS_TLS_KEY_AND_MAC_DERIVE_SHA256 + const CKM_NSS_TLS_MASTER_KEY_DERIVE_DH_SHA256 + const CKM_NSS_TLS_MASTER_KEY_DERIVE_SHA256 + const CKM_NSS_TLS_PRF_GENERAL_SHA256 + const CKM_PBA_SHA1_WITH_SHA1_HMAC + const CKM_PBE_MD2_DES_CBC + const CKM_PBE_MD5_CAST128_CBC + const CKM_PBE_MD5_CAST3_CBC + const CKM_PBE_MD5_CAST5_CBC + const CKM_PBE_MD5_CAST_CBC + const CKM_PBE_MD5_DES_CBC + const CKM_PBE_SHA1_CAST128_CBC + const CKM_PBE_SHA1_CAST5_CBC + const CKM_PBE_SHA1_DES2_EDE_CBC + const CKM_PBE_SHA1_DES3_EDE_CBC + const CKM_PBE_SHA1_RC2_128_CBC + const CKM_PBE_SHA1_RC2_40_CBC + const CKM_PBE_SHA1_RC4_128 + const CKM_PBE_SHA1_RC4_40 + const CKM_PKCS5_PBKD2 + const CKM_RC2_CBC + const CKM_RC2_CBC_PAD + const CKM_RC2_ECB + const CKM_RC2_KEY_GEN + const CKM_RC2_MAC + const CKM_RC2_MAC_GENERAL + const CKM_RC4 + const CKM_RC4_KEY_GEN + const CKM_RC5_CBC + const CKM_RC5_CBC_PAD + const CKM_RC5_ECB + const CKM_RC5_KEY_GEN + const CKM_RC5_MAC + const CKM_RC5_MAC_GENERAL + const CKM_RIPEMD128 + const CKM_RIPEMD128_HMAC + const CKM_RIPEMD128_HMAC_GENERAL + const CKM_RIPEMD128_RSA_PKCS + const CKM_RIPEMD160 + const CKM_RIPEMD160_HMAC + const CKM_RIPEMD160_HMAC_GENERAL + const CKM_RIPEMD160_RSA_PKCS + const CKM_RSA_9796 + const CKM_RSA_AES_KEY_WRAP + const CKM_RSA_PKCS + const CKM_RSA_PKCS_KEY_PAIR_GEN + const CKM_RSA_PKCS_OAEP + const CKM_RSA_PKCS_OAEP_TPM_1_1 + const CKM_RSA_PKCS_PSS + const CKM_RSA_PKCS_TPM_1_1 + const CKM_RSA_X9_31 + const CKM_RSA_X9_31_KEY_PAIR_GEN + const CKM_RSA_X_509 + const CKM_SECURID + const CKM_SECURID_KEY_GEN + const CKM_SEED_CBC + const CKM_SEED_CBC_ENCRYPT_DATA + const CKM_SEED_CBC_PAD + const CKM_SEED_ECB + const CKM_SEED_ECB_ENCRYPT_DATA + const CKM_SEED_KEY_GEN + const CKM_SEED_MAC + const CKM_SEED_MAC_GENERAL + const CKM_SHA1_KEY_DERIVATION + const CKM_SHA1_RSA_PKCS + const CKM_SHA1_RSA_PKCS_PSS + const CKM_SHA1_RSA_X9_31 + const CKM_SHA224 + const CKM_SHA224_HMAC + const CKM_SHA224_HMAC_GENERAL + const CKM_SHA224_KEY_DERIVATION + const CKM_SHA224_RSA_PKCS + const CKM_SHA224_RSA_PKCS_PSS + const CKM_SHA256 + const CKM_SHA256_HMAC + const CKM_SHA256_HMAC_GENERAL + const CKM_SHA256_KEY_DERIVATION + const CKM_SHA256_RSA_PKCS + const CKM_SHA256_RSA_PKCS_PSS + const CKM_SHA384 + const CKM_SHA384_HMAC + const CKM_SHA384_HMAC_GENERAL + const CKM_SHA384_KEY_DERIVATION + const CKM_SHA384_RSA_PKCS + const CKM_SHA384_RSA_PKCS_PSS + const CKM_SHA3_224 + const CKM_SHA3_224_HMAC + const CKM_SHA3_224_HMAC_GENERAL + const CKM_SHA3_224_KEY_DERIVE + const CKM_SHA3_224_KEY_GEN + const CKM_SHA3_224_RSA_PKCS + const CKM_SHA3_224_RSA_PKCS_PSS + const CKM_SHA3_256 + const CKM_SHA3_256_HMAC + const CKM_SHA3_256_HMAC_GENERAL + const CKM_SHA3_256_KEY_DERIVE + const CKM_SHA3_256_KEY_GEN + const CKM_SHA3_256_RSA_PKCS + const CKM_SHA3_256_RSA_PKCS_PSS + const CKM_SHA3_384 + const CKM_SHA3_384_HMAC + const CKM_SHA3_384_HMAC_GENERAL + const CKM_SHA3_384_KEY_DERIVE + const CKM_SHA3_384_KEY_GEN + const CKM_SHA3_384_RSA_PKCS + const CKM_SHA3_384_RSA_PKCS_PSS + const CKM_SHA3_512 + const CKM_SHA3_512_HMAC + const CKM_SHA3_512_HMAC_GENERAL + const CKM_SHA3_512_KEY_DERIVE + const CKM_SHA3_512_KEY_GEN + const CKM_SHA3_512_RSA_PKCS + const CKM_SHA3_512_RSA_PKCS_PSS + const CKM_SHA512 + const CKM_SHA512_224 + const CKM_SHA512_224_HMAC + const CKM_SHA512_224_HMAC_GENERAL + const CKM_SHA512_224_KEY_DERIVATION + const CKM_SHA512_256 + const CKM_SHA512_256_HMAC + const CKM_SHA512_256_HMAC_GENERAL + const CKM_SHA512_256_KEY_DERIVATION + const CKM_SHA512_HMAC + const CKM_SHA512_HMAC_GENERAL + const CKM_SHA512_KEY_DERIVATION + const CKM_SHA512_RSA_PKCS + const CKM_SHA512_RSA_PKCS_PSS + const CKM_SHA512_T + const CKM_SHA512_T_HMAC + const CKM_SHA512_T_HMAC_GENERAL + const CKM_SHA512_T_KEY_DERIVATION + const CKM_SHAKE_128_KEY_DERIVE + const CKM_SHAKE_256_KEY_DERIVE + const CKM_SHA_1 + const CKM_SHA_1_HMAC + const CKM_SHA_1_HMAC_GENERAL + const CKM_SKIPJACK_CBC64 + const CKM_SKIPJACK_CFB16 + const CKM_SKIPJACK_CFB32 + const CKM_SKIPJACK_CFB64 + const CKM_SKIPJACK_CFB8 + const CKM_SKIPJACK_ECB64 + const CKM_SKIPJACK_KEY_GEN + const CKM_SKIPJACK_OFB64 + const CKM_SKIPJACK_PRIVATE_WRAP + const CKM_SKIPJACK_RELAYX + const CKM_SKIPJACK_WRAP + const CKM_SSL3_KEY_AND_MAC_DERIVE + const CKM_SSL3_MASTER_KEY_DERIVE + const CKM_SSL3_MASTER_KEY_DERIVE_DH + const CKM_SSL3_MD5_MAC + const CKM_SSL3_PRE_MASTER_KEY_GEN + const CKM_SSL3_SHA1_MAC + const CKM_TLS10_MAC_CLIENT + const CKM_TLS10_MAC_SERVER + const CKM_TLS12_KDF + const CKM_TLS12_KEY_AND_MAC_DERIVE + const CKM_TLS12_KEY_SAFE_DERIVE + const CKM_TLS12_MAC + const CKM_TLS12_MASTER_KEY_DERIVE + const CKM_TLS12_MASTER_KEY_DERIVE_DH + const CKM_TLS_KDF + const CKM_TLS_KEY_AND_MAC_DERIVE + const CKM_TLS_MAC + const CKM_TLS_MASTER_KEY_DERIVE + const CKM_TLS_MASTER_KEY_DERIVE_DH + const CKM_TLS_PRE_MASTER_KEY_GEN + const CKM_TLS_PRF + const CKM_TWOFISH_CBC + const CKM_TWOFISH_CBC_PAD + const CKM_TWOFISH_KEY_GEN + const CKM_VENDOR_DEFINED + const CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE + const CKM_WTLS_MASTER_KEY_DERIVE + const CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC + const CKM_WTLS_PRE_MASTER_KEY_GEN + const CKM_WTLS_PRF + const CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE + const CKM_X9_42_DH_DERIVE + const CKM_X9_42_DH_HYBRID_DERIVE + const CKM_X9_42_DH_KEY_PAIR_GEN + const CKM_X9_42_DH_PARAMETER_GEN + const CKM_X9_42_MQV_DERIVE + const CKM_XOR_BASE_AND_DATA + const CKO_CERTIFICATE + const CKO_DATA + const CKO_DOMAIN_PARAMETERS + const CKO_HW_FEATURE + const CKO_MECHANISM + const CKO_NSS + const CKO_NSS_BUILTIN_ROOT_LIST + const CKO_NSS_CRL + const CKO_NSS_DELSLOT + const CKO_NSS_NEWSLOT + const CKO_NSS_SMIME + const CKO_NSS_TRUST + const CKO_OTP_KEY + const CKO_PRIVATE_KEY + const CKO_PUBLIC_KEY + const CKO_SECRET_KEY + const CKO_VENDOR_DEFINED + const CKR_ACTION_PROHIBITED + const CKR_ARGUMENTS_BAD + const CKR_ATTRIBUTE_READ_ONLY + const CKR_ATTRIBUTE_SENSITIVE + const CKR_ATTRIBUTE_TYPE_INVALID + const CKR_ATTRIBUTE_VALUE_INVALID + const CKR_BUFFER_TOO_SMALL + const CKR_CANCEL + const CKR_CANT_LOCK + const CKR_CRYPTOKI_ALREADY_INITIALIZED + const CKR_CRYPTOKI_NOT_INITIALIZED + const CKR_CURVE_NOT_SUPPORTED + const CKR_DATA_INVALID + const CKR_DATA_LEN_RANGE + const CKR_DEVICE_ERROR + const CKR_DEVICE_MEMORY + const CKR_DEVICE_REMOVED + const CKR_DOMAIN_PARAMS_INVALID + const CKR_ENCRYPTED_DATA_INVALID + const CKR_ENCRYPTED_DATA_LEN_RANGE + const CKR_EXCEEDED_MAX_ITERATIONS + const CKR_FIPS_SELF_TEST_FAILED + const CKR_FUNCTION_CANCELED + const CKR_FUNCTION_FAILED + const CKR_FUNCTION_NOT_PARALLEL + const CKR_FUNCTION_NOT_SUPPORTED + const CKR_FUNCTION_REJECTED + const CKR_GENERAL_ERROR + const CKR_HOST_MEMORY + const CKR_INFORMATION_SENSITIVE + const CKR_KEY_CHANGED + const CKR_KEY_FUNCTION_NOT_PERMITTED + const CKR_KEY_HANDLE_INVALID + const CKR_KEY_INDIGESTIBLE + const CKR_KEY_NEEDED + const CKR_KEY_NOT_NEEDED + const CKR_KEY_NOT_WRAPPABLE + const CKR_KEY_SIZE_RANGE + const CKR_KEY_TYPE_INCONSISTENT + const CKR_KEY_UNEXTRACTABLE + const CKR_LIBRARY_LOAD_FAILED + const CKR_MECHANISM_INVALID + const CKR_MECHANISM_PARAM_INVALID + const CKR_MUTEX_BAD + const CKR_MUTEX_NOT_LOCKED + const CKR_NEED_TO_CREATE_THREADS + const CKR_NEW_PIN_MODE + const CKR_NEXT_OTP + const CKR_NO_EVENT + const CKR_NSS + const CKR_NSS_CERTDB_FAILED + const CKR_NSS_KEYDB_FAILED + const CKR_OBJECT_HANDLE_INVALID + const CKR_OK + const CKR_OPERATION_ACTIVE + const CKR_OPERATION_NOT_INITIALIZED + const CKR_PIN_EXPIRED + const CKR_PIN_INCORRECT + const CKR_PIN_INVALID + const CKR_PIN_LEN_RANGE + const CKR_PIN_LOCKED + const CKR_PIN_TOO_WEAK + const CKR_PUBLIC_KEY_INVALID + const CKR_RANDOM_NO_RNG + const CKR_RANDOM_SEED_NOT_SUPPORTED + const CKR_SAVED_STATE_INVALID + const CKR_SESSION_CLOSED + const CKR_SESSION_COUNT + const CKR_SESSION_EXISTS + const CKR_SESSION_HANDLE_INVALID + const CKR_SESSION_PARALLEL_NOT_SUPPORTED + const CKR_SESSION_READ_ONLY + const CKR_SESSION_READ_ONLY_EXISTS + const CKR_SESSION_READ_WRITE_SO_EXISTS + const CKR_SIGNATURE_INVALID + const CKR_SIGNATURE_LEN_RANGE + const CKR_SLOT_ID_INVALID + const CKR_STATE_UNSAVEABLE + const CKR_TEMPLATE_INCOMPLETE + const CKR_TEMPLATE_INCONSISTENT + const CKR_TOKEN_NOT_PRESENT + const CKR_TOKEN_NOT_RECOGNIZED + const CKR_TOKEN_WRITE_PROTECTED + const CKR_UNWRAPPING_KEY_HANDLE_INVALID + const CKR_UNWRAPPING_KEY_SIZE_RANGE + const CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT + const CKR_USER_ALREADY_LOGGED_IN + const CKR_USER_ANOTHER_ALREADY_LOGGED_IN + const CKR_USER_NOT_LOGGED_IN + const CKR_USER_PIN_NOT_INITIALIZED + const CKR_USER_TOO_MANY_TYPES + const CKR_USER_TYPE_INVALID + const CKR_VENDOR_DEFINED + const CKR_WRAPPED_KEY_INVALID + const CKR_WRAPPED_KEY_LEN_RANGE + const CKR_WRAPPING_KEY_HANDLE_INVALID + const CKR_WRAPPING_KEY_SIZE_RANGE + const CKR_WRAPPING_KEY_TYPE_INCONSISTENT + const CKT_NSS + const CKT_NSS_MUST_VERIFY_TRUST + const CKT_NSS_NOT_TRUSTED + const CKT_NSS_TRUSTED + const CKT_NSS_TRUSTED_DELEGATOR + const CKT_NSS_TRUST_UNKNOWN + const CKT_VENDOR_DEFINED + const CKU_CONTEXT_SPECIFIC + const CKU_SO + const CKU_USER + const CKZ_DATA_SPECIFIED + const NFCK_VENDOR_NCIPHER + const NSSCK_VENDOR_NSS + func NewPSSParams(hashAlg, mgf, saltLength uint) []byte + type Attribute struct + Type uint + Value []byte + func NewAttribute(typ uint, x interface{}) *Attribute + type Ctx struct + func New(module string) *Ctx + func (c *Ctx) CloseAllSessions(slotID uint) error + func (c *Ctx) CloseSession(sh SessionHandle) error + func (c *Ctx) CopyObject(sh SessionHandle, o ObjectHandle, temp []*Attribute) (ObjectHandle, error) + func (c *Ctx) CreateObject(sh SessionHandle, temp []*Attribute) (ObjectHandle, error) + func (c *Ctx) Decrypt(sh SessionHandle, cipher []byte) ([]byte, error) + func (c *Ctx) DecryptDigestUpdate(sh SessionHandle, cipher []byte) ([]byte, error) + func (c *Ctx) DecryptFinal(sh SessionHandle) ([]byte, error) + func (c *Ctx) DecryptInit(sh SessionHandle, m []*Mechanism, o ObjectHandle) error + func (c *Ctx) DecryptUpdate(sh SessionHandle, cipher []byte) ([]byte, error) + func (c *Ctx) DecryptVerifyUpdate(sh SessionHandle, cipher []byte) ([]byte, error) + func (c *Ctx) DeriveKey(sh SessionHandle, m []*Mechanism, basekey ObjectHandle, a []*Attribute) (ObjectHandle, error) + func (c *Ctx) Destroy() + func (c *Ctx) DestroyObject(sh SessionHandle, oh ObjectHandle) error + func (c *Ctx) Digest(sh SessionHandle, message []byte) ([]byte, error) + func (c *Ctx) DigestEncryptUpdate(sh SessionHandle, part []byte) ([]byte, error) + func (c *Ctx) DigestFinal(sh SessionHandle) ([]byte, error) + func (c *Ctx) DigestInit(sh SessionHandle, m []*Mechanism) error + func (c *Ctx) DigestKey(sh SessionHandle, key ObjectHandle) error + func (c *Ctx) DigestUpdate(sh SessionHandle, message []byte) error + func (c *Ctx) Encrypt(sh SessionHandle, message []byte) ([]byte, error) + func (c *Ctx) EncryptFinal(sh SessionHandle) ([]byte, error) + func (c *Ctx) EncryptInit(sh SessionHandle, m []*Mechanism, o ObjectHandle) error + func (c *Ctx) EncryptUpdate(sh SessionHandle, plain []byte) ([]byte, error) + func (c *Ctx) Finalize() error + func (c *Ctx) FindObjects(sh SessionHandle, max int) ([]ObjectHandle, bool, error) + func (c *Ctx) FindObjectsFinal(sh SessionHandle) error + func (c *Ctx) FindObjectsInit(sh SessionHandle, temp []*Attribute) error + func (c *Ctx) GenerateKey(sh SessionHandle, m []*Mechanism, temp []*Attribute) (ObjectHandle, error) + func (c *Ctx) GenerateKeyPair(sh SessionHandle, m []*Mechanism, public, private []*Attribute) (ObjectHandle, ObjectHandle, error) + func (c *Ctx) GenerateRandom(sh SessionHandle, length int) ([]byte, error) + func (c *Ctx) GetAttributeValue(sh SessionHandle, o ObjectHandle, a []*Attribute) ([]*Attribute, error) + func (c *Ctx) GetInfo() (Info, error) + func (c *Ctx) GetMechanismInfo(slotID uint, m []*Mechanism) (MechanismInfo, error) + func (c *Ctx) GetMechanismList(slotID uint) ([]*Mechanism, error) + func (c *Ctx) GetObjectSize(sh SessionHandle, oh ObjectHandle) (uint, error) + func (c *Ctx) GetOperationState(sh SessionHandle) ([]byte, error) + func (c *Ctx) GetSessionInfo(sh SessionHandle) (SessionInfo, error) + func (c *Ctx) GetSlotInfo(slotID uint) (SlotInfo, error) + func (c *Ctx) GetSlotList(tokenPresent bool) ([]uint, error) + func (c *Ctx) GetTokenInfo(slotID uint) (TokenInfo, error) + func (c *Ctx) InitPIN(sh SessionHandle, pin string) error + func (c *Ctx) InitToken(slotID uint, pin string, label string) error + func (c *Ctx) Initialize() error + func (c *Ctx) Login(sh SessionHandle, userType uint, pin string) error + func (c *Ctx) Logout(sh SessionHandle) error + func (c *Ctx) OpenSession(slotID uint, flags uint) (SessionHandle, error) + func (c *Ctx) SeedRandom(sh SessionHandle, seed []byte) error + func (c *Ctx) SetAttributeValue(sh SessionHandle, o ObjectHandle, a []*Attribute) error + func (c *Ctx) SetOperationState(sh SessionHandle, state []byte, encryptKey, authKey ObjectHandle) error + func (c *Ctx) SetPIN(sh SessionHandle, oldpin string, newpin string) error + func (c *Ctx) Sign(sh SessionHandle, message []byte) ([]byte, error) + func (c *Ctx) SignEncryptUpdate(sh SessionHandle, part []byte) ([]byte, error) + func (c *Ctx) SignFinal(sh SessionHandle) ([]byte, error) + func (c *Ctx) SignInit(sh SessionHandle, m []*Mechanism, o ObjectHandle) error + func (c *Ctx) SignRecover(sh SessionHandle, data []byte) ([]byte, error) + func (c *Ctx) SignRecoverInit(sh SessionHandle, m []*Mechanism, key ObjectHandle) error + func (c *Ctx) SignUpdate(sh SessionHandle, message []byte) error + func (c *Ctx) UnwrapKey(sh SessionHandle, m []*Mechanism, unwrappingkey ObjectHandle, ...) (ObjectHandle, error) + func (c *Ctx) Verify(sh SessionHandle, data []byte, signature []byte) error + func (c *Ctx) VerifyFinal(sh SessionHandle, signature []byte) error + func (c *Ctx) VerifyInit(sh SessionHandle, m []*Mechanism, key ObjectHandle) error + func (c *Ctx) VerifyRecover(sh SessionHandle, signature []byte) ([]byte, error) + func (c *Ctx) VerifyRecoverInit(sh SessionHandle, m []*Mechanism, key ObjectHandle) error + func (c *Ctx) VerifyUpdate(sh SessionHandle, part []byte) error + func (c *Ctx) WaitForSlotEvent(flags uint) chan SlotEvent + func (c *Ctx) WrapKey(sh SessionHandle, m []*Mechanism, wrappingkey, key ObjectHandle) ([]byte, error) + type ECDH1DeriveParams struct + KDF uint + PublicKeyData []byte + SharedData []byte + func NewECDH1DeriveParams(kdf uint, sharedData []byte, publicKeyData []byte) *ECDH1DeriveParams + type Error uint + func (e Error) Error() string + type GCMParams struct + func NewGCMParams(iv, aad []byte, tagSize int) *GCMParams + func (a *GCMParams) Allocate(obj []byte) (C.CK_VOID_PTR, C.CK_ULONG) + func (p *GCMParams) Free() + func (p *GCMParams) IV() []byte + type Info struct + CryptokiVersion Version + Flags uint + LibraryDescription string + LibraryVersion Version + ManufacturerID string + type Mechanism struct + Mechanism uint + Parameter []byte + func NewMechanism(mech uint, x interface{}) *Mechanism + type MechanismInfo struct + Flags uint + MaxKeySize uint + MinKeySize uint + type OAEPParams struct + HashAlg uint + MGF uint + SourceData []byte + SourceType uint + func NewOAEPParams(hashAlg, mgf, sourceType uint, sourceData []byte) *OAEPParams + type ObjectHandle uint + type SessionHandle uint + type SessionInfo struct + DeviceError uint + Flags uint + SlotID uint + State uint + type SlotEvent struct + SlotID uint + type SlotInfo struct + FirmwareVersion Version + Flags uint + HardwareVersion Version + ManufacturerID string + SlotDescription string + type TokenInfo struct + FirmwareVersion Version + Flags uint + FreePrivateMemory uint + FreePublicMemory uint + HardwareVersion Version + Label string + ManufacturerID string + MaxPinLen uint + MaxRwSessionCount uint + MaxSessionCount uint + MinPinLen uint + Model string + RwSessionCount uint + SerialNumber string + SessionCount uint + TotalPrivateMemory uint + TotalPublicMemory uint + UTCTime string + type Version struct + Major byte + Minor byte