Home
last modified time | relevance | path

Searched refs:getCertificate (Results 1 – 16 of 16) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DCertificateFactory.java62 return getCertificate(ASN1Sequence.getInstance(dIn.readObject())); in readDERCertificate()
69 return getCertificate(PEM_CERT_PARSER.readPEMObject(in)); in readPEMCertificate()
72 private java.security.cert.Certificate getCertificate(ASN1Sequence seq) in getCertificate() method in CertificateFactory
88 return getCertificate(); in getCertificate()
96 private java.security.cert.Certificate getCertificate() in getCertificate() method in CertificateFactory
201 return getCertificate(); in engineGenerateCertificate()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DTestKeyStore.java558 caCert = (X509Certificate) signer.getCertificate(); in createKeys()
617 publicKey = privateEntry.getCertificate().getPublicKey(); in createKeys()
826 X509Certificate certificate = (X509Certificate) privateKey.getCertificate(); in privateKey()
910 X509Certificate serverCertJca = (X509Certificate) server.getCertificate(); in generateOCSPResponse()
911 X509Certificate caCertJca = (X509Certificate) issuer.getCertificate(); in generateOCSPResponse()
1038 X509Certificate cert = (X509Certificate) src.getCertificate(alias); in copySelfSignedCertificates()
1061 X509Certificate cert = (X509Certificate) src.getCertificate(alias); in copyCertificate()
1096 out.println(keyStore.getCertificate(alias)); in dump()
/external/conscrypt/platform/src/test/java/org/conscrypt/
DTrustedCertificateStoreTest.java464 store.getCertificate(null); in assertEmpty()
468 assertNull(store.getCertificate("")); in assertEmpty()
645 PublicKey publicKey = getPrivate().getCertificate().getPublicKey(); in testIsTrustAnchorWithReissuedgetCa()
823 X509Certificate cert = (X509Certificate) store.getCertificate(alias); in testSystemCaCertsUseCorrectFileNames()
880 assertEquals(x, store.getCertificate(alias)); in assertTrusted()
897 assertNull(store.getCertificate(alias)); in assertDeleted()
902 store.getCertificate(alias, true) != null); in assertDeleted()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DTrustedCertificateStore.java140 public Certificate getCertificate(String alias) { in getCertificate() method in TrustedCertificateStore
141 return getCertificate(alias, false); in getCertificate()
144 public Certificate getCertificate(String alias, boolean includeDeletedSystem) { in getCertificate() method in TrustedCertificateStore
285 return getCertificate(alias, includeDeletedSystem) != null; in containsAlias()
DTrustedCertificateKeyStoreSpi.java56 return store.getCertificate(alias); in engineGetCertificate()
DTrustManagerImpl.java244 final X509Certificate cert = (X509Certificate) ks.getCertificate(alias); in acceptedIssuers()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509CertStoreSelector.java62 cs.setCertificate(selector.getCertificate()); in getInstance()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKIXCertStoreSelector.java87 this.setCertificate(baseSelector.getCertificate()); in SelectorClone()
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
DCertificateEntry.java117 public byte[] getCertificate() { in getCertificate() method in CertificateEntry
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLContext.java383 X509Certificate keyStoreCertificate = (X509Certificate) keyStore.getCertificate(alias); in assertCertificateInKeyStore()
398 Certificate keyStoreCertificate = keyStore.getCertificate(alias); in assertCertificateInKeyStore()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCertInstallerHelper.java133 mUserCert = (X509Certificate) entry.getCertificate(); in installFrom()
/external/nist-pkits/src/libcore/java/security/cert/
DX509CertificateNistPkitsTest.java87 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate() method in X509CertificateNistPkitsTest
107 certs[i] = getCertificate(f, names[i]); in getCertificates()
146 X509Certificate trustedCA = getCertificate(f, trustedCAName); in getTestPathParams()
/external/apache-http/android/src/android/net/http/
DConnection.java135 /* package */ SslCertificate getCertificate() { in getCertificate() method in Connection
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java1656 .getPrivateKey("RSA", "RSA").getCertificate(); in certificateWithKeyUsage()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java189 X509Certificate certificate = (X509Certificate) ks.getCertificate(caCertAlias); in initCerts()
/external/apache-http/api/
Dapache-http-legacy-current.txt318 method public android.net.http.SslCertificate getCertificate();