/frameworks/base/core/java/android/net/http/ |
D | SslError.java | 19 import java.security.cert.X509Certificate; 140 int error, SslCertificate cert, String url) { in SslErrorFromChromiumErrorCode() argument 145 return new SslError(SSL_IDMISMATCH, cert, url); in SslErrorFromChromiumErrorCode() 147 return new SslError(SSL_DATE_INVALID, cert, url); in SslErrorFromChromiumErrorCode() 149 return new SslError(SSL_UNTRUSTED, cert, url); in SslErrorFromChromiumErrorCode() 151 return new SslError(SSL_INVALID, cert, url); in SslErrorFromChromiumErrorCode()
|
D | CertificateChainValidator.java | 26 import java.security.cert.Certificate; 27 import java.security.cert.CertificateException; 28 import java.security.cert.CertificateFactory; 29 import java.security.cert.X509Certificate;
|
D | X509TrustManagerExtensions.java | 21 import java.security.cert.CertificateException; 22 import java.security.cert.X509Certificate;
|
D | SslCertificate.java | 30 import java.security.cert.Certificate; 31 import java.security.cert.CertificateEncodingException; 32 import java.security.cert.CertificateException; 33 import java.security.cert.CertificateFactory; 34 import java.security.cert.X509Certificate; 130 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState() local 131 x509Certificate = (X509Certificate) cert; in restoreState()
|
/frameworks/base/services/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 37 import java.security.cert.Certificate; 38 import java.security.cert.CertificateException; 39 import java.security.cert.CertificateFactory; 40 import java.security.cert.X509Certificate; 78 X509Certificate cert = getCert(context.getContentResolver()); in onReceive() local 97 cert)) { in onReceive() 122 String cert = Settings.Secure.getString(cr, UPDATE_CERTIFICATE_KEY); in getCert() local 125 byte[] derCert = Base64.decode(cert.getBytes(), Base64.DEFAULT); in getCert() 216 String signature, X509Certificate cert) throws Exception { in verifySignature() argument 218 signer.initVerify(cert); in verifySignature()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 32 import java.security.cert.Certificate; 33 import java.security.cert.CertificateEncodingException; 34 import java.security.cert.CertificateException; 35 import java.security.cert.CertificateFactory; 36 import java.security.cert.X509Certificate; 147 private void writeCertificate(Parcel dest, X509Certificate cert) { in writeCertificate() argument 148 if (cert != null) { in writeCertificate() 150 byte[] certBytes = cert.getEncoded(); in writeCertificate() 196 X509Certificate cert = null; 203 cert = (X509Certificate) cFactory [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 33 import java.security.cert.CertificateFactory; 34 import java.security.cert.Certificate; 35 import java.security.cert.X509Certificate; 174 String signature, X509Certificate cert) throws Exception { in verifySignature() argument 176 signer.initVerify(cert); in verifySignature() 193 private String runTest(String cert, String content, String version, String required, String sig) in runTest() argument 196 overrideCert(cert); in runTest() 203 private String runTestWithoutSig(String cert, String content, String version, String required) in runTestWithoutSig() argument 206 return runTest(cert, content, version, required, sig); in runTestWithoutSig()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 35 import java.security.cert.Certificate; 36 import java.security.cert.CertificateFactory; 37 import java.security.cert.X509Certificate; 51 import org.apache.harmony.security.provider.cert.X509CertImpl; 211 X509Certificate cert = null; in verifyPackage() local 213 cert = new X509CertImpl((org.apache.harmony.security.x509.Certificate)it.next()); in verifyPackage() 232 PublicKey signatureKey = cert.getPublicKey(); in verifyPackage() 265 alg = cert.getSigAlgName(); in verifyPackage() 270 sig.initVerify(cert); in verifyPackage()
|
/frameworks/base/keystore/java/android/security/ |
D | AndroidKeyStore.java | 39 import java.security.cert.Certificate; 40 import java.security.cert.CertificateEncodingException; 41 import java.security.cert.CertificateException; 42 import java.security.cert.CertificateFactory; 43 import java.security.cert.X509Certificate; 350 public void engineSetCertificateEntry(String alias, Certificate cert) throws KeyStoreException { in engineSetCertificateEntry() argument 356 if (cert == null) { in engineSetCertificateEntry() 362 encoded = cert.getEncoded(); in engineSetCertificateEntry() 452 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias() argument 453 if (cert == null) { in engineGetCertificateAlias() [all …]
|
D | AndroidKeyPairGenerator.java | 34 import java.security.cert.CertificateEncodingException; 35 import java.security.cert.X509Certificate; 132 final X509Certificate cert; in generateKeyPair() local 134 cert = certGen.generate(privKey); in generateKeyPair() 142 certBytes = cert.getEncoded(); in generateKeyPair()
|
D | KeyChain.java | 32 import java.security.cert.Certificate; 33 import java.security.cert.CertificateException; 34 import java.security.cert.CertificateFactory; 35 import java.security.cert.X509Certificate; 393 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate() local 394 return (X509Certificate) cert; in toCertificate()
|
D | Credentials.java | 36 import java.security.cert.Certificate; 37 import java.security.cert.CertificateEncodingException; 38 import java.security.cert.CertificateException; 39 import java.security.cert.CertificateFactory; 40 import java.security.cert.X509Certificate;
|
D | KeyChainAliasCallback.java | 20 import java.security.cert.X509Certificate;
|
D | KeyStoreParameter.java | 25 import java.security.cert.Certificate;
|
D | KeyPairGeneratorSpec.java | 27 import java.security.cert.Certificate;
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 27 import java.security.cert.Certificate; 28 import java.security.cert.CertificateException; 29 import java.security.cert.CertificateFactory; 155 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey() local 156 return cert.getPublicKey(); in getPublicKey()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | SslCertificateTest.java | 23 import java.security.cert.CertificateFactory; 24 import java.security.cert.X509Certificate;
|
D | X509TrustManagerExtensionsTest.java | 20 import java.security.cert.X509Certificate;
|
/frameworks/base/services/java/com/android/server/pm/ |
D | SELinuxMMAC.java | 125 String cert = parser.getAttributeValue(null, "signature"); in readInstallPolicy() local 126 if (cert == null) { in readInstallPolicy() 134 signature = new Signature(cert); in readInstallPolicy() 144 Slog.i(TAG, "<signer> tag: (" + cert + ") assigned seinfo=" in readInstallPolicy()
|
/frameworks/base/keystore/tests/src/android/security/ |
D | AndroidKeyStoreTest.java | 41 import java.security.cert.Certificate; 42 import java.security.cert.CertificateFactory; 43 import java.security.cert.X509Certificate; 1566 byte[] cert, byte[] ca) throws Exception { in assertPrivateKeyEntryEquals() argument 1571 Certificate expectedCert = certFact.generateCertificate(new ByteArrayInputStream(cert)); in assertPrivateKeyEntryEquals() 1815 final Certificate cert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetCertificate_CAExists_Overwrite_Encrypted_Success() local 1818 mKeyStore.setCertificateEntry(TEST_ALIAS_1, cert); in testKeyStore_SetCertificate_CAExists_Overwrite_Encrypted_Success() 1837 final Certificate cert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetCertificate_PrivateKeyExists_Encrypted_Failure() local 1840 mKeyStore.setCertificateEntry(TEST_ALIAS_1, cert); in testKeyStore_SetCertificate_PrivateKeyExists_Encrypted_Failure() 2369 final X509Certificate cert = certGen.generate(privKey); in generateCertificate() local [all …]
|
D | AndroidKeyPairGeneratorTest.java | 27 import java.security.cert.Certificate; 28 import java.security.cert.CertificateFactory; 29 import java.security.cert.X509Certificate;
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 41 import java.security.cert.CertificateException; 42 import java.security.cert.CertificateFactory; 43 import java.security.cert.X509Certificate; 1392 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in hasCaCertInstalled() local 1394 return certStore.getCertificateAlias(cert) != null; in hasCaCertInstalled()
|
/frameworks/av/media/libstagefright/chromium_http/ |
D | support.h | 120 net::URLRequest *request, int cert_error, net::X509Certificate *cert);
|
D | support.cpp | 390 net::URLRequest *request, int cert_error, net::X509Certificate *cert) { in OnSSLCertificateError() argument 393 inherited::OnSSLCertificateError(request, cert_error, cert); in OnSSLCertificateError()
|
/frameworks/base/docs/html-intl/ja/guide/publishing/ |
D | app-signing.jd | 26 <li><a href="#cert">適切な秘密鍵の取得</a></li> 103 <p>アプリケーションの設計時にこれらの点を考慮し、アプリケーションの署名に<a href="#cert">適切な証明書</a>を使用してください。 </p> 194 <h3 id="cert">適切な秘密鍵の取得</h3>
|