Searched refs:Mac (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | MacTest.java | 36 import javax.crypto.Mac; 93 private Mac[] createMacs() throws Exception { in createMacs() 98 ArrayList<Mac> macList = new ArrayList<Mac>(); in createMacs() 99 macList.add(Mac.getInstance(defaultAlgorithm)); in createMacs() 100 macList.add(Mac.getInstance(defaultAlgorithm, defaultProvider)); in createMacs() 101 macList.add(Mac.getInstance(defaultAlgorithm, defaultProviderName)); in createMacs() 103 macList.add(Mac.getInstance(defaultAlgorithm, p)); in createMacs() 105 return macList.toArray(new Mac[macList.size()]); in createMacs() 116 Mac.getInstance(null); in testMac01() 123 Mac.getInstance(invalidValues[i]); in testMac01() [all …]
|
/libcore/luni/src/main/java/javax/crypto/ |
D | Mac.java | 38 public class Mac implements Cloneable { class 76 protected Mac(MacSpi macSpi, Provider provider, String algorithm) { in Mac() method in Mac 115 public static final Mac getInstance(String algorithm) in getInstance() 140 public static final Mac getInstance(String algorithm, String provider) in getInstance() 171 public static final Mac getInstance(String algorithm, Provider provider) in getInstance() 179 private static Mac getMac(String algorithm, Provider provider) in getMac() 193 return new Mac(null, provider, algorithm); in getMac() 527 Mac mac = new Mac(newSpiImpl, this.provider, this.algorithm); in clone()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | MacThread.java | 18 import javax.crypto.Mac; 39 Mac m = Mac.getInstance(algName); in test()
|