Path: blob/master/test/jdk/sun/security/pkcs11/nss/p11-nss-sensitive.txt
41153 views
1# Configuration to run unit tests with NSS2# Marks private and secret keys as sensitive34name = NSS56slot = 178#showInfo = true910library = ${pkcs11test.nss.lib}1112nssArgs = "configdir='${pkcs11test.nss.db}' certPrefix='' keyPrefix='' secmod='secmod.db' flags=readOnly"1314disabledMechanisms = {15CKM_DSA_SHA22416CKM_DSA_SHA25617CKM_DSA_SHA38418CKM_DSA_SHA51219CKM_DSA_SHA3_22420CKM_DSA_SHA3_25621CKM_DSA_SHA3_38422CKM_DSA_SHA3_51223CKM_ECDSA_SHA22424CKM_ECDSA_SHA25625CKM_ECDSA_SHA38426CKM_ECDSA_SHA51227CKM_ECDSA_SHA3_22428CKM_ECDSA_SHA3_25629CKM_ECDSA_SHA3_38430CKM_ECDSA_SHA3_51231}3233attributes = compatibility3435# NSS needs CKA_NETSCAPE_DB for DSA and DH private keys36# just put an arbitrary value in there to make it happy3738attributes(*,CKO_PRIVATE_KEY,CKK_DSA) = {39CKA_NETSCAPE_DB = 0h0040}4142attributes(*,CKO_PRIVATE_KEY,CKK_DH) = {43CKA_NETSCAPE_DB = 0h0044}4546# Everything above this line (with the exception of the comment at the top) is copy/pasted from p11-nss.txt4748# Make all private keys sensitive49attributes(*,CKO_PRIVATE_KEY,*) = {50CKA_SENSITIVE = true51}525354# Make all secret keys sensitive55attributes(*,CKO_SECRET_KEY,*) = {56CKA_SENSITIVE = true57}585960