Lines Matching refs:token
47 * composite various operations if the token only supports part of the
69 // token instance
70 private final Token token;
96 P11Mac(Token token, String algorithm, long mechanism)
99 this.token = token;
136 token.ensureValid();
143 token.ensureValid();
148 if ((session == null) || (token.explicitCancel == false)) {
152 token.p11.C_SignFinal(session.id(), 0);
163 session = token.getOpSession();
166 token.p11.C_SignInit
203 p11Key = P11SecretKeyFactory.convertKey(token, key, algorithm);
215 byte[] mac = token.p11.C_SignFinal(session.id(), 0);
221 session = token.releaseSession(session);
238 token.p11.C_SignUpdate(session.id(), 0, b, ofs, len);
259 token.p11.C_SignUpdate(session.id(), addr + ofs, null, 0, len);