Home
last modified time | relevance | path

Searched refs:x509Certificate (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/http/
DSslCertificateTest.java49 X509Certificate x509Certificate = generateCertificate(Issue1597Certificate); in testSslCertificateWithEmptyIssuer() local
50 assertEquals("", x509Certificate.getSubjectDN().getName()); in testSslCertificateWithEmptyIssuer()
51 SslCertificate sslCertificate = new SslCertificate(x509Certificate); in testSslCertificateWithEmptyIssuer()
102 X509Certificate x509Certificate = generateCertificate(Issue41662Certificate); in testSslCertificateWithMultipleCN() local
103 String dn = x509Certificate.getSubjectDN().getName(); in testSslCertificateWithMultipleCN()
106 SslCertificate sslCertificate = new SslCertificate(x509Certificate); in testSslCertificateWithMultipleCN()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java108 X509Certificate x509Certificate = certificate.mX509Certificate; in saveState() local
109 if (x509Certificate != null) { in saveState()
111 bundle.putByteArray(X509_CERTIFICATE, x509Certificate.getEncoded()); in saveState()
127 X509Certificate x509Certificate; in restoreState() local
130 x509Certificate = null; in restoreState()
135 x509Certificate = (X509Certificate) cert; in restoreState()
137 x509Certificate = null; in restoreState()
144 x509Certificate); in restoreState()
192 X509Certificate x509Certificate) { in SslCertificate() argument
197 mX509Certificate = x509Certificate; in SslCertificate()
[all …]