/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertificateTest.java | 28 import java.security.cert.Certificate; 66 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCode() 67 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCode() 77 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCodeEqualsObject() 78 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCodeEqualsObject() 89 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testGetType() 98 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testEqualsObject01() 108 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testEqualsObject02() 109 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); in testEqualsObject02() 118 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testEqualsObject03() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Handshake.java | 21 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/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
D | PairingContext.java | 24 import java.security.cert.Certificate; 36 private Certificate mLocalCertificate; 41 private Certificate mPeerCertificate; 67 public PairingContext(Certificate localCertificate, in PairingContext() 68 Certificate peerCertificate, InputStream peerInputStream, in PairingContext() 88 Certificate localCert = PoloUtil.getLocalCert(socket.getSession()); in fromSslSocket() 89 Certificate peerCert = PoloUtil.getPeerCert(socket.getSession()); in fromSslSocket() 95 public void setLocalCertificate(Certificate localCertificate) { in setLocalCertificate() 99 public Certificate getClientCertificate() { in getClientCertificate() 107 public void setPeerCertificate(Certificate peerCertificate) { in setPeerCertificate() [all …]
|
D | PoloUtil.java | 22 import java.security.cert.Certificate; 39 public static Certificate getPeerCert(SSLSession session) in getPeerCert() 43 Certificate[] certs = session.getPeerCertificates(); in getPeerCert() 60 public static Certificate getLocalCert(SSLSession session) in getLocalCert() 62 Certificate[] certs = session.getLocalCertificates(); in getLocalCert()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore3Test.java | 38 import java.security.cert.Certificate; 52 private Certificate certificate; 113 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[] { certificate }); in test_setKeyEntry_key_is_null() 128 new Certificate[0]); in test_setKeyEntry_key_is_private() 134 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[] { certificate }); in test_setKeyEntry_key_is_private() 142 new Certificate[0]); in test_setKeyEntry_key_is_public() 143 mockKeyStore.setKeyEntry("Alias3", key, null, new Certificate[] { certificate }); in test_setKeyEntry_key_is_public() 212 public Certificate engineGetCertificate(String arg0) { in engineGetCertificate() 216 public String engineGetCertificateAlias(Certificate arg0) { in engineGetCertificateAlias() 220 public Certificate[] engineGetCertificateChain(String arg0) { in engineGetCertificateChain() [all …]
|
D | KSPrivateKeyEntryTest.java | 25 import java.security.cert.Certificate; 50 private Certificate[] testChain; 54 testChain = new Certificate[5]; in createParams() 70 Certificate[] certs = new MyCertificate[1];//new Certificate[1]; in testPrivateKeyEntry01() 86 Certificate[] chain = null; in testPrivateKeyEntry02() 94 chain = new Certificate[0]; in testPrivateKeyEntry02() 151 Certificate[] res = ksPKE.getCertificateChain(); in testGetCertificateChain() 167 Certificate res = ksPKE.getCertificate(); in testGetCertificate()
|
D | KSTrustedCertificateEntryTest.java | 25 import java.security.cert.Certificate; 43 Certificate cert = null; in testTrustedCertificateEntry() 56 Certificate cert = new MyCertificate("TEST", new byte[10]); in testGetTrustedCertificate() 67 Certificate cert = new MyCertificate("TEST", new byte[10]); in testToString()
|
D | KeyStorePrivateKeyEntryTest.java | 26 import java.security.cert.Certificate; 62 Certificate certificate = cf.generateCertificate(certArray); in testGetCertificateChain() 74 privateKey, new Certificate[] { certificate }); in testGetCertificateChain() 75 Certificate[] chain = privateKeyEntry.getCertificateChain(); in testGetCertificateChain()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | Certificate.java | 21 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/ |
D | DelegatingSSLSession.java | 20 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/ |
D | Support_DummyPKCS12Keystore.java | 28 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/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | MyKeyStoreSpi.java | 33 import java.security.cert.Certificate; 49 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain() 53 public Certificate engineGetCertificate(String alias) { in engineGetCertificate() 62 Certificate[] chain) throws KeyStoreException { in engineSetKeyEntry() 67 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) in engineSetKeyEntry() 73 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry() 104 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
|
D | MyKeyStore.java | 34 import java.security.cert.Certificate; 69 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain() 71 return (Certificate[]) Chain.get(alias); in engineGetCertificateChain() 76 public Certificate engineGetCertificate(String alias) { in engineGetCertificate() 78 return (Certificate) Cert.get(alias); in engineGetCertificate() 91 Certificate[] chain) throws KeyStoreException { in engineSetKeyEntry() 102 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) in engineSetKeyEntry() 123 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry() 172 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
|
D | TestCertUtils.java | 62 public static Certificate getCert() { in getCert() 74 public static Certificate[] getCertChain() { in getCertChain() 75 Certificate[] chain = { new TestCertificate(), new TestCertificate(), in getCertChain() 103 Certificate[] certs = new Certificate[howMany]; in genCertPath() 153 private Certificate[] certs; 174 public TestCertPath(Certificate[] certs) { in TestCertPath() 254 certs = new Certificate[count]; in readObject() 256 certs[i] = (Certificate) in.readObject(); in readObject() 298 public static class TestCertificate extends Certificate implements 606 public Certificate engineGenerateCertificate(InputStream is) in engineGenerateCertificate() [all …]
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
D | TrustedCertificateKeyStoreSpi.java | 23 import java.security.cert.Certificate; 44 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain() 52 public Certificate engineGetCertificate(String alias) { in engineGetCertificate() 63 String alias, Key key, char[] password, Certificate[] chain) { in engineSetKeyEntry() 68 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) { in engineSetKeyEntry() 73 public void engineSetCertificateEntry(String alias, Certificate cert) { in engineSetCertificateEntry() 114 public String engineGetCertificateAlias(Certificate c) { in engineGetCertificateAlias()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/ |
D | BcKeyStoreSpi.java | 22 import java.security.cert.Certificate; 107 Certificate[] certChain; 112 Certificate obj) in StoreEntry() 123 Certificate[] certChain) in StoreEntry() 135 Certificate[] certChain) in StoreEntry() 186 Certificate[] certChain) in StoreEntry() 329 Certificate[] getCertificateChain() in getCertificateChain() 341 Certificate cert, in encodeCertificate() 359 private Certificate decodeCertificate( in decodeCertificate() 517 public Certificate engineGetCertificate( in engineGetCertificate() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
D | PKIXCertStoreSelector.java | 7 import java.security.cert.Certificate; 18 public class PKIXCertStoreSelector<T extends Certificate> 43 public PKIXCertStoreSelector<? extends Certificate> build() in build() 56 public boolean match(Certificate cert) in match() 66 …public static Collection<? extends Certificate> getCertificates(final PKIXCertStoreSelector select… in getCertificates() 114 public boolean match(Certificate certificate) in match()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | FakeSSLSession.java | 20 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()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/ |
D | CertificateTest.java | 26 import java.security.cert.Certificate; 50 Certificate cert = cf.generateCertificate(new ByteArrayInputStream( in testSerializationSelf() 63 Certificate cert = cf.generateCertificate(new ByteArrayInputStream( in testSerializationCompatibility() 77 Certificate c1 = new MyCertificate("DUMMY", new byte[] { (byte) 0, (byte) 1 }); in testCertificateRep_readResolve() 93 Certificate c1 = new MyCertificate("DUMMY", null); in testWriteReplace()
|
/external/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 37 func (ka *rsaKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello… 101 func (ka *rsaKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientK… 139 …, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKey… 143 …entKeyExchange(config *Config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clie… 346 …signParameters(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloM… argument 347 …, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, params []byte,… argument 354 func (ka *nilKeyAgreementAuthentication) signParameters(config *Config, cert *Certificate, clientHe… 360 …, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, params []byte,… 389 func (ka *signedKeyAgreement) signParameters(config *Config, cert *Certificate, clientHello *client… 459 …, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, params []byte,… [all …]
|
D | common.go | 189 PeerCertificates []*x509.Certificate // certificate chain presented by remote peer 190 VerifiedChains [][]*x509.Certificate // verified chains built from PeerCertificates 219 serverCertificates []*x509.Certificate // Certificate chain presented by the server 269 Certificates []Certificate 277 NameToCertificate map[string]*Certificate 901 func (c *Config) getCertificateForName(name string) *Certificate { 949 c.NameToCertificate = make(map[string]*Certificate) 952 x509Cert, err := x509.ParseCertificate(cert.Certificate[0]) 966 type Certificate struct { struct 967 Certificate [][]byte member [all …]
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | RecordedRequest.java | 22 import java.security.cert.Certificate; 46 private final Certificate[] sslLocalCertificates; 47 private final Certificate[] sslPeerCertificates; 66 Certificate[] peerCertificates = null; in RecordedRequest() 216 public Certificate[] getSslLocalCertificates() { in getSslLocalCertificates() 234 public Certificate[] getSslPeerCertificates() { in getSslPeerCertificates()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | CertificateFactory.java | 25 import org.bouncycastle.asn1.x509.Certificate; 53 private java.security.cert.Certificate readDERCertificate( in readDERCertificate() 72 Certificate.getInstance(seq)); in readDERCertificate() 75 private java.security.cert.Certificate getCertificate() in getCertificate() 87 Certificate.getInstance(obj)); in getCertificate() 95 private java.security.cert.Certificate readPEMCertificate( in readPEMCertificate() 104 Certificate.getInstance(seq)); in readPEMCertificate() 170 public java.security.cert.Certificate engineGenerateCertificate( in engineGenerateCertificate() 236 java.security.cert.Certificate cert; in engineGenerateCertificates()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
D | X509CertificateHolder.java | 15 import org.bouncycastle.asn1.x509.Certificate; 30 private Certificate x509Certificate; 33 private static Certificate parseBytes(byte[] certEncoding) in parseBytes() 38 return Certificate.getInstance(ASN1Primitive.fromByteArray(certEncoding)); in parseBytes() 67 public X509CertificateHolder(Certificate x509Certificate) in X509CertificateHolder() 221 public Certificate toASN1Structure() in toASN1Structure()
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | TransactionExt.java | 4 import java.security.cert.Certificate; 61 Certificate[] getLocalCertificates() throws UnsupportedOperationException; in getLocalCertificates() 68 Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException; in getPeerCertificates()
|