/external/chromium_org/chrome/third_party/mozilla_security_manager/ |
nsNSSCertificate.cpp | 50 std::string GetCertTitle(CERTCertificate* cert) { 52 if (cert->nickname) { 53 rv = cert->nickname; 55 char* cn = CERT_GetCommonName(&cert->subject); 59 } else if (cert->subjectName) { 60 rv = cert->subjectName; 61 } else if (cert->emailAddr) { 62 rv = cert->emailAddr; 70 std::string GetCertTokenName(CERTCertificate* cert) { 72 if (cert->slot) [all...] |
nsNSSCertificate.h | 44 #include <cert.h> 51 std::string GetCertTitle(CERTCertificate* cert); 54 std::string GetCertTokenName(CERTCertificate* cert);
|
nsUsageArrayHelper.h | 41 #include <cert.h> 49 void GetCertUsageStrings(CERTCertificate* cert, std::vector<std::string>* out);
|
/libcore/luni/src/main/java/java/security/cert/ |
CertSelector.java | 18 package java.security.cert; 43 * @param cert 48 public boolean match(Certificate cert);
|
CertPathParameters.java | 18 package java.security.cert;
|
CertPathValidatorResult.java | 18 package java.security.cert;
|
CertStoreParameters.java | 18 package java.security.cert;
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/ |
JcaX509CertificateHolder.java | 1 package org.bouncycastle.cert.jcajce; 3 import java.security.cert.CertificateEncodingException; 4 import java.security.cert.X509Certificate; 7 import org.bouncycastle.cert.X509CertificateHolder; 18 * @param cert certificate to be used a the source for the holder creation. 21 public JcaX509CertificateHolder(X509Certificate cert) 24 super(Certificate.getInstance(cert.getEncoded()));
|
/external/conscrypt/src/main/java/org/conscrypt/ |
ChainStrengthAnalyzer.java | 19 import java.security.cert.CertificateException; 20 import java.security.cert.X509Certificate; 29 for (X509Certificate cert : chain) { 30 checkCert(cert); 34 private static final void checkCert(X509Certificate cert) throws CertificateException { 35 checkModulusLength(cert); 36 checkNotMD5(cert); 39 private static final void checkModulusLength(X509Certificate cert) throws CertificateException { 40 Object pubkey = cert.getPublicKey(); 49 private static final void checkNotMD5(X509Certificate cert) throws CertificateException [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSTrustedCertificateEntryTest.java | 26 import java.security.cert.Certificate; 28 import org.apache.harmony.security.tests.support.cert.MyCertificate; 46 Certificate cert = null; local 48 new KeyStore.TrustedCertificateEntry(cert); 53 cert = new MyCertificate("TEST", new byte[10]); 55 KeyStore.TrustedCertificateEntry ksTCE = new KeyStore.TrustedCertificateEntry(cert); 68 Certificate cert = new MyCertificate("TEST", new byte[10]); local 70 new KeyStore.TrustedCertificateEntry(cert); 71 assertEquals("Incorrect certificate", cert, ksTCE.getTrustedCertificate()); 79 Certificate cert = new MyCertificate("TEST", new byte[10]) local [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCRL.java | 22 package org.apache.harmony.security.tests.support.cert; 24 import java.security.cert.CRL; 25 import java.security.cert.Certificate; 28 * Stub class for <code>java.security.cert.CRL</code> tests 50 * @param cert <code>Certificate</code> to be checked 52 * @see java.security.cert.CRL#isRevoked(java.security.cert.Certificate) 54 public boolean isRevoked(Certificate cert) {
|
MyCertPathBuilderSpi.java | 22 package org.apache.harmony.security.tests.support.cert; 25 import java.security.cert.CertPathBuilderException; 26 import java.security.cert.CertPathBuilderResult; 27 import java.security.cert.CertPathBuilderSpi; 28 import java.security.cert.CertPathParameters;
|
MyCertPathValidatorSpi.java | 22 package org.apache.harmony.security.tests.support.cert; 25 import java.security.cert.CertPath; 26 import java.security.cert.CertPathParameters; 27 import java.security.cert.CertPathValidatorException; 28 import java.security.cert.CertPathValidatorResult; 29 import java.security.cert.CertPathValidatorSpi;
|
MyCertStoreParameters.java | 22 package org.apache.harmony.security.tests.support.cert; 24 import java.security.cert.CertStoreParameters;
|
/external/chromium_org/chrome/browser/ |
certificate_viewer.cc | 8 #include "net/cert/x509_certificate.h" 13 scoped_refptr<net::X509Certificate> cert; local 14 content::CertStore::GetInstance()->RetrieveCert(cert_id, &cert); 15 if (!cert.get()) { 20 ShowCertificateViewer(web_contents, parent, cert.get());
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCRL.java | 23 package org.apache.harmony.security.tests.support.cert; 25 import java.security.cert.CRL; 26 import java.security.cert.Certificate; 29 * Stub class for <code>java.security.cert.CRL</code> tests 52 * @param cert <code>Certificate</code> to be checked 54 * @see java.security.cert.CRL#isRevoked(java.security.cert.Certificate) 56 public boolean isRevoked(Certificate cert) {
|
MyCertPathBuilderSpi.java | 23 package org.apache.harmony.security.tests.support.cert; 26 import java.security.cert.CertPathBuilderException; 27 import java.security.cert.CertPathBuilderResult; 28 import java.security.cert.CertPathBuilderSpi; 29 import java.security.cert.CertPathParameters;
|
MyCertPathValidatorSpi.java | 23 package org.apache.harmony.security.tests.support.cert; 26 import java.security.cert.CertPath; 27 import java.security.cert.CertPathParameters; 28 import java.security.cert.CertPathValidatorException; 29 import java.security.cert.CertPathValidatorResult; 30 import java.security.cert.CertPathValidatorSpi;
|
/external/chromium_org/net/cert/ |
cert_database_win.cc | 5 #include "net/cert/cert_database.h" 13 #include "net/cert/x509_certificate.h" 23 int CertDatabase::CheckUserCert(X509Certificate* cert) { 24 if (!cert) 26 if (cert->HasExpired()) 31 if (!CryptFindCertificateKeyProvInfo(cert->os_cert_handle(), 0, NULL)) 37 int CertDatabase::AddUserCert(X509Certificate* cert) { 48 cert->os_cert_handle(), 57 NotifyObserversOfCertAdded(cert);
|
cert_database_openssl.cc | 5 #include "net/cert/cert_database.h" 15 #include "net/cert/x509_certificate.h" 36 int CertDatabase::CheckUserCert(X509Certificate* cert) { 37 if (!cert) 39 if (cert->HasExpired()) 44 X509_PUBKEY_get(X509_get_X509_PUBKEY(cert->os_cert_handle()))); 52 int CertDatabase::AddUserCert(X509Certificate* cert) {
|
cert_database.cc | 5 #include "net/cert/cert_database.h" 27 void CertDatabase::NotifyObserversOfCertAdded(const X509Certificate* cert) { 28 observer_list_->Notify(&Observer::OnCertAdded, make_scoped_refptr(cert)); 31 void CertDatabase::NotifyObserversOfCertRemoved(const X509Certificate* cert) { 32 observer_list_->Notify(&Observer::OnCertRemoved, make_scoped_refptr(cert)); 36 const X509Certificate* cert) { 38 &Observer::OnCACertChanged, make_scoped_refptr(cert));
|
mock_cert_verifier.cc | 5 #include "net/cert/mock_cert_verifier.h" 10 #include "net/cert/cert_status_flags.h" 11 #include "net/cert/cert_verify_result.h" 12 #include "net/cert/x509_certificate.h" 17 Rule(X509Certificate* cert, 21 : cert(cert), 25 DCHECK(cert); 29 scoped_refptr<X509Certificate> cert; member in struct:net::MockCertVerifier::Rule 39 int MockCertVerifier::Verify(X509Certificate* cert, [all...] |
cert_database.h | 12 #include "net/cert/x509_certificate.h" 40 virtual void OnCertAdded(const X509Certificate* cert) {} 43 virtual void OnCertRemoved(const X509Certificate* cert) {} 47 virtual void OnCACertChanged(const X509Certificate* cert) {} 59 // Check whether this is a valid user cert that we have the private key for. 61 int CheckUserCert(X509Certificate* cert); 65 // the platform cert database, or possibly other network error codes. 66 int AddUserCert(X509Certificate* cert); 109 void NotifyObserversOfCertAdded(const X509Certificate* cert); 110 void NotifyObserversOfCertRemoved(const X509Certificate* cert); [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KSTrustedCertificateEntryTest.java | 25 import java.security.cert.Certificate; 27 import org.apache.harmony.security.tests.support.cert.MyCertificate; 43 Certificate cert = null; local 45 new KeyStore.TrustedCertificateEntry(cert); 56 Certificate cert = new MyCertificate("TEST", new byte[10]); local 58 new KeyStore.TrustedCertificateEntry(cert); 59 assertEquals("Incorrect certificate", cert, ksTCE.getTrustedCertificate()); 67 Certificate cert = new MyCertificate("TEST", new byte[10]); local 69 new KeyStore.TrustedCertificateEntry(cert);
|
/external/chromium_org/net/third_party/nss/ssl/ |
authcert.c | 13 #include "cert.h" 32 CERTCertificate * cert = NULL; local 41 cert = CERT_FindUserCertByUsage(CERT_GetDefaultCertDB(), 44 if ( cert ) { 45 privkey = PK11_FindKeyByAnyCert(cert, proto_win); 49 CERT_DestroyCertificate(cert); 52 } else { /* no name given, automatically find the right cert. */ 60 cert = CERT_FindUserCertByUsage(CERT_GetDefaultCertDB(), 63 if ( !cert ) 66 if (CERT_CheckCertValidTimes(cert, PR_Now(), PR_TRUE) != [all...] |