Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKSTrustedCertificateEntryTest.java50 new KeyStore.TrustedCertificateEntry(cert); in testTrustedCertificateEntry()
57 KeyStore.TrustedCertificateEntry ksTCE = new KeyStore.TrustedCertificateEntry(cert); in testTrustedCertificateEntry()
59 assertTrue(ksTCE instanceof KeyStore.TrustedCertificateEntry); in testTrustedCertificateEntry()
73 new KeyStore.TrustedCertificateEntry(cert, null /* attributes */); in testSecretKeyEntry_nullAttributes()
85 KeyStore.TrustedCertificateEntry ksTCE = in testGetTrustedCertificate()
86 new KeyStore.TrustedCertificateEntry(cert); in testGetTrustedCertificate()
111 KeyStore.TrustedCertificateEntry ksTCE = in testGetAttributes()
112 new KeyStore.TrustedCertificateEntry(cert, attributeSet); in testGetAttributes()
131 KeyStore.TrustedCertificateEntry ksTCE = in testToString()
132 new KeyStore.TrustedCertificateEntry(cert); in testToString()
DKeyStoreTest.java362 assertNotNull(new KeyStore.TrustedCertificateEntry(new TestX509Certificate()).toString()); in testKeyStoreTCToString()
DKeyStore4Test.java566 … assertTrue("entry is not cert entry", entry instanceof KeyStore.TrustedCertificateEntry); in testGetEntry()
DKeyStore2Test.java891 assertFalse(keyStore.entryInstanceOf(alias, KeyStore.TrustedCertificateEntry.class)); in test_entryInstanceOf()
/libcore/ojluni/src/main/java/java/security/
DKeyStoreSpi.java457 return new KeyStore.TrustedCertificateEntry in engineGetEntry()
530 if (entry instanceof KeyStore.TrustedCertificateEntry) { in engineSetEntry()
531 KeyStore.TrustedCertificateEntry tce = in engineSetEntry()
532 (KeyStore.TrustedCertificateEntry)entry; in engineSetEntry()
574 if (entryClass == KeyStore.TrustedCertificateEntry.class) { in engineEntryInstanceOf()
DKeyStore.java755 public static final class TrustedCertificateEntry implements Entry { class in KeyStore
769 public TrustedCertificateEntry(Certificate trustedCert) { in TrustedCertificateEntry() method in KeyStore.TrustedCertificateEntry
792 public TrustedCertificateEntry(Certificate trustedCert, in TrustedCertificateEntry() method in KeyStore.TrustedCertificateEntry
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java30 import java.security.KeyStore.TrustedCertificateEntry;
889 if (!keyStore.entryInstanceOf(alias, TrustedCertificateEntry.class)) { in issuer()
892 TrustedCertificateEntry certificateEntry = in issuer()
893 (TrustedCertificateEntry) keyStore.getEntry(alias, null); in issuer()
981 if (!keyStore.entryInstanceOf(alias, TrustedCertificateEntry.class)) { in rootCertificate()
984 TrustedCertificateEntry certificateEntry = in rootCertificate()
985 (TrustedCertificateEntry) keyStore.getEntry(alias, null); in rootCertificate()