Searched refs:entryInstanceOf (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 783 assertTrue(keyTest.entryInstanceOf("alias1", KeyStore.PrivateKeyEntry.class)); in test_getEntry() 793 assertTrue(keyTest.entryInstanceOf("alias2", KeyStore.PrivateKeyEntry.class)); in test_getEntry() 834 assertTrue(keyTest.entryInstanceOf("alias", KeyStore.PrivateKeyEntry.class)); in test_setEntry() 846 assertTrue(keyTest.entryInstanceOf("alias", KeyStore.PrivateKeyEntry.class)); in test_setEntry() 858 assertTrue(keyTest.entryInstanceOf("alias2", KeyStore.PrivateKeyEntry.class)); in test_setEntry() 876 keyStore.entryInstanceOf("anAlias", KeyStore.SecretKeyEntry.class); in test_entryInstanceOf() 889 assertTrue(keyStore.entryInstanceOf(alias, KeyStore.PrivateKeyEntry.class)); in test_entryInstanceOf() 890 assertFalse(keyStore.entryInstanceOf(alias, KeyStore.SecretKeyEntry.class)); in test_entryInstanceOf() 891 assertFalse(keyStore.entryInstanceOf(alias, KeyStore.TrustedCertificateEntry.class)); in test_entryInstanceOf() 894 keyStore.entryInstanceOf(null, KeyStore.SecretKeyEntry.class); in test_entryInstanceOf() [all …]
|
D | KeyStoreTest.java | 263 assertTrue(keyStore.entryInstanceOf(alias, in testEngineEntryInstanceOf() 267 assertFalse(keyStore.entryInstanceOf(alias, in testEngineEntryInstanceOf()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 834 if (!keyStore.entryInstanceOf(alias, PrivateKeyEntry.class)) { in privateKey() 889 if (!keyStore.entryInstanceOf(alias, TrustedCertificateEntry.class)) { in issuer() 981 if (!keyStore.entryInstanceOf(alias, TrustedCertificateEntry.class)) { in rootCertificate()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStore.java | 1620 entryInstanceOf(String alias, in entryInstanceOf() method in KeyStore
|