Lines Matching defs:hmac
59 private Mac hmac;
134 if (hmac == null) {
136 hmac = Mac.getInstance(getSignatureAlgorithm());
145 hmac.init((SecretKey) key);
146 si.canonicalize(context, new MacOutputStream(hmac));
147 byte[] result = hmac.doFinal();
160 if (hmac == null) {
162 hmac = Mac.getInstance(getSignatureAlgorithm());
171 hmac.init((SecretKey) key);
172 si.canonicalize(context, new MacOutputStream(hmac));
173 return hmac.doFinal();