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

/frameworks/base/core/java/android/security/net/config/
H A DTrustAnchor.java23 public final X509Certificate certificate; field in class:TrustAnchor
26 public TrustAnchor(X509Certificate certificate, boolean overridesPins) { argument
27 if (certificate == null) {
28 throw new NullPointerException("certificate");
30 this.certificate = certificate;
/frameworks/base/core/java/android/net/http/
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 DSslCertificate.java45 * SSL certificate info (certificate details) class
55 * Name of the entity this certificate is issued to
60 * Name of the entity this certificate is issued by
75 * The original source certificate, if available.
90 private static final String X509_CERTIFICATE = "x509-certificate";
93 * Saves the certificate state to a bundle
94 * @param certificate The SSL certificate to store
95 * @return A bundle with the certificate store
97 saveState(SslCertificate certificate) argument
179 SslCertificate(X509Certificate certificate) argument
[all...]
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
H A DMediaDrmSigner.java23 * Provides certificate request generation, response handling and
30 * Specify X.509 certificate type
35 * Contains the opaque data an app uses to request a certificate from a provisioning
53 * Get the default URL to use when sending the certificate request
55 * certificate server URL obtained from other sources.
63 * Contains the wrapped private key and public certificate data associated
64 * with a certificate.
69 Certificate(MediaDrm.Certificate certificate) { argument
70 mCertificate = certificate;
81 * Get the PEM-encoded public certificate chai
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DSPVerifier.java311 throw new IOException("Friendly name '" + osuName + " not in certificate");
316 private static Asn1Object getExtension(X509Certificate certificate, String extension) argument
318 byte[] data = certificate.getExtensionValue(extension);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiKeyStore.java40 * This class provides the methods to access keystore for certificate management.
71 private static boolean hasHardwareBackedKey(Certificate certificate) { argument
72 return isHardwareBackedKey(certificate.getPublicKey());
163 * Install a certificate into the keystore.
165 * @param name The alias name of the certificate to be installed
166 * @param cert The certificate to be installed
174 * Install a client certificate chain into the keystore.
176 * @param name The alias name of the certificate to be installed
177 * @param certs The certificate chain to be installed
184 Log.d(TAG, "putting " + certs.length + " certificate(
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h100 Vector<uint8_t>& certificate,
102 UNUSED(certificate);
98 provideProvisionResponse( const Vector<uint8_t>& response, Vector<uint8_t>& certificate, Vector<uint8_t>& wrappedKey) argument
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreSpi.java74 * Credentials.USER_CERTIFICATE as the first certificate in the chain (the one
79 * with a single certificate.
155 // This entry/alias does not contain a certificate.
160 // For this certificate there shouldn't be a private key in this KeyStore entry. Thus,
161 // there's no need to wrap this certificate as opposed to the certificate associated with
172 // corresponding private key. This is not the case for certificate-only entries (e.g.,
182 // Failed to parse the certificate.
189 // the certificate so that its getPublicKey method returns an Android Keystore
196 // the public key in this certificate, bu
209 wrapIntoKeyStoreCertificate( String privateKeyAlias, int uid, X509Certificate certificate) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierKeyDownloadManager.java87 private static final String JSON_CERTIFICATE = "certificate";
89 // field to store the certificate. We'll just use which-ever is not null.
388 * "carrier-keys": [ { "certificate": "",
413 // field to store the certificate. We'll just use which-ever is not null.
439 Log.e(LOG_TAG, "Exception getting certificate: " + e);
446 Log.e(LOG_TAG, "Exception getting certificate: " + e);
522 * @param certificate certificate that contains the public key.
526 public static Pair<PublicKey, Long> getKeyInformation(byte[] certificate) throws Exception { argument
527 InputStream inStream = new ByteArrayInputStream(certificate);
[all...]
/frameworks/av/drm/libmediadrm/
H A DIDrm.cpp264 Vector<uint8_t> &certificate,
275 readVector(reply, certificate);
736 Vector<uint8_t> certificate; local
739 status_t result = provideProvisionResponse(response, certificate, wrappedKey);
740 writeVector(reply, certificate);
263 provideProvisionResponse(Vector<uint8_t> const &response, Vector<uint8_t> &certificate, Vector<uint8_t> &wrappedKey) argument
H A DDrmHal.cpp676 Vector<uint8_t> &certificate, Vector<uint8_t> &wrappedKey) {
689 certificate = toVector(hCertificate);
675 provideProvisionResponse(Vector<uint8_t> const &response, Vector<uint8_t> &certificate, Vector<uint8_t> &wrappedKey) argument
/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/media/jni/
H A Dandroid_media_MediaDrm.cpp143 CertificateFields certificate; member in struct:android::fields_t
645 GET_FIELD_ID(gFields.certificate.wrappedPrivateKey, clazz, "mWrappedKey", "[B");
646 GET_FIELD_ID(gFields.certificate.certificateData, clazz, "mCertificateData", "[B");
1034 Vector<uint8_t> certificate, wrappedKey; local
1036 status_t err = drm->provideProvisionResponse(response, certificate, wrappedKey);
1043 if (clazz && certificate.size() && wrappedKey.size()) {
1045 jbyteArray jcertificate = VectorToJByteArray(env, certificate);
1046 env->SetObjectField(certificateObj, gFields.certificate.certificateData, jcertificate);
1049 env->SetObjectField(certificateObj, gFields.certificate.wrappedPrivateKey, jwrappedKey);
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java97 public void setCertificate(SslCertificate certificate); argument
H A DWebView.java720 * Gets the SSL certificate for the main top-level page or null if there is
721 * no certificate (the site is not secure).
723 * @return the SSL certificate for the main top-level page
731 * Sets the SSL certificate for the main top-level page.
737 public void setCertificate(SslCertificate certificate) { argument
739 mProvider.setCertificate(certificate);
1608 * SSL certificate errors.
1616 * Clears the client certificate preferences stored in response

Completed in 382 milliseconds