/external/chromium/chrome/browser/resources/options/ |
certificate_manager.css | 7 .certificate-tree-table { 11 .certificate-tree {
|
/external/chromium/net/base/ |
test_root_certs_nss.cc | 17 // for a certificate whose trust status has been changed by the 21 // Creates a new TrustEntry by incrementing the reference to |certificate| 23 TrustEntry(CERTCertificate* certificate, CERTCertTrust trust); 26 CERTCertificate* certificate() const { return certificate_; } function in class:net::TestRootCerts::TrustEntry 30 // The temporary root certificate. 40 TestRootCerts::TrustEntry::TrustEntry(CERTCertificate* certificate, 42 : certificate_(CERT_DupCertificate(certificate)), 50 bool TestRootCerts::Add(X509Certificate* certificate) { 52 // the certificate is removed. 54 SECStatus rv = CERT_GetCertTrust(certificate->os_cert_handle() [all...] |
ssl_client_auth_cache.cc | 22 scoped_refptr<X509Certificate>* certificate) { 23 DCHECK(certificate); 29 *certificate = iter->second;
|
test_root_certs_openssl.cc | 17 bool TestRootCerts::Add(X509Certificate* certificate) { 19 certificate->os_cert_handle())) {
|
/frameworks/base/core/java/android/net/http/ |
SslError.java | 23 * 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) { [all...] |
EventHandler.java | 24 * there is an SSL certificate error. error() can occur anywhere 109 * SSL certificate callback called before resource request is 112 public void certificate(SslCertificate certificate); method in interface:EventHandler 122 * SSL certificate error callback. Handles SSL error(s) on the way
|
LoggingEventHandler.java | 72 public void certificate(SslCertificate certificate) { method in class:LoggingEventHandler 74 HttpLog.v("LoggingEventHandler: certificate(): " + certificate);
|
SslCertificate.java | 30 import java.security.cert.Certificate; 43 * SSL certificate info (certificate details) class 53 * Name of the entity this certificate is issued to 58 * Name of the entity this certificate is issued by 73 * The original source certificate, if available. 88 private static final String X509_CERTIFICATE = "x509-certificate"; 91 * Saves the certificate state to a bundle 92 * @param certificate The SSL certificate to stor 182 certificate); local [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherTest.java | 21 import java.security.cert.Certificate; 63 Certificate certificate = certificateWithKeyUsage(keyUsage); local 64 assertCipherInitWithKeyUsage(certificate, allowEncrypt, Cipher.ENCRYPT_MODE); 65 assertCipherInitWithKeyUsage(certificate, allowDecrypt, Cipher.DECRYPT_MODE); 66 assertCipherInitWithKeyUsage(certificate, allowWrap, Cipher.WRAP_MODE); 67 assertCipherInitWithKeyUsage(certificate, allowUnwrap, Cipher.UNWRAP_MODE); 70 private void assertCipherInitWithKeyUsage(Certificate certificate, 75 cipher.init(mode, certificate); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/x509/extension/ |
AuthorityKeyIdentifierStructure.java | 51 X509Certificate certificate) 56 if (certificate.getVersion() != 3) 58 GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate)); 60 (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); 63 info, new GeneralNames(genName), certificate.getSerialNumber()).toASN1Object(); 67 GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate)); 69 byte[] ext = certificate.getExtensionValue(X509Extensions.SubjectKeyIdentifier.getId()); 76 str.getOctets(), new GeneralNames(genName), certificate.getSerialNumber()).toASN1Object(); 81 (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); 84 info, new GeneralNames(genName), certificate.getSerialNumber()).toASN1Object() [all...] |
/external/webkit/Source/WebCore/platform/cf/win/ |
CertificateCFWin.cpp | 45 RetainPtr<CFDataRef> copyCertificateToData(PCCERT_CONTEXT certificate) 48 PCCERT_CONTEXT certificateCopy = CertDuplicateCertificateContext(certificate);
|
/external/webkit/Source/WebKit2/Shared/API/c/win/ |
WKCertificateInfoWin.cpp | 34 WKCertificateInfoRef WKCertificateInfoCreateWithCertificate(PCCERT_CONTEXT certificate) 36 return toAPI(WebCertificateInfo::create(PlatformCertificateInfo(certificate)).leakRef());
|
WKCertificateInfoWin.h | 36 WK_EXPORT WKCertificateInfoRef WKCertificateInfoCreateWithCertificate(PCCERT_CONTEXT certificate);
|
/cts/tests/tests/security/src/android/security/cts/ |
CertificateTest.java | 73 X509Certificate certificate = (X509Certificate) keyStore.getCertificate(alias); local 74 assertEquals(certificate.getSubjectUniqueID(), certificate.getIssuerUniqueID()); 75 assertNotNull(certificate.getSubjectDN()); 76 assertNotNull(certificate.getIssuerDN()); 77 String fingerprint = getFingerprint(certificate); 83 private String getFingerprint(X509Certificate certificate) throws CertificateEncodingException, 86 messageDigest.update(certificate.getEncoded());
|
/libcore/luni/src/test/java/tests/security/ |
CertificateFactoryTest.java | 20 import java.security.cert.Certificate; 43 Certificate certificate = certificateFactory.generateCertificate( local 45 assertNotNull(certificate);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CertImplTest.java | 58 import org.apache.harmony.security.x509.Certificate; 86 // The values of certificate's fields: 100 String issuerName = "O=Certificate Issuer"; 198 // Certificate Policies with ANY policy 252 public X509Certificate certificate; field in class:X509CertImplTest 261 * Creates the master certificate on the base of which 307 Certificate cert = 308 new Certificate(tbsCertificate, signature, signatureValue); 312 cert = (Certificate) Certificate.ASN1.decode(certEncoding) [all...] |
X509CertFactoryPerfTest.java | 61 // The values of certificate's fields: 75 static String issuerName = "O=Certificate Issuer"; 175 // Certificate Policies with ANY policy 227 static X509Certificate certificate; field in class:X509CertFactoryPerfTest 280 "-----BEGIN CERTIFICATE-----\n" + 297 "-----END CERTIFICATE-----\n" + 298 "-----BEGIN CERTIFICATE-----\n" + 315 "-----END CERTIFICATE-----\n"; 328 * Creates the master certificate on the base of which 343 Certificate cert [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStorePrivateKeyEntryTest.java | 26 import java.security.cert.Certificate; 36 String certificateData = "-----BEGIN CERTIFICATE-----\n" 50 + "-----END CERTIFICATE-----\n"; 62 Certificate certificate = cf.generateCertificate(certArray); local 63 assertTrue(certificate instanceof X509Certificate); 65 String algorithm = certificate.getPublicKey().getAlgorithm(); 71 // If all the certificate in the chain is X509Certificate, 74 privateKey, new Certificate[] { certificate }); [all...] |
/external/chromium/net/socket/ |
ssl_server_socket.h | 40 // Creates an SSL server socket using an already connected socket. A certificate 48 Socket* socket, X509Certificate* certificate, crypto::RSAPrivateKey* key,
|
/external/chromium/third_party/libjingle/source/talk/base/ |
opensslidentity.h | 70 // OpenSSLCertificate encapsulates an OpenSSL X509* certificate object, 101 // Holds a keypair and certificate together, and a method to generate 109 virtual OpenSSLCertificate& certificate() const { function in class:talk_base::OpenSSLIdentity 118 // Configure an SSL context object to use our key and certificate. 123 OpenSSLCertificate* certificate) 124 : key_pair_(key_pair), certificate_(certificate) { 126 ASSERT(certificate != NULL);
|
sslidentity.h | 40 // A somewhat opaque type used to encapsulate a certificate. 41 // Wraps the SSL library's notion of a certificate, with reference counting. 47 // Parses and build a certificate from a PEM encoded string. 49 // The length of the string representation of the certificate is 58 // underlying certificate. 62 // Returns a PEM encoded string representation of the certificate. 66 // Our identity in an SSL negotiation: a keypair and certificate (both 71 // Generates an identity (keypair and self-signed certificate). If 72 // common_name is non-empty, it will be used for the certificate's 85 // Returns a temporary reference to the certificate [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStorePrivateKeyEntryTest.java | 26 import java.security.cert.Certificate; 36 String certificateData = "-----BEGIN CERTIFICATE-----\n" 50 + "-----END CERTIFICATE-----\n"; 62 Certificate certificate = cf.generateCertificate(certArray); local 63 assertTrue(certificate instanceof X509Certificate); 65 String algorithm = certificate.getPublicKey().getAlgorithm(); 71 // If all the certificate in the chain is X509Certificate, 74 privateKey, new Certificate[] { certificate }); [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultHostnameVerifier.java | 21 import java.security.cert.Certificate; 43 Certificate[] certificates = session.getPeerCertificates(); 50 public boolean verify(String host, X509Certificate certificate) { 52 ? verifyIpAddress(host, certificate) 53 : verifyHostName(host, certificate); 57 * Returns true if {@code certificate} matches {@code ipAddress}. 59 private boolean verifyIpAddress(String ipAddress, X509Certificate certificate) { 60 for (String altName : getSubjectAltNames(certificate, ALT_IPA_NAME)) { 69 * Returns true if {@code certificate} matches {@code hostName}. 71 private boolean verifyHostName(String hostName, X509Certificate certificate) { [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/build/ |
DebugKeyProviderTest.java | 78 X509Certificate certificate = (X509Certificate) provider.getCertificate(); local 79 assertNotNull(certificate); 84 assertTrue(certificate.getNotAfter().compareTo(c.getTime()) > 0); 91 certificate.getNotAfter().compareTo(c.getTime()) > 0); 96 certificate.getNotAfter().compareTo(c.getTime()) > 0); 101 certificate.getNotAfter().compareTo(c.getTime()) > 0);
|
/libcore/luni/src/main/java/java/security/ |
Identity.java | 44 private Vector<Certificate> certificates; 84 * Adds a {@code Certificate} to this {@code Identity}. 86 * @param certificate 87 * the {@code Certificate} to be added to this {@code Identity}. 89 * if the certificate is not valid. 91 public void addCertificate(Certificate certificate) throws KeyManagementException { 92 PublicKey certPK = certificate.getPublicKey(); 101 certificates = new Vector<Certificate>(); 103 certificates.add(certificate); [all...] |