alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (sunpkcs11-solaris.cfg)

This example Java source code file (sunpkcs11-solaris.cfg) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

ckm_aes_cbc_pad, ckm_des3_cbc_pad, ckm_dsa_sha1, ckm_md2, ckm_md5, ckm_md5_rsa_pkcs, ckm_sha1_rsa_pkcs, ckm_sha512_rsa_pkcs, ckm_sha_1, configuration, cryptographic, framework, solaris, sunpkcs11

The sunpkcs11-solaris.cfg Java example source code

#
# 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 = {
  CKM_DSA_KEY_PAIR_GEN
# the following mechanisms are disabled due to CKR_SAVED_STATE_INVALID bug
# (Solaris bug 7058108)
  CKM_MD2
  CKM_MD5
  CKM_SHA_1
# the following mechanisms are disabled due to no cloning support
# (Solaris bug 7050617)
  CKM_SHA256
  CKM_SHA384
  CKM_SHA512
# 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
}

Other Java examples (source code examples)

Here is a short list of links related to this Java sunpkcs11-solaris.cfg source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.