Home
last modified time | relevance | path

Searched refs:TrustedCertificateEntry (Results 1 – 10 of 10) 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()
DKeyStoreSpiTest.java77 KeyStore.TrustedCertificateEntry.class)); in test_engineEntryInstanceOf()
80 ksSpi.engineEntryInstanceOf(null, KeyStore.TrustedCertificateEntry.class); in test_engineEntryInstanceOf()
123 ksSpi.engineSetEntry("", new KeyStore.TrustedCertificateEntry( in testKeyStoreSpi01()
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()
/libcore/ojluni/annotations/hiddenapi/java/security/
DKeyStore.java502 public static final class TrustedCertificateEntry implements java.security.KeyStore.Entry { class in KeyStore
504 public TrustedCertificateEntry(java.security.cert.Certificate trustedCert) { in TrustedCertificateEntry() method in KeyStore.TrustedCertificateEntry
508 public TrustedCertificateEntry( in TrustedCertificateEntry() method in KeyStore.TrustedCertificateEntry
/libcore/api/
Dcurrent.txt7564 …public static final class KeyStore.TrustedCertificateEntry implements java.security.KeyStore.Entry…
7565 ctor public KeyStore.TrustedCertificateEntry(java.security.cert.Certificate);
7566 …ctor public KeyStore.TrustedCertificateEntry(java.security.cert.Certificate, java.util.Set<java.se…