Home
last modified time | relevance | path

Searched refs:SecretKeyEntry (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKSSecretKeyEntryTest.java46 new KeyStore.SecretKeyEntry(sk); in testSecretKeyEntry()
54 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk); in testSecretKeyEntry()
56 assertTrue(ske instanceof KeyStore.SecretKeyEntry); in testSecretKeyEntry()
71 new KeyStore.SecretKeyEntry(sk, null /* attributes */); in testSecretKeyEntry_nullAttributes()
83 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk); in testGetSecretKey()
108 KeyStore.SecretKeyEntry ksSKE = new KeyStore.SecretKeyEntry(sk, attributeSet); in testGetAttributes()
127 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk); in testToString()
DKeyStoreSpiTest.java73 KeyStore.SecretKeyEntry.class)); in test_engineEntryInstanceOf()
100 KeyStore.SecretKeyEntry fakeEntry = new KeyStore.SecretKeyEntry(new SecretKey() { in testKeyStoreSpi01()
DKeyStore2Test.java876 keyStore.entryInstanceOf("anAlias", KeyStore.SecretKeyEntry.class); in test_entryInstanceOf()
890 assertFalse(keyStore.entryInstanceOf(alias, KeyStore.SecretKeyEntry.class)); in test_entryInstanceOf()
894 keyStore.entryInstanceOf(null, KeyStore.SecretKeyEntry.class); in test_entryInstanceOf()
DKeyStoreTest.java264 KeyStore.SecretKeyEntry.class)); in testEngineEntryInstanceOf()
DKeyStore4Test.java591 assertTrue(entry instanceof KeyStore.SecretKeyEntry); in testGetEntry()
/libcore/ojluni/src/main/java/java/security/
DKeyStoreSpi.java487 return new KeyStore.SecretKeyEntry((SecretKey)key); in engineGetEntry()
542 } else if (entry instanceof KeyStore.SecretKeyEntry) { in engineSetEntry()
545 ((KeyStore.SecretKeyEntry)entry).getSecretKey(), in engineSetEntry()
581 if (entryClass == KeyStore.SecretKeyEntry.class) { in engineEntryInstanceOf()
DKeyStore.java671 public static final class SecretKeyEntry implements Entry { class in KeyStore
685 public SecretKeyEntry(SecretKey secretKey) { in SecretKeyEntry() method in KeyStore.SecretKeyEntry
708 public SecretKeyEntry(SecretKey secretKey, Set<Attribute> attributes) { in SecretKeyEntry() method in KeyStore.SecretKeyEntry
/libcore/ojluni/annotations/hiddenapi/java/security/
DKeyStore.java446 public static final class SecretKeyEntry implements java.security.KeyStore.Entry { class in KeyStore
448 public SecretKeyEntry(javax.crypto.SecretKey secretKey) { in SecretKeyEntry() method in KeyStore.SecretKeyEntry
452 public SecretKeyEntry( in SecretKeyEntry() method in KeyStore.SecretKeyEntry
/libcore/api/
Dcurrent.txt7558 public static final class KeyStore.SecretKeyEntry implements java.security.KeyStore.Entry {
7559 ctor public KeyStore.SecretKeyEntry(javax.crypto.SecretKey);
7560 …ctor public KeyStore.SecretKeyEntry(javax.crypto.SecretKey, java.util.Set<java.security.KeyStore.E…