Lines Matching refs:token
46 // token instance
47 private final Token token;
64 P11ECDHKeyAgreement(Token token, String algorithm, long mechanism) {
66 this.token = token;
78 privateKey = P11KeyFactory.convertKey(token, key, "EC");
124 session = token.getOpSession();
131 attributes = token.getAttributes
133 long keyID = token.p11.C_DeriveKey(session.id(),
139 token.p11.C_GetAttributeValue(session.id(), keyID, attributes);
141 token.p11.C_DestroyObject(session.id(), keyID);
147 token.releaseSession(session);
186 session = token.getObjSession();
193 attributes = token.getAttributes
195 long keyID = token.p11.C_DeriveKey(session.id(),
201 token.p11.C_GetAttributeValue(session.id(), keyID, lenAttributes);
210 token.releaseSession(session);