All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xipki.pkcs11.wrapper.vendor.conf Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version
# 0 to multiple vendorcode-blocks are allowed.
#
# In each block:
# At least one of module.path, module.mid and module.description must be specified.
# The combination of these three conditions are 'AND'.
#
# module.path         ":"-separated text contained in the file name of the PKCS#11 library.
#                     OR-compare, case insensitive.
# module.mid          ":"-separated text in the manufacturerID.
#                     OR-compare, case insensitive.
# module.description  ":"-separated text contained in the library's description
#                     OR-compare, case insensitive.
# module.version      ":"-separated versions or ranges of versions in form of -.
#                     Both from-version and to-version are inclusive. Examples are:
#                     0.0-2.255:   versions up to 2.255
#                     1.2:         version 1.2
#                     1.0-255.255: versions 1.0 and above
#
# VENDOR_BEHAVIORS    Vendor's behavior which differs from the PKCS#11 standard, ":"-separated values as follows:
#                     - ECDSA_SIGNATURE_X962:   The ECDSA signature is in X9.62 format
#                     - SM2_SIGNATURE_X962:     The SM2 signature is in X9.62 format
#                     - EC_PRIVATEKEY_ECPOINT:  The private key of type CKK_EC has the attribute CKA_EC_POINT
#                     - SM2_PRIVATEKEY_ECPOINT: The private key of type CKK_VENDOR_SM2 has the attribute CKA_EC_POINT
#
# CKK_VENDOR_*        Vendor's CKK constant, in this version, following constants are supported:
#
# - CKK_VENDOR_SM2
# - CKK_VENDOR_SM4
#
# CKM_VENDOR_*        Vendor's CKM constant, in this version, following constants are supported:
#
# - CKM_VENDOR_SM2 (signature)
# - CKM_VENDOR_SM2_ENCRYPT
# - CKM_VENDOR_SM2_KEY_PAIR_GEN
# - CKM_VENDOR_SM2_SM3
# - CKM_VENDOR_SM3
# - CKM_VENDOR_SM3_HMAC
# - CKM_VENDOR_SM3_HMAC_GENERAL
# - CKM_VENDOR_SM4_CBC
# - CKM_VENDOR_SM4_ECB
# - CKM_VENDOR_SM4_KEY_GEN
# - CKM_VENDOR_SM4_MAC
# - CKM_VENDOR_SM4_MAC_GENERAL

# TASS HSM

module.path                 tass

VENDOR_BEHAVIORS            ECDSA_SIGNATURE_X962:SM2_SIGNATURE_X962:EC_PRIVATEKEY_ECPOINT:SM2_PRIVATEKEY_ECPOINT
CKK_VENDOR_SM2              0x80000004
CKK_VENDOR_SM4              0x80000002

CKM_VENDOR_SM2_KEY_PAIR_GEN 0x80008001
CKM_VENDOR_SM2              0x80008000
CKM_VENDOR_SM2_SM3          0x80008100
CKM_VENDOR_SM2_ENCRYPT      0x80008200

CKM_VENDOR_SM3              0x80000005

CKM_VENDOR_SM4_KEY_GEN      0x80000107
CKM_VENDOR_SM4_ECB          0x80000108
CKM_VENDOR_SM4_CBC          0x80000109
CKM_VENDOR_SM4_MAC          0x8000010A
CKM_VENDOR_SM4_MAC_GENERAL  0x8000010B


# SANSEC HSM

module.path                 upkcs11

# TODO: verify the behaviors
VENDOR_BEHAVIORS            EC_PRIVATEKEY_ECPOINT:SM2_PRIVATEKEY_ECPOINT
CKK_VENDOR_SM2              0x80000004
CKK_VENDOR_SM4              0x80000106

CKM_VENDOR_SM2_KEY_PAIR_GEN 0x80008001
CKM_VENDOR_SM2              0x80008104
CKM_VENDOR_SM2_SM3          0x80008100
CKM_VENDOR_SM2_ENCRYPT      0x80008200

CKM_VENDOR_SM3              0x80000005

CKM_VENDOR_SM4_KEY_GEN      0x8000A001
CKM_VENDOR_SM4_ECB          0x8000A100
CKM_VENDOR_SM4_CBC          0x8000A200

CKM_VENDOR_SM4_MAC          0x80058007
CKM_VENDOR_SM4_MAC_GENERAL  0x80050007





© 2015 - 2024 Weber Informatics LLC | Privacy Policy