Home
last modified time | relevance | path

Searched refs:entryInstanceOf (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java783 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 …]
DKeyStoreTest.java263 assertTrue(keyStore.entryInstanceOf(alias, in testEngineEntryInstanceOf()
267 assertFalse(keyStore.entryInstanceOf(alias, in testEngineEntryInstanceOf()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java834 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/
DKeyStore.java1620 entryInstanceOf(String alias, in entryInstanceOf() method in KeyStore