Home
last modified time | relevance | path

Searched refs:MockKey2 (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMockMacSpi.java25 import libcore.javax.crypto.MockKey2;
40 if (!(key instanceof MockKey2)) { in checkKeyType()
DMockKeyAgreementSpi.java29 import libcore.javax.crypto.MockKey2;
44 if (!(key instanceof MockKey2)) { in checkKeyType()
DKeyAgreementTest.java49 import libcore.javax.crypto.MockKey2;
739 put("KeyAgreement.FOO SupportedKeyClasses", MockKey2.class.getName()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
759 s.init(new MockKey2()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
DMacTest.java49 import libcore.javax.crypto.MockKey2;
935 put("Mac.FOO SupportedKeyClasses", MockKey2.class.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
955 s.init(new MockKey2()); in testMac_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockKey2.java25 public class MockKey2 implements Key { class
DMockCipherSpi.java50 if (!(key instanceof MockKey2)) { in checkKeyType()
DCipherTest.java899 put("Cipher.FOO SupportedKeyClasses", MockKey2.class.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()
920 c.init(Cipher.ENCRYPT_MODE, new MockKey2()); in testCipher_getInstance_DelayedInitialization_KeyType()