Home
last modified time | relevance | path

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

/external/apache-http/android/src/android/net/http/
DCertificateChainValidator.java147 byte[][] certChain, String domain, String authType) in verifyServerCertificates() argument
150 if (certChain == null || certChain.length == 0) { in verifyServerCertificates()
154 X509Certificate[] serverCertificates = new X509Certificate[certChain.length]; in verifyServerCertificates()
158 for (int i = 0; i < certChain.length; ++i) { in verifyServerCertificates()
160 new ByteArrayInputStream(certChain[i])); in verifyServerCertificates()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java111 Certificate[] certChain; field in BcKeyStoreSpi.StoreEntry
121 this.certChain = null; in StoreEntry()
127 Certificate[] certChain) in StoreEntry() argument
132 this.certChain = certChain; in StoreEntry()
139 Certificate[] certChain) in StoreEntry() argument
144 this.certChain = certChain; in StoreEntry()
190 Certificate[] certChain) in StoreEntry() argument
196 this.certChain = certChain; in StoreEntry()
335 return certChain; in getCertificateChain()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java115 Certificate[] certChain; field in BcKeyStoreSpi.StoreEntry
125 this.certChain = null; in StoreEntry()
131 Certificate[] certChain) in StoreEntry() argument
136 this.certChain = certChain; in StoreEntry()
143 Certificate[] certChain) in StoreEntry() argument
148 this.certChain = certChain; in StoreEntry()
194 Certificate[] certChain) in StoreEntry() argument
200 this.certChain = certChain; in StoreEntry()
339 return certChain; in getCertificateChain()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerBuilder.java443 public NettyServerBuilder useTransportSecurity(File certChain, File privateKey) { in useTransportSecurity() argument
445 sslContext = GrpcSslContexts.forServer(certChain, privateKey).build(); in useTransportSecurity()
454 public NettyServerBuilder useTransportSecurity(InputStream certChain, InputStream privateKey) { in useTransportSecurity() argument
456 sslContext = GrpcSslContexts.forServer(certChain, privateKey).build(); in useTransportSecurity()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerBuilder.java153 public abstract T useTransportSecurity(File certChain, File privateKey); in useTransportSecurity() argument
166 public T useTransportSecurity(InputStream certChain, InputStream privateKey) { in useTransportSecurity() argument
/external/conscrypt/common/src/main/java/org/conscrypt/
DSSLUtils.java181 static X509Certificate[] decodeX509CertificateChain(byte[][] certChain) in decodeX509CertificateChain() argument
184 int numCerts = certChain.length; in decodeX509CertificateChain()
187 decodedCerts[i] = decodeX509Certificate(certificateFactory, certChain[i]); in decodeX509CertificateChain()
DConscryptFileDescriptorSocket.java390 public final void verifyCertificateChain(byte[][] certChain, String authMethod) in verifyCertificateChain() argument
393 if (certChain == null || certChain.length == 0) { in verifyCertificateChain()
396 X509Certificate[] peerCertChain = SSLUtils.decodeX509CertificateChain(certChain); in verifyCertificateChain()
DConscryptEngine.java1636 public void verifyCertificateChain(byte[][] certChain, String authMethod)
1639 if (certChain == null || certChain.length == 0) {
1642 X509Certificate[] peerCertChain = SSLUtils.decodeX509CertificateChain(certChain);
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DSSLUtils.java182 static X509Certificate[] decodeX509CertificateChain(byte[][] certChain) in decodeX509CertificateChain() argument
185 int numCerts = certChain.length; in decodeX509CertificateChain()
188 decodedCerts[i] = decodeX509Certificate(certificateFactory, certChain[i]); in decodeX509CertificateChain()
DConscryptFileDescriptorSocket.java391 public final void verifyCertificateChain(byte[][] certChain, String authMethod) in verifyCertificateChain() argument
394 if (certChain == null || certChain.length == 0) { in verifyCertificateChain()
397 X509Certificate[] peerCertChain = SSLUtils.decodeX509CertificateChain(certChain); in verifyCertificateChain()
DConscryptEngine.java1637 public void verifyCertificateChain(byte[][] certChain, String authMethod)
1640 if (certChain == null || certChain.length == 0) {
1643 X509Certificate[] peerCertChain = SSLUtils.decodeX509CertificateChain(certChain);
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessServerBuilder.java133 public InProcessServerBuilder useTransportSecurity(File certChain, File privateKey) { in useTransportSecurity() argument
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractServerImplBuilderTest.java104 public Builder useTransportSecurity(File certChain, File privateKey) { in useTransportSecurity() argument
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsServerBuilder.java158 public AltsServerBuilder useTransportSecurity(File certChain, File privateKey) { in useTransportSecurity() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java480 Certificate[] certChain = new Certificate[cs.size()]; in engineGetCertificateChain() local
482 for (int i = 0; i != certChain.length; i++) in engineGetCertificateChain()
484 certChain[i] = (Certificate)cs.elementAt(i); in engineGetCertificateChain()
487 return certChain; in engineGetCertificateChain()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java484 Certificate[] certChain = new Certificate[cs.size()]; in engineGetCertificateChain() local
486 for (int i = 0; i != certChain.length; i++) in engineGetCertificateChain()
488 certChain[i] = (Certificate)cs.elementAt(i); in engineGetCertificateChain()
491 return certChain; in engineGetCertificateChain()