jdk/test/sun/security/pkcs11/nss/p11-nss.txt
author lana
Thu, 10 Jun 2010 18:58:31 -0700
changeset 5753 e0ee3917e318
parent 2 90ce3da70b43
child 12039 fe21bbf8f775
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
# Configuration to run unit tests with NSS
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
name = NSS
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
slot = 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
#showInfo = true
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
library = ${pkcs11test.nss.lib}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
nssArgs = "configdir='${pkcs11test.nss.db}' certPrefix='' keyPrefix='' secmod='secmod.db' flags=readOnly"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# HMAC_SHA256/384/512 broken until NSS 3.10.2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# see https://bugzilla.mozilla.org/show_bug.cgi?id=291858
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
disabledMechanisms = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
  CKM_SHA256_HMAC
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
  CKM_SHA384_HMAC
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
  CKM_SHA512_HMAC
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
attributes = compatibility
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
# NSS needs CKA_NETSCAPE_DB for DSA and DH private keys
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
# just put an arbitrary value in there to make it happy
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
attributes(*,CKO_PRIVATE_KEY,CKK_DSA) = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
  CKA_NETSCAPE_DB = 0h00
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
attributes(*,CKO_PRIVATE_KEY,CKK_DH) = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
  CKA_NETSCAPE_DB = 0h00
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
}