Lines Matching refs:CKA_ID

145      * share the same CKA_ID, and that the CKA_ID is unique across the token.
146 * The CKA_ID may not be human-readable.
164 // CKA_ID of the private key/cert pair
176 // true if CKA_ID for private key and cert match up
1103 // set new CKA_LABEL/CKA_ID
1152 // XXX NSS does not write out the CKA_ID we pass to them
1405 * XXX On ibutton, when you C_SetAttribute(CKA_ID) for a private key
1406 * it not only changes the CKA_ID of the private key,
1407 * it changes the CKA_ID of the corresponding cert too.
1410 * XXX On ibutton, CKR_DEVICE_ERROR if you C_SetAttribute(CKA_ID)
1414 * then the CKA_ID of the private key can be changed successfully.
1417 * existing cert (only update CKA_ID/CKA_LABEL).
1449 "with CKA_ID " +
1459 "with CKA_ID " +
1469 new CK_ATTRIBUTE(CKA_ID, alias) };
1486 // finally update CKA_ID for private key
1491 new CK_ATTRIBUTE(CKA_ID, alias) };
1515 // token key - set new CKA_ID
1518 new CK_ATTRIBUTE(CKA_ID, alias) };
1528 // session key - convert to token key and set CKA_ID
1532 new CK_ATTRIBUTE(CKA_ID, alias),
1567 attrList.add(new CK_ATTRIBUTE(CKA_ID, alias));
1571 attrList.add(new CK_ATTRIBUTE(CKA_ID,
1591 // end cert has CKA_LABEL and CKA_ID set to alias.
1701 idAttrs[0] = new CK_ATTRIBUTE(CKA_ID, alias);
1732 idAttrs[0] = new CK_ATTRIBUTE(CKA_ID, alias);
1758 idAttrs[0] = new CK_ATTRIBUTE(CKA_ID, alias);
1847 new CK_ATTRIBUTE(CKA_ID, alias),
1880 new CK_ATTRIBUTE(CKA_ID, alias),
1893 * Compute the CKA_ID and/or CKA_NETSCAPE_DB attributes that should be
1898 * It returns a 2 element array with CKA_ID at index 0 and CKA_NETSCAPE_DB
1902 * NOTE that we currently do not use the CKA_ID value calculated by this
1915 attrs[0] = new CK_ATTRIBUTE(CKA_ID, sha1(getMagnitude(n)));
1919 attrs[0] = new CK_ATTRIBUTE(CKA_ID, sha1(getMagnitude(y)));
1927 attrs[0] = new CK_ATTRIBUTE(CKA_ID, sha1(getMagnitude(y)));
1938 attrs[0] = new CK_ATTRIBUTE(CKA_ID, sha1(encodedPoint));
1964 debug.println("destroyCert destroyed cert with CKA_ID [" +
1988 "end entity cert with CKA_ID [0x" +
1999 "with CKA_ID [" +
2124 ("destroyPkey did not find private key with CKA_ID [" +
2152 * build CKA_ID string from bytes
2178 * @param cka_id the CKA_ID if type is ATTR_CLASS_CERT or ATTR_CLASS_PKEY
2196 new CK_ATTRIBUTE(CKA_ID, cka_id),
2209 ("getTokenObject did not find cert with CKA_ID [" +
2214 "with CKA_ID [" +
2257 " certificates sharing CKA_ID " +
2263 " private keys sharing CKA_ID " +
2278 * Assume all private keys and matching certs share a unique CKA_ID.
2305 attrs = new CK_ATTRIBUTE[] { new CK_ATTRIBUTE(CKA_ID) };
2315 // If cert does not have a CKA_LABEL nor CKA_ID, it is ignored.
2318 // (if the cert does not have a CKA_LABEL, use the CKA_ID).
2353 // get CKA_ID
2355 attrs = new CK_ATTRIBUTE[] { new CK_ATTRIBUTE(CKA_ID) };
2364 // use CKA_ID as CKA_LABEL
2460 * for each private key CKA_ID, find corresponding cert with same CKA_ID.
2482 // try to find a matching CKA_ID in a certificate
2519 ("did not find match for private key with CKA_ID [" +