/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory2Test.java | 22 package org.apache.harmony.security.tests.java.security.cert; 29 import java.security.cert.CRL; 30 import java.security.cert.CRLException; 31 import java.security.cert.CertPath; 32 import java.security.cert.Certificate; 33 import java.security.cert.CertificateException; 34 import java.security.cert.CertificateFactory; 41 import org.apache.harmony.security.tests.support.cert.MyCertificateFactorySpi; 51 private static final String CertificateFactoryProviderClass = "org.apache.harmony.security.tests.support.cert.MyCertificateFactorySpi"; 141 Certificate cert = certFactory.generateCertificate(dis) local [all...] |
CertStore1Test.java | 22 package org.apache.harmony.security.tests.java.security.cert; 29 import java.security.cert.CertStore; 30 import java.security.cert.CertStoreException; 31 import java.security.cert.CertStoreParameters; 32 import java.security.cert.CertStoreSpi; 33 import java.security.cert.CollectionCertStoreParameters; 34 import java.security.cert.LDAPCertStoreParameters; 38 import org.apache.harmony.security.tests.support.cert.MyCertStoreParameters; 39 import org.apache.harmony.security.tests.support.cert.MyCertStoreSpi; 145 String def = "Proba.cert.store.type" [all...] |
/external/chromium_org/net/third_party/mozilla_security_manager/ |
nsPKCS12Blob.cpp | 50 #include "net/cert/x509_certificate.h" 92 CERTCertificate* cert = (CERTCertificate*)wincx; local 94 if (!cancel || !cert) { 100 VLOG(1) << "no nickname for cert in PKCS12 file."; 102 nick = CERT_MakeCANickname(cert); 215 CERTCertificate* cert = PK11_FindCertFromDERCertItem( local 218 if (!cert) { 224 // Add the cert to the list 229 net::X509Certificate::CreateFromHandle(cert, intermediates)); 236 CERT_DestroyCertificate(cert); [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509CRL.java | 32 import java.security.cert.CRLException; 33 import java.security.cert.Certificate; 34 import java.security.cert.X509CRL; 35 import java.security.cert.X509CRLEntry; 36 import java.security.cert.X509Certificate; 345 public boolean isRevoked(Certificate cert) { 346 if (!(cert instanceof X509Certificate)) { 351 if (cert instanceof OpenSSLX509Certificate) { 352 osslCert = (OpenSSLX509Certificate) cert; 356 cert.getEncoded())) [all...] |
OpenSSLX509CertificateFactory.java | 22 import java.security.cert.CRL; 23 import java.security.cert.CRLException; 24 import java.security.cert.CertPath; 25 import java.security.cert.Certificate; 26 import java.security.cert.CertificateException; 27 import java.security.cert.CertificateFactorySpi; 28 import java.security.cert.X509Certificate;
|
OpenSSLX509Certificate.java | 30 import java.security.cert.Certificate; 31 import java.security.cert.CertificateEncodingException; 32 import java.security.cert.CertificateException; 33 import java.security.cert.CertificateExpiredException; 34 import java.security.cert.CertificateNotYetValidException; 35 import java.security.cert.CertificateParsingException; 36 import java.security.cert.X509Certificate; 160 public static OpenSSLX509Certificate fromCertificate(Certificate cert) 162 if (cert instanceof OpenSSLX509Certificate) { 163 return (OpenSSLX509Certificate) cert; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HostnameVerifierTest.java | 22 import java.security.cert.CertificateFactory; 23 import java.security.cert.X509Certificate; 166 // openssl req -x509 -nodes -days 36500 -subj '/CN=*.0.0.1' -newkey rsa:512 -out cert.pem 167 String cert = "-----BEGIN CERTIFICATE-----\n" local 179 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); 194 // openssl req -x509 -nodes -days 36500 -subj '/CN=*.com' -newkey rsa:512 -out cert.pem 195 String cert = "-----BEGIN CERTIFICATE-----\n" local 207 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); 217 * $ cat ./cert.cnf 227 * $ openssl req -x509 -nodes -days 36500 -subj '/CN=foo.com' -config ./cert.cnf 230 String cert = "-----BEGIN CERTIFICATE-----\\n" local 267 String cert = "-----BEGIN CERTIFICATE-----\\n" local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathBuilder1Test.java | 23 package tests.security.cert; 28 import org.apache.harmony.security.tests.support.cert.MyCertPathBuilderSpi; 29 import org.apache.harmony.security.tests.support.cert.TestUtils; 36 import java.security.cert.CertPath; 37 import java.security.cert.CertPathBuilder; 38 import java.security.cert.CertPathBuilderException; 39 import java.security.cert.CertPathBuilderResult; 40 import java.security.cert.CertPathBuilderSpi; 41 import java.security.cert.CertPathParameters; 42 import java.security.cert.CertificateException [all...] |
CertStore2Test.java | 1 package tests.security.cert; 10 import java.security.cert.CRL; 11 import java.security.cert.CRLSelector; 12 import java.security.cert.CertSelector; 13 import java.security.cert.CertStore; 14 import java.security.cert.CertStoreException; 15 import java.security.cert.CertStoreParameters; 16 import java.security.cert.CertStoreSpi; 17 import java.security.cert.Certificate; 317 public boolean match(Certificate cert) { [all...] |
CertificateFactory2Test.java | 23 package tests.security.cert; 28 import org.apache.harmony.security.tests.support.cert.MyCertificateFactorySpi; 35 import java.security.cert.CRL; 36 import java.security.cert.CRLException; 37 import java.security.cert.CertPath; 38 import java.security.cert.Certificate; 39 import java.security.cert.CertificateException; 40 import java.security.cert.CertificateFactory; 51 private static final String CertificateFactoryProviderClass = "org.apache.harmony.security.tests.support.cert.MyCertificateFactorySpi"; 132 Certificate cert = certFactory.generateCertificate(dis) local [all...] |
X509CRLSelector2Test.java | 1 package tests.security.cert; 9 import org.apache.harmony.security.tests.support.cert.TestUtils; 20 import java.security.cert.CRL; 21 import java.security.cert.CRLException; 22 import java.security.cert.Certificate; 23 import java.security.cert.CertificateException; 24 import java.security.cert.CertificateFactory; 25 import java.security.cert.X509CRL; 26 import java.security.cert.X509CRLEntry; 27 import java.security.cert.X509CRLSelector 318 X509Certificate cert = (X509Certificate) certFact local 436 X509Certificate cert = (X509Certificate) certFact local [all...] |
X509CRLEntryTest.java | 23 package tests.security.cert; 30 import java.security.cert.CRLException; 31 import java.security.cert.X509CRLEntry;
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
s3_lib.c | 3542 CERT *cert; local 3790 CERT *cert; local 3906 CERT *cert; local [all...] |
ssl_rsa.c | 67 static int ssl_set_cert(CERT *c, X509 *x509); 68 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); 76 if (!ssl_cert_inst(&ssl->cert)) 81 return(ssl_set_cert(ssl->cert,x)); 162 if (!ssl_cert_inst(&ssl->cert)) 176 ret=ssl_set_pkey(ssl->cert,pkey); 182 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) 304 if (!ssl_cert_inst(&ssl->cert)) 309 ret=ssl_set_pkey(ssl->cert,pkey); 386 if (!ssl_cert_inst(&ctx->cert)) [all...] |
/external/openssl/ssl/ |
s3_lib.c | 3534 CERT *cert; local 3782 CERT *cert; local 3898 CERT *cert; local [all...] |
/external/chromium_org/chromeos/network/ |
network_cert_migrator.cc | 7 #include <cert.h> 33 std::string GetNickname(const net::X509Certificate& cert) { 34 if (!cert.os_cert_handle()->nickname) 36 std::string name = cert.os_cert_handle()->nickname; 106 scoped_refptr<net::X509Certificate> cert = local 108 if (!cert) { 109 VLOG(2) << "No matching cert found."; 114 if (!net::X509Certificate::GetPEMEncoded(cert->os_cert_handle(),
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
CertStore_ImplTest.java | 22 package org.apache.harmony.security.tests.java.security.cert; 29 import java.security.cert.CRLSelector; 30 import java.security.cert.CertSelector; 31 import java.security.cert.CertStore; 32 import java.security.cert.CertStoreException; 33 import java.security.cert.CertStoreParameters; 34 import java.security.cert.X509CRLSelector; 35 import java.security.cert.X509CertSelector; 40 import org.apache.harmony.security.tests.support.cert.MyCertStoreParameters; 51 private static final String CertStoreProviderClass = "org.apache.harmony.security.tests.support.cert.MyCertStoreSpi" [all...] |
/external/chromium_org/chrome/browser/ssl/ |
ssl_error_info.cc | 14 #include "net/cert/cert_status_flags.h" 33 net::X509Certificate* cert, 48 cert->GetDNSNames(&dns_names); 52 if (dns_names[i] == cert->subject().common_name) 70 net::EscapeForHTML(UTF8ToUTF16(cert->subject().common_name)), 77 if (cert->HasExpired()) { 90 // valid as there is still a very unlikely chance that the cert might 311 scoped_refptr<net::X509Certificate> cert = NULL; local 316 if (!cert.get()) { 318 cert_id, &cert); [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
KeyStoreTestSupport.java | 28 import java.security.cert.Certificate; 29 import java.security.cert.CertificateEncodingException; 30 import java.security.cert.CertificateException;
|
/external/chromium_org/net/cert/ |
multi_threaded_cert_verifier.h | 20 #include "net/cert/cert_database.h" 21 #include "net/cert/cert_verifier.h" 22 #include "net/cert/cert_verify_result.h" 23 #include "net/cert/x509_cert_types.h" 57 virtual int Verify(X509Certificate* cert, 132 void HandleResult(X509Certificate* cert, 140 virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE;
|
x509_certificate_win.cc | 5 #include "net/cert/x509_certificate.h" 46 // Decodes the cert's subjectAltName extension into a CERT_ALT_NAME_INFO 49 PCCERT_CONTEXT cert, 52 cert->pCertInfo->cExtension, 53 cert->pCertInfo->rgExtension); 78 PCCERT_CONTEXT cert = NULL; local 80 while ((cert = CertEnumCertificatesInStore(store, cert)) != NULL) { 83 NULL, // The cert won't be persisted in any cert store. This break [all...] |
/external/chromium_org/net/quic/crypto/ |
quic_server_info.cc | 101 string cert; local 102 if (!p.ReadString(&iter, &cert)) { 103 DVLOG(1) << "Malformed cert"; 106 state->certs.push_back(cert);
|
/frameworks/base/keystore/java/android/security/ |
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; 257 throw new KeyStoreException("Certificates must be in X.509 format: invalid cert #" 262 throw new KeyStoreException("Certificates must be in X.509 format: invalid cert #" 350 public void engineSetCertificateEntry(String alias, Certificate cert) throws KeyStoreException { 356 if (cert == null) { 357 throw new NullPointerException("cert == null") [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
KeyStoreTestSupport.java | 28 import java.security.cert.Certificate; 29 import java.security.cert.CertificateEncodingException; 30 import java.security.cert.CertificateException;
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
website_settings.cc | 42 #include "net/cert/cert_status_flags.h" 43 #include "net/cert/x509_certificate.h" 306 scoped_refptr<net::X509Certificate> cert; local 324 cert_store_->RetrieveCert(ssl.cert_id, &cert) && 341 base::string16 issuer_name(UTF8ToUTF16(cert->issuer().GetDisplayName())); 366 DCHECK(!cert->subject().organization_names.empty()); 367 organization_name_ = UTF8ToUTF16(cert->subject().organization_names[0]); 368 // An EV Cert is required to have a city (localityName) and country but 370 DCHECK(!cert->subject().locality_name.empty()); 371 DCHECK(!cert->subject().country_name.empty()) [all...] |