Home
last modified time | relevance | path

Searched refs:Certificate (Results 1 – 25 of 1385) sorted by relevance

12345678910>>...56

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHandshake.java21 import java.security.cert.Certificate;
37 private final List<Certificate> peerCertificates;
38 private final List<Certificate> localCertificates;
41 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in Handshake()
51 Certificate[] peerCertificates; in get()
57 List<Certificate> peerCertificatesList = peerCertificates != null in get()
59 : Collections.<Certificate>emptyList(); in get()
61 Certificate[] localCertificates = session.getLocalCertificates(); in get()
62 List<Certificate> localCertificatesList = localCertificates != null in get()
64 : Collections.<Certificate>emptyList(); in get()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DHandshake.java22 import java.security.cert.Certificate;
39 private final List<Certificate> peerCertificates;
40 private final List<Certificate> localCertificates;
43 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in Handshake()
53 Certificate[] peerCertificates; in get()
59 List<Certificate> peerCertificatesList = peerCertificates != null in get()
61 : Collections.<Certificate>emptyList(); in get()
63 Certificate[] localCertificates = session.getLocalCertificates(); in get()
64 List<Certificate> localCertificatesList = localCertificates != null in get()
66 : Collections.<Certificate>emptyList(); in get()
[all …]
/external/python/cryptography/vectors/cryptography_vectors/x509/PKITS_data/
Dpkits.ldif124 dn: CN=Valid EE Certificate Test1,O=Test Certificates 2011,C=US
126 cn: Valid EE Certificate Test1
158 dn: CN=Invalid CA notBefore Date EE Certificate Test1,O=Test Certificates 2011,C=US
160 cn: Invalid CA notBefore Date EE Certificate Test1
164 dn: CN=Invalid EE notBefore Date EE Certificate Test2,O=Test Certificates 2011,C=US
166 cn: Invalid EE notBefore Date EE Certificate Test2
170 dn: CN=Valid pre2000 UTC notBefore Date EE Certificate Test3,O=Test Certificates 2011,C=US
172 cn: Valid pre2000 UTC notBefore Date EE Certificate Test3
176 dn: CN=Valid GeneralizedTime notBefore Date EE Certificate Test4,O=Test Certificates 2011,C=US
178 cn: Valid GeneralizedTime notBefore Date EE Certificate Test4
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509write.data1 Certificate Request check Server1 SHA1
5 Certificate Request check Server1 SHA224
9 Certificate Request check Server1 SHA256
13 Certificate Request check Server1 SHA384
17 Certificate Request check Server1 SHA512
21 Certificate Request check Server1 MD4
25 Certificate Request check Server1 MD5
29 Certificate Request check Server1 key_usage
33 Certificate Request check Server1 key_usage empty
37 Certificate Request check Server1 ns_cert_type
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_x509write.data1 Certificate Request check Server1 SHA1
5 Certificate Request check Server1 SHA224
9 Certificate Request check Server1 SHA256
13 Certificate Request check Server1 SHA384
17 Certificate Request check Server1 SHA512
21 Certificate Request check Server1 MD5
25 Certificate Request check Server1 key_usage
29 Certificate Request check opaque Server1 key_usage
33 Certificate Request check Server1 key_usage empty
37 Certificate Request check Server1 ns_cert_type
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DCertificate.java21 public class Certificate class
29 public static Certificate getInstance( in getInstance()
36 public static Certificate getInstance( in getInstance()
39 if (obj instanceof Certificate) in getInstance()
41 return (Certificate)obj; in getInstance()
45 return new Certificate(ASN1Sequence.getInstance(obj)); in getInstance()
51 private Certificate( in Certificate() method in Certificate
/external/apache-http/android/src/android/net/http/
DDelegatingSSLSession.java20 import java.security.cert.Certificate;
38 private final Certificate mCertificate;
40 public CertificateWrap(Certificate certificate) { in CertificateWrap()
45 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException { in getPeerCertificates()
46 return new Certificate[] { mCertificate }; in getPeerCertificates()
77 public Certificate[] getLocalCertificates() { in getLocalCertificates()
98 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException { in getPeerCertificates()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_FakePKCS12Keystore.java28 import java.security.cert.Certificate;
49 public Certificate[] engineGetCertificateChain(String arg0) { in engineGetCertificateChain()
54 public Certificate engineGetCertificate(String arg0) { in engineGetCertificate()
65 Certificate[] arg3) throws KeyStoreException { in engineSetKeyEntry()
69 public void engineSetKeyEntry(String arg0, byte[] arg1, Certificate[] arg2) in engineSetKeyEntry()
74 public void engineSetCertificateEntry(String arg0, Certificate arg1) in engineSetCertificateEntry()
108 public String engineGetCertificateAlias(Certificate arg0) { in engineGetCertificateAlias()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DTrustedCertificateKeyStoreSpi.java24 import java.security.cert.Certificate;
47 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain()
55 public Certificate engineGetCertificate(String alias) { in engineGetCertificate()
66 String alias, Key key, char[] password, Certificate[] chain) { in engineSetKeyEntry()
71 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) { in engineSetKeyEntry()
76 public void engineSetCertificateEntry(String alias, Certificate cert) { in engineSetCertificateEntry()
117 public String engineGetCertificateAlias(Certificate c) { in engineGetCertificateAlias()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DTrustedCertificateKeyStoreSpi.java23 import java.security.cert.Certificate;
45 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain()
53 public Certificate engineGetCertificate(String alias) { in engineGetCertificate()
64 String alias, Key key, char[] password, Certificate[] chain) { in engineSetKeyEntry()
69 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) { in engineSetKeyEntry()
74 public void engineSetCertificateEntry(String alias, Certificate cert) { in engineSetCertificateEntry()
115 public String engineGetCertificateAlias(Certificate c) { in engineGetCertificateAlias()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DCertificate.java23 public class Certificate class
31 public static Certificate getInstance( in getInstance()
38 public static Certificate getInstance( in getInstance()
41 if (obj instanceof Certificate) in getInstance()
43 return (Certificate)obj; in getInstance()
47 return new Certificate(ASN1Sequence.getInstance(obj)); in getInstance()
53 private Certificate( in Certificate() method in Certificate
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DCertificate.java23 public class Certificate class
31 public static Certificate getInstance( in getInstance()
39 public static Certificate getInstance( in getInstance()
42 if (obj instanceof Certificate) in getInstance()
44 return (Certificate)obj; in getInstance()
48 return new Certificate(ASN1Sequence.getInstance(obj)); in getInstance()
54 private Certificate( in Certificate() method in Certificate
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKIXCertStoreSelector.java7 import java.security.cert.Certificate;
18 public class PKIXCertStoreSelector<T extends Certificate>
43 public PKIXCertStoreSelector<? extends Certificate> build() in build()
61 public Certificate getCertificate() in getCertificate()
71 public boolean match(Certificate cert) in match()
81 …public static Collection<? extends Certificate> getCertificates(final PKIXCertStoreSelector select… in getCertificates()
129 public boolean match(Certificate certificate) in match()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKIXCertStoreSelector.java8 import java.security.cert.Certificate;
20 public class PKIXCertStoreSelector<T extends Certificate>
46 public PKIXCertStoreSelector<? extends Certificate> build() in build()
64 public Certificate getCertificate() in getCertificate()
74 public boolean match(Certificate cert) in match()
84 …public static Collection<? extends Certificate> getCertificates(final PKIXCertStoreSelector select… in getCertificates()
132 public boolean match(Certificate certificate) in match()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/
DPKIXCertStoreSelector.java8 import java.security.cert.Certificate;
20 public class PKIXCertStoreSelector<T extends Certificate>
46 public PKIXCertStoreSelector<? extends Certificate> build() in build()
64 public Certificate getCertificate() in getCertificate()
74 public boolean match(Certificate cert) in match()
84 …public static Collection<? extends Certificate> getCertificates(final PKIXCertStoreSelector select… in getCertificates()
132 public boolean match(Certificate certificate) in match()
/external/libbrillo/brillo/http/
Dhttp_transport.cc29 base::FilePath Transport::CertificateToPath(Transport::Certificate cert) { in CertificateToPath()
32 case Certificate::kDefault: in CertificateToPath()
40 case Certificate::kHermesProd: in CertificateToPath()
43 case Certificate::kHermesTest: in CertificateToPath()
46 case Certificate::kNss: in CertificateToPath()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DCertificateChainCleaner.java21 import java.security.cert.Certificate;
61 public List<Certificate> clean(List<Certificate> chain) throws SSLPeerUnverifiedException { in clean()
62 Deque<Certificate> queue = new ArrayDeque<>(chain); in clean()
63 List<Certificate> result = new ArrayList<>(); in clean()
88 for (Iterator<Certificate> i = queue.iterator(); i.hasNext(); ) { in clean()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DCertificateChainCleaner.java20 import java.security.cert.Certificate;
59 public List<Certificate> clean(List<Certificate> chain) throws SSLPeerUnverifiedException { in clean()
60 Deque<Certificate> queue = new ArrayDeque<>(chain); in clean()
61 List<Certificate> result = new ArrayList<>(); in clean()
86 for (Iterator<Certificate> i = queue.iterator(); i.hasNext(); ) { in clean()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509CertificateHolder.java17 import org.bouncycastle.asn1.x509.Certificate;
34 private transient Certificate x509Certificate;
37 private static Certificate parseBytes(byte[] certEncoding) in parseBytes()
42 return Certificate.getInstance(CertUtils.parseNonEmptyASN1(certEncoding)); in parseBytes()
71 public X509CertificateHolder(Certificate x509Certificate) in X509CertificateHolder()
76 private void init(Certificate x509Certificate) in init()
230 public Certificate toASN1Structure() in toASN1Structure()
342 init(Certificate.getInstance(in.readObject())); in readObject()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/jar/
DJarArchiveEntry.java21 import java.security.cert.Certificate;
37 private final Certificate[] certificates = null;
76 public Certificate[] getCertificates() { in getCertificates()
78 final Certificate[] certs = new Certificate[certificates.length]; in getCertificates()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java19 import java.security.cert.Certificate;
113 Certificate[] certChain;
118 Certificate obj) in StoreEntry()
129 Certificate[] certChain) in StoreEntry()
141 Certificate[] certChain) in StoreEntry()
191 Certificate[] certChain) in StoreEntry()
334 Certificate[] getCertificateChain() in getCertificateChain()
346 Certificate cert, in encodeCertificate()
364 private Certificate decodeCertificate( in decodeCertificate()
522 public Certificate engineGetCertificate( in engineGetCertificate()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java20 import java.security.cert.Certificate;
117 Certificate[] certChain;
122 Certificate obj) in StoreEntry()
133 Certificate[] certChain) in StoreEntry()
145 Certificate[] certChain) in StoreEntry()
195 Certificate[] certChain) in StoreEntry()
338 Certificate[] getCertificateChain() in getCertificateChain()
350 Certificate cert, in encodeCertificate()
368 private Certificate decodeCertificate( in decodeCertificate()
526 public Certificate engineGetCertificate( in engineGetCertificate()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java20 import java.security.cert.Certificate;
117 Certificate[] certChain;
122 Certificate obj) in StoreEntry()
133 Certificate[] certChain) in StoreEntry()
145 Certificate[] certChain) in StoreEntry()
195 Certificate[] certChain) in StoreEntry()
338 Certificate[] getCertificateChain() in getCertificateChain()
350 Certificate cert, in encodeCertificate()
368 private Certificate decodeCertificate( in decodeCertificate()
526 public Certificate engineGetCertificate( in engineGetCertificate()
[all …]
/external/rust/crates/x509-cert/tests/
Dpkix_extensions.rs11 use x509_cert::{Certificate, Version};
155 let result = Certificate::from_der(der_encoded_cert); in decode_cert()
156 let cert: Certificate = result.unwrap(); in decode_cert()
482 let result = Certificate::from_der(der_encoded_cert); in decode_cert()
483 let cert: Certificate = result.unwrap(); in decode_cert()
667 let result = Certificate::from_der(der_encoded_cert); in decode_cert()
668 let cert: Certificate = result.unwrap(); in decode_cert()
674 let result = Certificate::from_der(der_encoded_cert); in decode_cert()
675 let cert: Certificate = result.unwrap(); in decode_cert()
681 let result = Certificate::from_der(der_encoded_cert); in decode_cert()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DFakeSSLSession.java20 import java.security.cert.Certificate;
27 private final Certificate[] certificates;
29 public FakeSSLSession(Certificate... certificates) throws Exception { in FakeSSLSession()
53 public Certificate[] getLocalCertificates() { in getLocalCertificates()
65 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException { in getPeerCertificates()

12345678910>>...56