/external/chromium/net/base/ |
asn1_util.cc | 77 // Certificate ::= SEQUENCE { 91 base::StringPiece certificate; local 92 if (!asn1::GetElement(&cert, asn1::kSEQUENCE, &certificate)) 96 if (!asn1::GetElement(&certificate, asn1::kSEQUENCE, &tbs_certificate))
|
test_root_certs_mac.cc | 46 // rather than checking if they were the same (logical) certificate, so a 58 bool TestRootCerts::Add(X509Certificate* certificate) { 61 certificate->os_cert_handle())) 63 CFArrayAppendValue(temporary_roots_, certificate->os_cert_handle());
|
ssl_client_auth_cache.h | 31 // Checks for a client certificate preference for SSL server at |server|. 32 // Returns true if a preference is found, and sets |*certificate| to the 33 // desired client certificate. The desired certificate may be NULL, which 34 // indicates a preference to not send any certificate to |server|. 35 // If a certificate preference is not found, returns false. 37 scoped_refptr<X509Certificate>* certificate); 39 // Add a client certificate for |server| to the cache. If there is already 40 // a client certificate for |server|, it will be overwritten. A NULL 41 // |client_cert| indicates a preference that no client certificate shoul [all...] |
cert_database.cc | 15 : certificate(cert), net_error(err) {
|
test_root_certs.h | 30 // artificially mark a certificate as trusted, independent of the local 40 // Marks |certificate| as trusted for X509Certificate::Verify(). Returns 41 // false if the certificate could not be marked trusted. 42 bool Add(X509Certificate* certificate); 44 // Reads a single certificate from |file| and marks it as trusted. Returns 46 // or more than one certificate existing in |file|. 66 // Returns an HCERTCHAINENGINE suitable to be used for certificate 87 // It is necessary to maintain a cache of the original certificate trust
|
/libcore/luni/src/main/java/java/security/cert/ |
X509CRL.java | 34 * Abstract base class for X.509 certificate revocation lists (CRL). 37 * "Internet X.509 Public Key Infrastructure Certificate and CRL Profile" at <a 171 // TODO if there is no X.509 certificate provider installed 202 * Returns the CRL entry with the specified certificate serial number. 205 * the certificate serial number to search for a CRL entry. 206 * @return the entry for the specified certificate serial number, or {@code 212 * Returns the CRL entry for the specified certificate. 214 * @param certificate 215 * the certificate to search a CRL entry for. 216 * @return the entry for the specified certificate, or {@code null} if no [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertImpl.java | 47 import org.apache.harmony.security.x509.Certificate; 55 * the instance of org.apache.harmony.security.x509.Certificate 57 * Certificate structure (as specified in RFC 3280 59 * @see org.apache.harmony.security.x509.Certificate 68 private final Certificate certificate; field in class:X509CertImpl 71 // cache values retrieved from the certificate object, 89 // encoding of the certificate 94 * form of X.509 certificate provided via stream parameter. 95 * @param in input stream containing ASN.1 encoded form of certificate [all...] |
/libcore/luni/src/test/java/tests/targets/security/cert/ |
CertPathBuilderTestPKIX.java | 24 import java.security.cert.Certificate; 58 List<Certificate> certList = new ArrayList<Certificate>(); 76 List<? extends Certificate> certificates = path.getCertificates(); 77 Certificate certificate = certificates.get(0); local 79 assertEquals("unexpected certificate type", "X.509", certificate 82 X509Certificate x509Certificate = (X509Certificate) certificate; 93 private String selfSignedCert = "-----BEGIN CERTIFICATE-----\n [all...] |
CertificateTest.java | 28 import java.security.cert.Certificate; 41 * Following certificate chain was taken from https://www.verisign.com and 42 * uses MD2withRSA for the root certificate. This chain stops validating 47 * A selfsigned certificate using MD2withRSA 50 * Certificate: 87 "-----BEGIN CERTIFICATE-----\n" 100 + "-----END CERTIFICATE-----\n"; 103 * A certificate signed by selfSignedCertMD2 106 * Certificate: 146 * Certificate Sign, CRL Sig 597 Certificate certificate = certificateFactory local 611 Certificate certificate = certificateFactory local [all...] |
/external/chromium/net/socket/ |
ssl_server_socket_openssl.cc | 53 X509Certificate* certificate,
|
/external/webkit/Source/WebKit2/Shared/win/ |
WebCoreArgumentCodersWin.cpp | 127 encoder->encode(WebKit::PlatformCertificateInfo(resourceError.certificate())); 141 WebKit::PlatformCertificateInfo certificate; 142 if (!decoder->decode(certificate)) 145 const Vector<PCCERT_CONTEXT> certificateChain = certificate.certificateChain();
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/ |
JcaSignerInfoGeneratorBuilder.java | 63 public SignerInfoGenerator build(ContentSigner contentSigner, X509Certificate certificate) 66 return this.build(contentSigner, new JcaX509CertificateHolder(certificate));
|
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
racoon.conf | 1 path certificate "/etc/openssl/certs";
|
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/ |
racoon.conf | 1 path certificate "/etc/openssl/certs";
|
/external/webkit/Source/WebCore/platform/network/cf/ |
ResourceError.h | 65 ResourceError(const String& domain, int errorCode, const String& failingURL, const String& localizedDescription, CFDataRef certificate); 66 PCCERT_CONTEXT certificate() const;
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 21 import java.security.cert.Certificate; 53 Certificate root = new TestKeyStore.Builder() 66 private X509Certificate bouncycastleToJava(Certificate certificate) throws Exception { 67 byte[] encoded = certificate.getEncoded();
|
/external/webkit/Source/WebKit2/Shared/mac/ |
WebCoreArgumentCodersMac.mm | 170 PlatformCertificateInfo certificate; 171 if (!decoder->decode(certificate)) 175 if (certificate.certificateChain()) 185 if (certificate.certificateChain()) 186 [userInfo setObject:(NSArray *)certificate.certificateChain() forKey:@"NSErrorPeerCertificateChainKey"];
|
/frameworks/base/core/java/android/net/http/ |
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...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
SslContextBuilder.java | 28 import java.security.cert.Certificate; 40 * self-signed certificate for a single hostname such as "localhost". 66 // Generate public and private keys and use them to make a self-signed certificate. 68 X509Certificate certificate = selfSignedCertificate(keyPair); local 72 Certificate[] certificateChain = { certificate }; 74 keyStore.setCertificateEntry("cert", certificate); 96 * Generates a certificate for {@code hostName} containing {@code keyPair}'s
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CertPathImplTest.java | 45 private X509Certificate certificate; field in class:X509CertPathImplTest 50 certificate = test.certificate; 61 certList.add(certificate); 70 assertEquals("Certificate list size missmatch", 81 assertEquals("Certificate list size missmatch", certList.size(), cpath 91 assertEquals("Certificate list size missmatch", certList.size(), cpath 114 assertEquals("Certificate list size missmatch", certList.size(), cpath 120 assertEquals("Certificate list size missmatch", certList.size(), cpath 131 assertEquals("Certificate list size missmatch", certList.size() [all...] |
/libcore/luni/src/test/java/tests/targets/security/ |
KeyStoreTest.java | 33 import java.security.cert.Certificate; 103 Certificate certificate = null; local 105 certificate = certificateFactory 114 generator = KeyPairGenerator.getInstance(certificate.getPublicKey() 123 .getPrivate(), new Certificate[] {certificate}); 167 private String encodedCertificate = "-----BEGIN CERTIFICATE-----\n" 189 + "-----END CERTIFICATE-----\n";
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStore3Test.java | 38 import java.security.cert.Certificate; 52 private Certificate certificate; field in class:KeyStore3Test 58 String certificateData = "-----BEGIN CERTIFICATE-----\n" 72 + "-----END CERTIFICATE-----\n"; 83 certificate = cf.generateCertificate(certArray); 113 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate}); 128 new Certificate[0]); 134 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate}); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore3Test.java | 37 import java.security.cert.Certificate; 49 private Certificate certificate; field in class:KeyStore3Test 55 String certificateData = "-----BEGIN CERTIFICATE-----\n" 69 + "-----END CERTIFICATE-----\n"; 74 certificate = cf.generateCertificate(certArray); 104 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate}); 119 new Certificate[0]); 125 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate}) [all...] |
/libcore/luni/src/main/java/java/security/ |
Signature.java | 21 import java.security.cert.Certificate; 224 * using the certificate of the identity whose signature is going to be 227 * If the given certificate is an instance of {@link X509Certificate} and 228 * has a key usage parameter that indicates, that this certificate is not to 231 * @param certificate 232 * the certificate used to verify a signature. 234 * if the publicKey in the certificate is not valid or not to be 237 public final void initVerify(Certificate certificate) 239 if (certificate instanceof X509Certificate) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
PKIXBuilderParametersTest.java | 48 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:PKIXBuilderParametersTest 62 + "-----END CERTIFICATE-----\n"; 64 String certificate2 = "-----BEGIN CERTIFICATE-----\n" 78 + "-----END CERTIFICATE-----\n"; 213 * <code>keystore</code> does not contain at least one trusted certificate 239 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate 270 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate 298 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate 341 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate [all...] |