Lines Matching defs:keyID

81     final long keyID;
92 P11Key(String type, Session session, long keyID, String algorithm,
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,
273 (session.id(), keyID, desiredAttributes);
283 static SecretKey secretKey(Session session, long keyID, String algorithm,
285 attributes = getAttributes(session, keyID, attributes, new CK_ATTRIBUTE[] {
290 return new P11SecretKey(session, keyID, algorithm, keyLength, attributes);
293 static SecretKey masterSecretKey(Session session, long keyID, String algorithm,
295 attributes = getAttributes(session, keyID, attributes, new CK_ATTRIBUTE[] {
301 (session, keyID, algorithm, keyLength, attributes, major, minor);
305 static PublicKey publicKey(Session session, long keyID, String algorithm,
309 (session, keyID, algorithm, keyLength, attributes);
312 (session, keyID, algorithm, keyLength, attributes);
315 (session, keyID, algorithm, keyLength, attributes);
318 (session, keyID, algorithm, keyLength, attributes);
325 static PrivateKey privateKey(Session session, long keyID, String algorithm,
327 attributes = getAttributes(session, keyID, attributes, new CK_ATTRIBUTE[] {
334 (session, keyID, algorithm, keyLength, attributes);
347 (session.id(), keyID, attrs2);
355 (session, keyID, algorithm, keyLength, attributes);
358 (session, keyID, algorithm, keyLength, attributes);
362 (session, keyID, algorithm, keyLength, attributes);
365 (session, keyID, algorithm, keyLength, attributes);
368 (session, keyID, algorithm, keyLength, attributes);
379 P11PrivateKey(Session session, long keyID, String algorithm,
381 super(PRIVATE, session, keyID, algorithm, keyLength, attributes);
396 P11SecretKey(Session session, long keyID, String algorithm,
398 super(SECRET, session, keyID, algorithm, keyLength, attributes);
425 (tempSession.id(), keyID, attributes);
443 P11TlsMasterSecretKey(Session session, long keyID, String algorithm,
445 super(session, keyID, algorithm, keyLength, attributes);
463 P11RSAPrivateKey(Session session, long keyID, String algorithm,
465 super(PRIVATE, session, keyID, algorithm, keyLength, attributes);
573 P11RSAPrivateNonCRTKey(Session session, long keyID, String algorithm,
575 super(PRIVATE, session, keyID, algorithm, keyLength, attributes);
634 P11RSAPublicKey(Session session, long keyID, String algorithm,
636 super(PUBLIC, session, keyID, algorithm, keyLength, attributes);
687 P11DSAPublicKey(Session session, long keyID, String algorithm,
689 super(PUBLIC, session, keyID, algorithm, keyLength, attributes);
748 P11DSAPrivateKey(Session session, long keyID, String algorithm,
750 super(PRIVATE, session, keyID, algorithm, keyLength, attributes);
809 P11DHPrivateKey(Session session, long keyID, String algorithm,
811 super(PRIVATE, session, keyID, algorithm, keyLength, attributes);
871 P11DHPublicKey(Session session, long keyID, String algorithm,
873 super(PUBLIC, session, keyID, algorithm, keyLength, attributes);
933 P11ECPrivateKey(Session session, long keyID, String algorithm,
935 super(PRIVATE, session, keyID, algorithm, keyLength, attributes);
993 P11ECPublicKey(Session session, long keyID, String algorithm,
995 super(PUBLIC, session, keyID, algorithm, keyLength, attributes);
1093 private long keyID;
1096 SessionKeyRef(P11Key key , long keyID, Session session) {
1098 this.keyID = keyID;
1112 session.token.p11.C_DestroyObject(newSession.id(), keyID);
1124 if (this.keyID == other.keyID) {
1127 return (this.keyID < other.keyID) ? -1 : 1;