Lines Matching refs:Mac
24 import javax.crypto.Mac;
70 Mac mac = Mac.getInstance("HMAC-SHA1");
71 mac.init(HMAC_KEY_1);
73 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);
81 Mac mac = Mac.getInstance("HMAC-SHA1");
82 mac.init(HMAC_KEY_1);
84 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);
92 Mac mac = Mac.getInstance("HMAC-SHA1");
93 mac.init(HMAC_KEY_1);
95 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);
103 Mac mac = Mac.getInstance("HMAC-SHA1");
104 mac.init(HMAC_KEY_1);
106 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);