Home
last modified time | relevance | path

Searched refs:certificate (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/net/http/
DSslError.java90 public SslError(int error, SslCertificate certificate) { in SslError() argument
91 this(error, certificate, ""); in SslError()
102 public SslError(int error, X509Certificate certificate) { in SslError() argument
103 this(error, certificate, ""); in SslError()
113 public SslError(int error, SslCertificate certificate, String url) { in SslError() argument
114 assert certificate != null; in SslError()
117 mCertificate = certificate; in SslError()
128 public SslError(int error, X509Certificate certificate, String url) { in SslError() argument
129 this(error, new SslCertificate(certificate), url); in SslError()
DSslCertificate.java95 public static Bundle saveState(SslCertificate certificate) { in saveState() argument
96 if (certificate == null) { in saveState()
100 bundle.putString(ISSUED_TO, certificate.getIssuedTo().getDName()); in saveState()
101 bundle.putString(ISSUED_BY, certificate.getIssuedBy().getDName()); in saveState()
102 bundle.putString(VALID_NOT_BEFORE, certificate.getValidNotBefore()); in saveState()
103 bundle.putString(VALID_NOT_AFTER, certificate.getValidNotAfter()); in saveState()
104 X509Certificate x509Certificate = certificate.mX509Certificate; in saveState()
177 public SslCertificate(X509Certificate certificate) { in SslCertificate() argument
178 this(certificate.getSubjectDN().getName(), in SslCertificate()
179 certificate.getIssuerDN().getName(), in SslCertificate()
[all …]
DLoggingEventHandler.java72 public void certificate(SslCertificate certificate) { in certificate() method in LoggingEventHandler
74 HttpLog.v("LoggingEventHandler: certificate(): " + certificate); in certificate()
DEventHandler.java112 public void certificate(SslCertificate certificate); in certificate() method
DHttpConnection.java54 eventHandler.certificate(mCertificate); in openConnection()
DHttpsConnection.java152 /* package */ void setCertificate(SslCertificate certificate) { in setCertificate() argument
153 mCertificate = certificate; in setCertificate()
DConnection.java229 req.mEventHandler.certificate(mCertificate); in processRequests()
/frameworks/base/core/java/com/android/internal/net/
DDomainNameValidator.java48 public static boolean match(X509Certificate certificate, String thisDomain) { in match() argument
49 if (certificate == null || thisDomain == null || thisDomain.length() == 0) { in match()
55 return matchDns(certificate, thisDomain); in match()
57 return matchIpAddress(certificate, thisDomain); in match()
89 private static boolean matchIpAddress(X509Certificate certificate, String thisDomain) { in matchIpAddress() argument
95 Collection subjectAltNames = certificate.getSubjectAlternativeNames(); in matchIpAddress()
129 private static boolean matchDns(X509Certificate certificate, String thisDomain) { in matchDns() argument
132 Collection subjectAltNames = certificate.getSubjectAlternativeNames(); in matchDns()
164 final String cn = new DNParser(certificate.getSubjectX500Principal()) in matchDns()
168 + certificate.getSubjectX500Principal().getName(X500Principal.CANONICAL) in matchDns()
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DDomainNameValidatorTest.java133 private void checkMatch(String message, X509Certificate certificate, String thisDomain, in checkMatch() argument
135 Boolean actual = DomainNameValidator.match(certificate, thisDomain); in checkMatch()
232 X509Certificate certificate = (X509Certificate) factory.generateCertificate(certStream); in checkWithActualCert() local
234 checkMatch(message, certificate, domain, expected); in checkWithActualCert()
/frameworks/base/docs/html/guide/publishing/
Dapp-signing.jd47 certificate whose private key is held by the application's developer. The Android system uses the
48 certificate as a means of identifying the author of an application and establishing trust
49 relationships between applications. The certificate is not used to control which applications the
50 user can install. The certificate does not need to be signed by a certificate authority: it is
63 <li>You can use self-signed certificates to sign your applications. No certificate authority is
65 <li>The system tests a signer certificate's expiration date only at install time. If an
66 application's signer certificate expires after the application is installed, the application
98 Jarsigner utility to sign your application's <code>.apk</code> file. Because the certificate and
115 all of your applications with the same certificate, throughout the expected
120 will want to continue to sign the updates with the same certificate or set of
[all …]
Dpreparing.jd71 <code>.apk</code> file, the release-ready <code>.apk</code> file is signed with your own certificate
112 certificate that is owned by the application's developer (that is, a certificate for which the
113 developer holds the private key). The Android system uses the certificate as a means of identifying
115 certificate that you use for signing does not need to be signed by a certificate authority; the
116 Android system allows you to sign your applications with a self-signed certificate. To learn about
117 certificate requirements, see <a href="{@docRoot}guide/publishing/app-signing.html#cert">Obtain a
312 <p>The Export Wizard assumes that you have a <a href="#billing-keys">certificate and private key</a>
313 suitable for signing your application. If you do not have a suitable certificate and private key,
323 Release Mode</a>. This build method assumes you have a <a href="#billing-keys">certificate and
324 private key</a> suitable for signing your application. If you do not have a suitable certificate and
/frameworks/base/tests/CoreTests/android/core/
DTestEventHandler.java448 public void certificate(SslCertificate certificate) {} in certificate() method in TestEventHandler
730 public void expectSSLCertificateError(SslCertificate certificate) { in expectSSLCertificateError() argument
732 expectCertificate = certificate; in expectSSLCertificateError()
/frameworks/base/core/java/android/webkit/
DLoadListener.java526 public void certificate(SslCertificate certificate) { in certificate() argument
528 Log.v(LOGTAG, "LoadListener.certificate: " + certificate); in certificate()
530 sendMessageInternal(obtainMessage(MSG_SSL_CERTIFICATE, certificate)); in certificate()
534 private void handleCertificate(SslCertificate certificate) { in handleCertificate() argument
538 mBrowserFrame.certificate(certificate); in handleCertificate()
DHTML5VideoViewProxy.java476 public void certificate(SslCertificate certificate) { in certificate() method in HTML5VideoViewProxy.PosterDownloader
DBrowserFrame.java476 void certificate(SslCertificate certificate) { in certificate() method in BrowserFrame
480 mCallbackProxy.onReceivedCertificate(certificate); in certificate()
DCallbackProxy.java1059 public void onReceivedCertificate(SslCertificate certificate) { in onReceivedCertificate() argument
1061 sendMessage(obtainMessage(RECEIVED_CERTIFICATE, certificate)); in onReceivedCertificate()
/frameworks/base/docs/html/guide/tutorials/views/
Dhello-mapview.jd75certificate has been registered with the Google Maps service. Because MapView uses Google Maps dat…
77 …minutes to register your certificate and receive a Maps API Key. For instructions on getting a key…
79 …e purpose of this tutorial, you should register with the fingerprint of the SDK debug certificate.)
/frameworks/base/docs/html/resources/faq/
Dtroubleshooting.jd28 …dar">I can't compile my app because the build tools generated an expired debug certificate</a></li>
216 onto the emulator, a copy that is signed with a different certificate (the Android IDE tools will
217 have signed the app with a debug certificate, where the existing version was already signed with
218 a private certificate). The system does not allow this type of reinstallation. </p>
291 …alendar">I can't compile my app because the build tools generated an expired debug certificate</h2>
/frameworks/base/docs/html/resources/tutorials/views/
Dhello-mapview.jd78 application, which proves your application and signer certificate has been registered with the
81 minutes to register your certificate and get a Maps API Key.</p>
86 with the SDK debug certificate</a>, which will only be valid while your application is signed
/frameworks/base/docs/html/guide/topics/security/
Dsecurity.jd67 <p>All Android applications (.apk files) must be signed with a certificate
68 whose private key is held by their developer. This certificate identifies
69 the author of the application. The certificate does <em>not</em> need to be
70 signed by a certificate authority: it is perfectly allowable, and typical,
/frameworks/base/docs/html/guide/topics/manifest/
Dpermission-element.jd106 application is signed with the same certificate as the application
Dmanifest-element.jd85 by the same certificate. Application with the same user ID can access each
Dapplication-element.jd241 user ID and be signed with the same certificate.
/frameworks/base/docs/html/sdk/
Dandroid-1.6-highlights.jd99 <li>L2TP/IPsec certificate based VPN</li>
/frameworks/base/docs/html/guide/market/publishing/
Dmultiple-apks.jd307 name and be signed with the same certificate key</strong>.</li>
415 <strong>must have the same package name and be signed with the same certificate key</strong>. Be

12