Searched refs:MockKey2 (Results 1 – 7 of 7) sorted by relevance
25 import libcore.javax.crypto.MockKey2;40 if (!(key instanceof MockKey2)) { in checkKeyType()
29 import libcore.javax.crypto.MockKey2;44 if (!(key instanceof MockKey2)) { in checkKeyType()
49 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()
49 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()
25 public class MockKey2 implements Key { class
50 if (!(key instanceof MockKey2)) { in checkKeyType()
899 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()