jdk/src/share/lib/security/sunpkcs11-solaris.cfg
author vinnie
Thu, 13 Oct 2011 12:00:51 +0100
changeset 10781 f8a00c400655
parent 9539 e35e3b92c340
child 11507 bd978326a655
permissions -rw-r--r--
7099228: Use a PKCS11 config attribute to control encoding of an EC point Reviewed-by: valeriep, mullan

#
# Configuration file to allow the SunPKCS11 provider to utilize
# the Solaris Cryptographic Framework, if it is available
#

name = Solaris

description = SunPKCS11 accessing Solaris Cryptographic Framework

library = /usr/lib/$ISA/libpkcs11.so

handleStartupErrors = ignoreAll

# Use the X9.63 encoding for EC points (do not wrap in an ASN.1 OctetString).
useEcX963Encoding = true

attributes = compatibility

disabledMechanisms = {
# the following mechanisms are disabled due to lack of digest cloning support
# need to fix 6414899 first
  CKM_MD2
  CKM_MD5
  CKM_SHA_1
  CKM_SHA256
  CKM_SHA384
  CKM_SHA512
  CKM_DSA_KEY_PAIR_GEN
# the following mechanisms are disabled due to performance issues (Solaris bug 6337157)
  CKM_DSA_SHA1
  CKM_MD5_RSA_PKCS
  CKM_SHA1_RSA_PKCS
  CKM_SHA256_RSA_PKCS
  CKM_SHA384_RSA_PKCS
  CKM_SHA512_RSA_PKCS
# the following mechanisms are disabled to ensure backward compatibility (Solaris bug 6545046)
  CKM_DES_CBC_PAD
  CKM_DES3_CBC_PAD
  CKM_AES_CBC_PAD
}