Searched defs:certificate (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/net/http/
H A DHttpsConnection.java148 * Sets the server SSL certificate associated with this
150 * @param certificate The SSL certificate
152 /* package */ void setCertificate(SslCertificate certificate) { argument
153 mCertificate = certificate;
316 // allow the certificate anyway.
H A DLoggingEventHandler.java72 public void certificate(SslCertificate certificate) { argument
74 HttpLog.v("LoggingEventHandler: certificate(): " + certificate);
H A DSslError.java23 * certificate.
32 * The certificate is not yet valid
36 * The certificate has expired
44 * The certificate authority is not trusted
48 * The date of the certificate is invalid
73 * The SSL certificate associated with the error set
83 * Creates a new SslError object using the supplied error and certificate.
86 * @param certificate The associated SSL certificate
90 public SslError(int error, SslCertificate certificate) { argument
102 SslError(int error, X509Certificate certificate) argument
113 SslError(int error, SslCertificate certificate, String url) argument
128 SslError(int error, X509Certificate certificate, String url) argument
[all...]
H A DEventHandler.java24 * there is an SSL certificate error. error() can occur anywhere
109 * SSL certificate callback called before resource request is
112 public void certificate(SslCertificate certificate); argument
122 * SSL certificate error callback. Handles SSL error(s) on the way
H A DSslCertificate.java43 * SSL certificate info (certificate details) class
53 * Name of the entity this certificate is issued to
58 * Name of the entity this certificate is issued by
73 * The original source certificate, if available.
88 private static final String X509_CERTIFICATE = "x509-certificate";
91 * Saves the certificate state to a bundle
92 * @param certificate The SSL certificate to store
93 * @return A bundle with the certificate store
95 saveState(SslCertificate certificate) argument
177 SslCertificate(X509Certificate certificate) argument
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DDomainNameValidator.java43 * Checks the site certificate against the domain name of the site being visited
44 * @param certificate The certificate to check
48 public static boolean match(X509Certificate certificate, String thisDomain) { argument
49 if (certificate == null || thisDomain == null || thisDomain.length() == 0) {
55 return matchDns(certificate, thisDomain);
57 return matchIpAddress(certificate, thisDomain);
84 * Checks the site certificate against the IP domain name of the site being visited
85 * @param certificate The certificate t
89 matchIpAddress(X509Certificate certificate, String thisDomain) argument
129 matchDns(X509Certificate certificate, String thisDomain) argument
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
H A DDomainNameValidatorTest.java133 private void checkMatch(String message, X509Certificate certificate, String thisDomain, argument
135 Boolean actual = DomainNameValidator.match(certificate, thisDomain);
232 X509Certificate certificate = (X509Certificate) factory.generateCertificate(certStream);
234 checkMatch(message, certificate, domain, expected);
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java445 * Implements the EventHandler certificate method called every
448 public void certificate(SslCertificate certificate) {} argument
496 * SSL certificate error callback. Handles SSL error(s) on the way
505 " certificate: " + error.getCertificate());
527 if (expectSslErrors == -1) // && expectSslCertificate == certificate?
730 public void expectSSLCertificateError(SslCertificate certificate) { argument
732 expectCertificate = certificate;
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java476 public void certificate(SslCertificate certificate) { argument
H A DBrowserFrame.java473 * We have received an SSL certificate for the main top-level page.
476 void certificate(SslCertificate certificate) { argument
478 // we want to make this call even if the certificate is null
480 mCallbackProxy.onReceivedCertificate(certificate);
1160 * Called by JNI when the Chromium HTTP stack gets an invalid certificate chain.
1174 // Can't get the certificate, not much to do.
1175 Log.e(LOGTAG, "Can't get the certificate from WebKit, canceling");
1210 * certificate request.
1278 * Called by JNI when we recieve a certificate fo
[all...]
H A DCallbackProxy.java1059 public void onReceivedCertificate(SslCertificate certificate) { argument
1060 // here, certificate can be null (if the site is not secure)
1061 sendMessage(obtainMessage(RECEIVED_CERTIFICATE, certificate));
H A DLoadListener.java265 * certificate.
516 * Implementation of certificate handler for EventHandler. Called
523 * @param certificate The SSL certifcate or null if the request
526 public void certificate(SslCertificate certificate) { argument
528 Log.v(LOGTAG, "LoadListener.certificate: " + certificate);
530 sendMessageInternal(obtainMessage(MSG_SSL_CERTIFICATE, certificate));
533 // Handle the certificate on the WebCore thread.
534 private void handleCertificate(SslCertificate certificate) { argument
[all...]
H A DWebView.java436 // SSL certificate for the main top-level page (if secure)
1552 * @return The SSL certificate for the main top-level page or null if
1553 * there is no certificate (the site is not secure).
1561 * Sets the SSL certificate for the main top-level page.
1563 public void setCertificate(SslCertificate certificate) { argument
1566 Log.v(LOGTAG, "setCertificate=" + certificate);
1568 // here, the certificate can be null (if the site is not secure)
1569 mCertificate = certificate;
1819 outState.putBundle("certificate",
2013 inState.getBundle("certificate"));
[all...]

Completed in 173 milliseconds