/frameworks/base/core/java/android/net/http/ |
D | SslError.java | 90 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()
|
D | SslCertificate.java | 95 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 …]
|
D | LoggingEventHandler.java | 72 public void certificate(SslCertificate certificate) { in certificate() method in LoggingEventHandler 74 HttpLog.v("LoggingEventHandler: certificate(): " + certificate); in certificate()
|
D | EventHandler.java | 112 public void certificate(SslCertificate certificate); in certificate() argument
|
D | DelegatingSSLSession.java | 42 public CertificateWrap(Certificate certificate) { in CertificateWrap() argument 43 mCertificate = certificate; in CertificateWrap()
|
D | HttpConnection.java | 52 eventHandler.certificate(mCertificate); in openConnection()
|
D | HttpsConnection.java | 152 /* package */ void setCertificate(SslCertificate certificate) { in setCertificate() argument 153 mCertificate = certificate; in setCertificate()
|
/frameworks/base/docs/html/training/articles/ |
D | security-ssl.jd | 15 <li><a href="#UnknownCa">Unknown certificate authority</a></li> 16 <li><a href="#SelfSigned">Self-signed server certificate</a></li> 17 <li><a href="#MissingCa">Missing intermediate certificate authority</a></li> 50 <p>In a typical SSL usage scenario, a server is configured with a certificate containing a 52 and server, the server proves it has the private key by signing its certificate with <a 55 <p>However, anyone can generate their own certificate and private key, so a simple handshake 57 matches the public key of the certificate. One way to solve this problem is to have the client 58 have a set of one or more certificates it trusts. If the certificate is not in the set, the 63 certificate with a new one. Unfortunately, now the client app has to be updated due to what 74 in each release. Similar to a server, a CA has a certificate and a private key. When issuing [all …]
|
D | keystore.jd | 76 certificate will have. You can replace the certificate at a later 77 time with a certificate signed by a Certificate Authority.</p>
|
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
D | MediaDrmSigner.java | 69 Certificate(MediaDrm.Certificate certificate) { in Certificate() argument 70 mCertificate = certificate; in Certificate()
|
/frameworks/base/docs/html/tools/publishing/ |
D | app-signing.jd | 40 <p>Android requires that all apps be digitally signed with a certificate before they can be 41 installed. Android uses this certificate to identify the author of an app, and the certificate 42 does not need to be signed by a certificate authority. Android apps often use self-signed 43 certificates. The app developer holds the certificate's private key.</p> 50 certificate to sign apps in debug mode. To sign apps in release mode, you need to generate 51 your own certificate.</p> 55 <p>In debug mode, you sign your app with a debug certificate generated by the Android SDK tools. 56 This certificate has a private key with a known password, so you can run and debug your app 71 <p>In release mode, you sign your app with your own certificate:</p> 196 <p>You should sign all of your apps with the same certificate throughout the expected lifespan [all …]
|
D | preparing.jd | 71 <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}tools/publishing/app-signing.html#cert">Obtain a 322 <p>The Export Wizard assumes that you have a <a href="#billing-keys">certificate and private key</a> 323 suitable for signing your application. If you do not have a suitable certificate and private key, 333 Release Mode</a>. This build method assumes you have a <a href="#billing-keys">certificate and 334 private key</a> suitable for signing your application. If you do not have a suitable certificate and
|
/frameworks/base/keystore/java/android/security/ |
D | AndroidKeyStore.java | 133 byte[] certificate = mKeyStore.get(Credentials.USER_CERTIFICATE + alias); in engineGetCertificate() 134 if (certificate != null) { in engineGetCertificate() 135 return toCertificate(certificate); in engineGetCertificate() 138 certificate = mKeyStore.get(Credentials.CA_CERTIFICATE + alias); in engineGetCertificate() 139 if (certificate != null) { in engineGetCertificate() 140 return toCertificate(certificate); in engineGetCertificate()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | TestEventHandler.java | 448 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/av/drm/mediadrm/plugins/clearkey/ |
D | DrmPlugin.h | 99 Vector<uint8_t>& certificate, in provideProvisionResponse() argument 102 UNUSED(certificate); in provideProvisionResponse()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 128 CertificateFields certificate; member 590 GET_FIELD_ID(gFields.certificate.wrappedPrivateKey, clazz, "mWrappedKey", "[B"); in android_media_MediaDrm_native_init() 591 GET_FIELD_ID(gFields.certificate.certificateData, clazz, "mCertificateData", "[B"); in android_media_MediaDrm_native_init() 947 Vector<uint8_t> certificate, wrappedKey; in android_media_MediaDrm_provideProvisionResponseNative() local 949 status_t err = drm->provideProvisionResponse(response, certificate, wrappedKey); in android_media_MediaDrm_provideProvisionResponseNative() 956 if (clazz && certificate.size() && wrappedKey.size()) { in android_media_MediaDrm_provideProvisionResponseNative() 958 jbyteArray jcertificate = VectorToJByteArray(env, certificate); in android_media_MediaDrm_provideProvisionResponseNative() 959 env->SetObjectField(certificateObj, gFields.certificate.certificateData, jcertificate); in android_media_MediaDrm_provideProvisionResponseNative() 962 env->SetObjectField(certificateObj, gFields.certificate.wrappedPrivateKey, jwrappedKey); in android_media_MediaDrm_provideProvisionResponseNative()
|
/frameworks/av/media/libmedia/ |
D | IDrm.cpp | 219 Vector<uint8_t> &certificate, in provideProvisionResponse() 227 readVector(reply, certificate); in provideProvisionResponse() 622 Vector<uint8_t> certificate; in onTransact() local 625 status_t result = provideProvisionResponse(response, certificate, wrappedKey); in onTransact() 626 writeVector(reply, certificate); in onTransact()
|
/frameworks/base/media/lib/signer/ |
D | README.txt | 23 This library will eventually be replaced when the provisioned certificate-
|
/frameworks/av/include/media/ |
D | IDrm.h | 70 Vector<uint8_t> &certificate,
|
/frameworks/base/docs/html/training/in-app-billing/ |
D | test-iab-app.jd | 42 …n for Release</a>. Make sure that you are using your final (not debug) certificate and private key… 49 …<li>Your application is signed with the same certificate that you used for the APK that you upload…
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 85 Vector<uint8_t> &certificate,
|
/frameworks/av/media/libmediaplayerservice/ |
D | Drm.h | 75 Vector<uint8_t> &certificate,
|
D | Drm.cpp | 405 Vector<uint8_t> &certificate, in provideProvisionResponse() argument 417 return mPlugin->provideProvisionResponse(response, certificate, wrappedKey); in provideProvisionResponse()
|
/frameworks/native/include/media/drm/ |
D | DrmAPI.h | 189 Vector<uint8_t> &certificate,
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | permission-element.jd | 106 application is signed with the same certificate as the application 114 certificate as the application that declared the permission. Please avoid using this
|