Searched refs:keyID (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11Key.java81 final long keyID; field in class:P11Key
92 P11Key(String type, Session session, long keyID, String algorithm, argument
96 this.keyID = keyID;
117 sessionKeyRef = new SessionKeyRef(this, keyID, session);
205 s1 += " (id " + keyID + ", "
240 token.p11.C_GetAttributeValue(tempSession.id(), keyID, attributes);
250 private static CK_ATTRIBUTE[] getAttributes(Session session, long keyID, argument
273 (session.id(), keyID, desiredAttributes);
283 static SecretKey secretKey(Session session, long keyID, Strin argument
293 masterSecretKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes, int major, int minor) argument
305 publicKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
325 privateKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
379 P11PrivateKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
396 P11SecretKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
443 P11TlsMasterSecretKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes, int major, int minor) argument
463 P11RSAPrivateKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
573 P11RSAPrivateNonCRTKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
634 P11RSAPublicKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
687 P11DSAPublicKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
748 P11DSAPrivateKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
809 P11DHPrivateKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
871 P11DHPublicKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
933 P11ECPrivateKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
993 P11ECPublicKey(Session session, long keyID, String algorithm, int keyLength, CK_ATTRIBUTE[] attributes) argument
1093 private long keyID; field in class:SessionKeyRef
1096 SessionKeyRef(P11Key key , long keyID, Session session) argument
[all...]
H A DP11ECDHKeyAgreement.java133 long keyID = token.p11.C_DeriveKey(session.id(),
134 new CK_MECHANISM(mechanism, ckParams), privateKey.keyID,
139 token.p11.C_GetAttributeValue(session.id(), keyID, attributes);
141 token.p11.C_DestroyObject(session.id(), keyID);
195 long keyID = token.p11.C_DeriveKey(session.id(),
196 new CK_MECHANISM(mechanism, ckParams), privateKey.keyID,
201 token.p11.C_GetAttributeValue(session.id(), keyID, lenAttributes);
204 (session, keyID, algorithm, keyLen << 3, attributes);
H A DP11RSAKeyFactory.java203 long keyID = token.p11.C_CreateObject(session.id(), attributes);
205 (session, keyID, "RSA", n.bitLength(), attributes);
225 long keyID = token.p11.C_CreateObject(session.id(), attributes);
227 (session, keyID, "RSA", n.bitLength(), attributes);
255 long keyID = token.p11.C_CreateObject(session.id(), attributes);
257 (session, keyID, "RSA", n.bitLength(), attributes);
271 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
297 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
315 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
H A DP11TlsMasterSecretGenerator.java137 long keyID = token.p11.C_DeriveKey(session.id(),
138 new CK_MECHANISM(mechanism, params), p11Key.keyID, attributes);
148 SecretKey key = P11Key.masterSecretKey(session, keyID,
H A DP11TlsPrfGenerator.java128 (session.id(), new CK_MECHANISM(mechanism), p11Key.keyID);
149 long keyID = token.p11.C_DeriveKey(session.id(),
150 new CK_MECHANISM(mechanism, params), p11Key.keyID, null);
151 // ignore keyID, returned PRF bytes are in 'out'
H A DP11KeyAgreement.java201 long keyID = token.p11.C_DeriveKey(session.id(),
202 new CK_MECHANISM(mechanism, publicValue), privateKey.keyID,
207 token.p11.C_GetAttributeValue(session.id(), keyID, attributes);
209 token.p11.C_DestroyObject(session.id(), keyID);
316 long keyID = token.p11.C_DeriveKey(session.id(),
317 new CK_MECHANISM(mechanism, publicValue), privateKey.keyID,
322 token.p11.C_GetAttributeValue(session.id(), keyID, lenAttributes);
325 (session, keyID, algorithm, keyLen << 3, attributes);
H A DP11TlsRsaPremasterSecretGenerator.java98 long keyID = token.p11.C_GenerateKey
101 (session, keyID, "TlsRsaPremasterSecret", 48 << 3, attributes);
H A DP11DHKeyFactory.java185 long keyID = token.p11.C_CreateObject(session.id(), attributes);
187 (session, keyID, "DH", p.bitLength(), attributes);
207 long keyID = token.p11.C_CreateObject(session.id(), attributes);
209 (session, keyID, "DH", p.bitLength(), attributes);
224 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
246 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
H A DP11DSAKeyFactory.java180 long keyID = token.p11.C_CreateObject(session.id(), attributes);
182 (session, keyID, "DSA", p.bitLength(), attributes);
203 long keyID = token.p11.C_CreateObject(session.id(), attributes);
205 (session, keyID, "DSA", p.bitLength(), attributes);
221 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
245 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
H A DP11RSACipher.java289 p11.C_EncryptInit(session.id(), ckMechanism, p11Key.keyID);
292 p11.C_DecryptInit(session.id(), ckMechanism, p11Key.keyID);
295 p11.C_SignInit(session.id(), ckMechanism, p11Key.keyID);
298 p11.C_VerifyRecoverInit(session.id(), ckMechanism, p11Key.keyID);
443 p11Key.keyID, sKey.keyID);
467 long keyID = token.p11.C_UnwrapKey(s.id(),
468 new CK_MECHANISM(mechanism), p11Key.keyID, wrappedKey,
470 return P11Key.secretKey(s, keyID, algorithm, 48 << 3,
H A DP11ECKeyFactory.java233 long keyID = token.p11.C_CreateObject(session.id(), attributes);
235 (session, keyID, "EC", params.getCurve().getField().getFieldSize(), attributes);
254 long keyID = token.p11.C_CreateObject(session.id(), attributes);
256 (session, keyID, "EC", params.getCurve().getField().getFieldSize(), attributes);
270 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
292 token.p11.C_GetAttributeValue(session[0].id(), key.keyID, attributes);
H A DP11KeyGenerator.java273 long keyID = token.p11.C_GenerateKey
276 (session, keyID, algorithm, significantKeySize, attributes);
H A DP11TlsKeyMaterialGenerator.java163 // the returned keyID is a dummy, ignore
164 long keyID = token.p11.C_DeriveKey(session.id(),
165 new CK_MECHANISM(mechanism, params), p11Key.keyID, attributes);
H A DP11SecretKeyFactory.java153 p11Key.keyID, extraAttrs);
265 long keyID = token.p11.C_CreateObject(session.id(), attributes);
267 (session, keyID, algorithm, keyLength, attributes);
H A DP11Mac.java167 (session.id(), ckMechanism, p11Key.keyID);
H A DP11Digest.java262 token.p11.C_DigestKey(session.id(), p11Key.keyID);
H A DP11Cipher.java428 token.p11.C_EncryptInit(session.id(), mechParams, p11Key.keyID);
430 token.p11.C_DecryptInit(session.id(), mechParams, p11Key.keyID);
H A DP11Signature.java303 new CK_MECHANISM(mechanism), p11Key.keyID);
306 new CK_MECHANISM(mechanism), p11Key.keyID);
H A DP11KeyStore.java1520 (session.id(), key.keyID, attrs);
1537 token.p11.C_CopyObject(session.id(), key.keyID, attrs);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DVertex.java174 KeyIdentifier keyID = (KeyIdentifier)sKeyID.get(sKeyID.KEY_ID);
175 out = out + "SubjKeyID: " + keyID.toString();
187 KeyIdentifier keyID = (KeyIdentifier)aKeyID.get(aKeyID.KEY_ID);
188 out = out + "AuthKeyID: " + keyID.toString();

Completed in 1742 milliseconds