/build/tools/releasetools/ |
check_target_files_signatures | 31 .x509.pem files. Defaults to "vendor,build". Where cert files 33 printed as the cert name, otherwise a hash of the cert plus its 95 def GetCertSubject(cert): 99 out, err = p.communicate(cert) 101 return "(error reading cert subject)" 106 return "(unknown cert subject)" 113 def Add(self, cert, name=None): 114 if cert in self.certs: 116 self.certs[cert] = self.certs[cert] + "," + nam [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 6 import java.security.cert.CRL; 7 import java.security.cert.CRLException; 8 import java.security.cert.CertPath; 9 import java.security.cert.CertificateException; 10 import java.security.cert.CertificateFactorySpi; 11 import java.security.cert.CertificateParsingException; 12 import java.security.cert.X509Certificate; 49 private java.security.cert.Certificate readDERCertificate( 71 private java.security.cert.Certificate getCertificate() 91 private java.security.cert.Certificate readPEMCertificate 232 java.security.cert.Certificate cert; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathBuilderSpi.java | 4 import java.security.cert.CertPath; 5 import java.security.cert.CertPathBuilderException; 6 import java.security.cert.CertPathBuilderResult; 7 import java.security.cert.CertPathBuilderSpi; 8 import java.security.cert.CertPathParameters; 9 import java.security.cert.CertPathValidator; 10 import java.security.cert.CertificateFactory; 11 import java.security.cert.CertificateParsingException; 12 import java.security.cert.PKIXBuilderParameters; 13 import java.security.cert.PKIXCertPathBuilderResult 67 X509Certificate cert; local [all...] |
RFC3280CertPathUtilities.java | 7 import java.security.cert.CertPath; 8 import java.security.cert.CertPathBuilder; 9 import java.security.cert.CertPathBuilderException; 10 import java.security.cert.CertPathValidatorException; 11 import java.security.cert.CertificateExpiredException; 12 import java.security.cert.CertificateNotYetValidException; 13 import java.security.cert.PKIXCertPathChecker; 14 import java.security.cert.X509CRL; 15 import java.security.cert.X509Certificate; 16 import java.security.cert.X509Extension 867 X509Certificate cert = (X509Certificate)certs.get(index); local 1051 X509Certificate cert = (X509Certificate)certs.get(index); local 1127 X509Certificate cert = (X509Certificate)certs.get(index); local 1156 X509Certificate cert = (X509Certificate)certs.get(index); local 1257 X509Certificate cert = (X509Certificate)certs.get(index); local 1460 X509Certificate cert = (X509Certificate)certs.get(index); local 1538 X509Certificate cert = (X509Certificate)certs.get(index); local 1593 X509Certificate cert = (X509Certificate)certs.get(index); local 1647 X509Certificate cert = (X509Certificate)certs.get(index); local 2028 X509Certificate cert = (X509Certificate)certs.get(index); local 2062 X509Certificate cert = (X509Certificate)certs.get(index); local 2097 X509Certificate cert = (X509Certificate)certs.get(index); local 2120 X509Certificate cert = (X509Certificate)certs.get(index); local 2159 X509Certificate cert = (X509Certificate)certs.get(index); local 2182 X509Certificate cert = (X509Certificate)certs.get(index); local 2213 X509Certificate cert = (X509Certificate)certs.get(index); local 2236 X509Certificate cert = (X509Certificate)certs.get(index); local 2259 X509Certificate cert = (X509Certificate)certs.get(index); local 2311 X509Certificate cert = (X509Certificate)certs.get(index); local 2365 X509Certificate cert = (X509Certificate)certs.get(index); local [all...] |
/external/chromium_org/net/ssl/ |
client_cert_store_nss.cc | 17 #include "net/cert/x509_util.h" 86 if (CERT_CheckCertValidTimes(node->cert, PR_Now(), PR_TRUE) != 88 DVLOG(2) << "skipped expired cert: " 89 << base::StringPiece(node->cert->nickname); 93 scoped_refptr<X509Certificate> cert = X509Certificate::CreateFromHandle( local 94 node->cert, X509Certificate::OSCertHandles()); 99 cert->IsIssuedByEncoded(request.cert_authorities)) || 101 NSS_CmpCertChainWCANames(node->cert, &ca_names) == SECSuccess)) { 102 DVLOG(2) << "matched cert: " << base::StringPiece(node->cert->nickname) [all...] |
default_server_bound_cert_store.cc | 85 const std::string& cert); 102 const std::string& cert) 107 cert_(cert) { 255 ServerBoundCert* cert = it->second; 256 *expiration_time = cert->expiration_time(); 257 *private_key_result = cert->private_key(); 258 *cert_result = cert->cert(); 268 const std::string& cert) { 271 cert))); 402 ServerBoundCert* cert = cur->second; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 24 import java.security.cert.Certificate; 25 import java.security.cert.CertificateException; 26 import java.security.cert.CertificateFactory; 34 import org.apache.harmony.security.tests.support.cert.TestUtils; 85 Certificate[] cert = con.getLocalCertificates(); local 86 assertNotNull(cert); 87 assertEquals(1, cert.length); 183 Certificate[] cert = con.getServerCertificates(); local 184 assertNotNull(cert); 185 assertEquals(1, cert.length) 290 Certificate cert = cf.generateCertificate(bis); local 305 Certificate cert = cf.generateCertificate(bis); local [all...] |
/external/chromium_org/chrome/browser/net/ |
sqlite_server_bound_cert_store.cc | 20 #include "net/cert/x509_certificate.h" 50 // Batch a server bound cert addition. 52 const net::DefaultServerBoundCertStore::ServerBoundCert& cert); 54 // Batch a server bound cert deletion. 56 const net::DefaultServerBoundCertStore::ServerBoundCert& cert); 88 const net::DefaultServerBoundCertStore::ServerBoundCert& cert) 89 : op_(op), cert_(cert) {} 92 const net::DefaultServerBoundCertStore::ServerBoundCert& cert() const { function in class:SQLiteServerBoundCertStore::Backend::PendingOperation 102 // Batch a server bound cert operation (add or delete). 105 const net::DefaultServerBoundCertStore::ServerBoundCert& cert); 515 const std::string& cert = po->cert().cert(); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
X509ExtensionUtil.java | 4 import java.security.cert.CertificateParsingException; 5 import java.security.cert.X509Certificate; 35 public static Collection getIssuerAlternativeNames(X509Certificate cert) 38 byte[] extVal = cert.getExtensionValue(X509Extension.issuerAlternativeName.getId()); 43 public static Collection getSubjectAlternativeNames(X509Certificate cert) 46 byte[] extVal = cert.getExtensionValue(X509Extension.subjectAlternativeName.getId());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
AttributeCertificateHolder.java | 7 import java.security.cert.CertSelector; 8 import java.security.cert.Certificate; 9 import java.security.cert.CertificateEncodingException; 10 import java.security.cert.CertificateParsingException; 11 import java.security.cert.X509Certificate; 48 * @deprecated use org.bouncycastle.cert.AttributeCertificateHolder 74 public AttributeCertificateHolder(X509Certificate cert) 81 name = PrincipalUtil.getIssuerX509Principal(cert); 89 new ASN1Integer(cert.getSerialNumber()))); 328 public boolean match(Certificate cert) [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
ssl_client_certificate_selector.cc | 15 #include "net/cert/x509_certificate.h" 54 net::X509Certificate* cert = cert_request_info->client_certs[i].get(); local 57 base::UTF8ToUTF16(cert->subject().GetDisplayName()), 58 base::UTF8ToUTF16(cert->issuer().GetDisplayName())); 191 scoped_refptr<net::X509Certificate> cert = GetSelectedCert(); local 192 if (cert) { 199 cert, 205 cert)); 207 Unlocked(cert); 237 net::X509Certificate* cert = GetSelectedCert() local [all...] |
/external/chromium_org/net/cert/ |
asn1_util.cc | 5 #include "net/cert/asn1_util.h" 95 // SeekToSPKI changes |cert| so that it points to a suffix of the 98 static bool SeekToSPKI(base::StringPiece* cert) { 115 if (!GetElement(cert, kSEQUENCE, &certificate)) 119 if (!cert->empty()) 147 *cert = tbs_certificate; 151 bool ExtractSPKIFromDERCert(base::StringPiece cert, 153 if (!SeekToSPKI(&cert)) 155 if (!ParseElement(&cert, kSEQUENCE, spki_out, NULL)) 188 bool ExtractCRLURLsFromDERCert(base::StringPiece cert, [all...] |
asn1_util.h | 60 // ExtractSPKIFromDERCert parses the DER encoded certificate in |cert| and 62 // |spki_out| is set to contain the SPKI, pointing into |cert|. 63 NET_EXPORT_PRIVATE bool ExtractSPKIFromDERCert(base::StringPiece cert, 73 // ExtractCRLURLsFromDERCert parses the DER encoded certificate in |cert| and 75 // |urls_out| point into |cert|. 86 base::StringPiece cert,
|
test_root_certs_openssl.cc | 5 #include "net/cert/test_root_certs.h" 13 #include "net/cert/x509_certificate.h" 45 bool TestRootCerts::Contains(X509* cert) const { 49 if (X509Certificate::IsSameOSCert(cert, (*it)->os_cert_handle()))
|
/external/chromium_org/chrome/browser/ui/webui/ |
certificate_viewer_webui.cc | 33 net::X509Certificate* cert) { 34 CertificateViewerDialog* dialog = new CertificateViewerDialog(cert); 42 net::X509Certificate* cert) 43 : cert_(cert), webui_(NULL), window_(NULL) { 217 CertificateViewerDialog::CertificateViewerDialog(net::X509Certificate* cert) 218 : CertificateViewerModalDialog(cert), 254 net::X509Certificate* cert) : cert_(cert), dialog_(dialog) { 290 net::X509Certificate::OSCertHandle cert = cert_chain_[cert_index]; 297 node_details->SetString("label", x509_certificate_model::GetTitle(cert)); 390 cert, &extensions); local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateExpiredExceptionTest.java | 22 package org.apache.harmony.security.tests.java.security.cert; 24 import java.security.cert.CertificateExpiredException;
|
CertificateNotYetValidExceptionTest.java | 22 package org.apache.harmony.security.tests.java.security.cert; 24 import java.security.cert.CertificateNotYetValidException;
|
X509CRLTest.java | 22 package org.apache.harmony.security.tests.java.security.cert; 31 import java.security.cert.CRLException; 32 import java.security.cert.Certificate; 33 import java.security.cert.X509CRL; 34 import java.security.cert.X509CRLEntry; 35 import java.security.cert.X509Certificate; 41 import org.apache.harmony.security.tests.support.cert.TestUtils; 62 public boolean isRevoked(Certificate cert) { 225 * @tests java.security.cert.X509CRL#getIssuerX500Principal()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
CertificateEncodingExceptionTest.java | 22 package org.apache.harmony.security.tests.javax.security.cert; 24 import javax.security.cert.CertificateEncodingException;
|
CertificateExceptionTest.java | 22 package org.apache.harmony.security.tests.javax.security.cert; 24 import javax.security.cert.CertificateException;
|
CertificateExpiredExceptionTest.java | 22 package org.apache.harmony.security.tests.javax.security.cert; 24 import javax.security.cert.CertificateExpiredException;
|
CertificateNotYetValidExceptionTest.java | 22 package org.apache.harmony.security.tests.javax.security.cert; 24 import javax.security.cert.CertificateNotYetValidException;
|
CertificateParsingExceptionTest.java | 22 package org.apache.harmony.security.tests.javax.security.cert; 24 import javax.security.cert.CertificateParsingException;
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertificateTest.java | 22 package java.security.cert; 38 import org.apache.harmony.security.tests.support.cert.TestUtils; 196 * @tests java.security.cert.X509Certificate#getType() 203 * @tests java.security.cert.X509Certificate#getIssuerX500Principal() 207 MyX509Certificate cert = new MyX509Certificate() { local 215 assertEquals(new X500Principal("CN=Z"), cert.getIssuerX500Principal()); 219 * @tests java.security.cert.X509Certificate#getSubjectX500Principal() 223 MyX509Certificate cert = new MyX509Certificate() { local 231 assertEquals(new X500Principal("CN=Y"), cert.getSubjectX500Principal()); 235 * @tests java.security.cert.X509Certificate#getExtendedKeyUsage( 268 X509Certificate cert = (X509Certificate) certFactory local [all...] |
/external/chromium_org/content/browser/ssl/ |
ssl_client_auth_handler.h | 49 void CertificateSelected(net::X509Certificate* cert); 60 // Called when ClientCertStore is done retrieving the cert list. 63 // Notifies that the user has selected a cert. 65 void DoCertificateSelected(net::X509Certificate* cert);
|