OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:peerCertificates
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/core/java/android/net/http/
CertificateChainValidator.java
84
Certificate[]
peerCertificates
=
87
if (
peerCertificates
== null ||
peerCertificates
.length == 0) {
93
if (
peerCertificates
[0] != null) {
95
new SslCertificate((X509Certificate)
peerCertificates
[0]));
100
return verifyServerDomainAndCertificates((X509Certificate[])
peerCertificates
, domain, "RSA");
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLSessionImpl.java
42
final X509Certificate[]
peerCertificates
;
60
X509Certificate[]
peerCertificates
, String peerHost, int peerPort,
64
this.
peerCertificates
=
peerCertificates
;
77
X509Certificate[]
peerCertificates
,
82
peerCertificates
,
219
= new javax.security.cert.X509Certificate[
peerCertificates
.length];
221
for (int i = 0; i <
peerCertificates
.length; i++) {
222
byte[] encoded =
peerCertificates
[i].getEncoded();
249
return
peerCertificates
;
[
all
...]
SSLSessionImpl.java
49
X509Certificate[]
peerCertificates
;
120
if (
peerCertificates
== null) {
123
javax.security.cert.X509Certificate[] certs = new javax.security.cert.X509Certificate[
peerCertificates
.length];
126
certs[i] = javax.security.cert.X509Certificate.getInstance(
peerCertificates
[i]
136
if (
peerCertificates
== null) {
139
return
peerCertificates
;
151
if (
peerCertificates
== null) {
154
return
peerCertificates
[0].getSubjectX500Principal();
OpenSSLSocketImpl.java
417
X509Certificate[]
peerCertificates
420
peerCertificates
, getPeerHostName(), getPeerPort(), sessionContext);
[
all
...]
/libcore/luni/src/main/java/libcore/net/http/
HttpResponseCache.java
320
private final Certificate[]
peerCertificates
;
393
peerCertificates
= readCertArray(reader);
397
peerCertificates
= null;
419
peerCertificates
= peerCertificatesNonFinal;
423
peerCertificates
= null;
450
writeCertArray(writer,
peerCertificates
);
564
if (entry.
peerCertificates
== null || entry.
peerCertificates
.length == 0) {
567
return Arrays.asList(entry.
peerCertificates
.clone());
571
if (entry.
peerCertificates
== null || entry.peerCertificates.length == 0)
[
all
...]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpResponseCache.java
336
private final Certificate[]
peerCertificates
;
412
peerCertificates
= readCertArray(reader);
416
peerCertificates
= null;
439
peerCertificates
= peerCertificatesNonFinal;
443
peerCertificates
= null;
468
writeCertArray(writer,
peerCertificates
);
581
if (entry.
peerCertificates
== null || entry.
peerCertificates
.length == 0) {
584
return Arrays.asList(entry.
peerCertificates
.clone());
588
if (entry.
peerCertificates
== null || entry.peerCertificates.length == 0)
[
all
...]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java
320
Certificate[]
peerCertificates
= client.getSession().getPeerCertificates();
321
assertNotNull(
peerCertificates
);
322
TestKeyStore.assertChainLength(
peerCertificates
);
323
assertNotNull(
peerCertificates
[0]);
325
peerCertificates
);
326
TestSSLContext.assertCertificateInKeyStore(
peerCertificates
[0], c.serverKeyStore);
462
Certificate[]
peerCertificates
= event.getPeerCertificates();
474
System.out.println("
PeerCertificates
="
475
+ Arrays.toString(
peerCertificates
));
497
assertNotNull(
peerCertificates
);
[
all
...]
Completed in 143 milliseconds