Home
last modified time | relevance | path

Searched refs:endCert (Results 1 – 12 of 12) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeIdentification.java150 public abstract void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
162 X509Certificate endCert, int expectedSanType, Object expectedSanData) in validateEndCertSanOrThrow() argument
167 Collection<List<?>> allSans = endCert.getSubjectAlternativeNames(); in validateEndCertSanOrThrow()
DIkeRfc822AddrIdentification.java108 public void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
111 validateEndCertSanOrThrow(endCert, SAN_TYPE_RFC822_NAME, rfc822Name); in validateEndCertIdOrThrow()
DIkeFqdnIdentification.java113 public void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
116 validateEndCertSanOrThrow(endCert, SAN_TYPE_DNS, fqdn); in validateEndCertIdOrThrow()
DIkeIpv4AddrIdentification.java110 public void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
113 validateEndCertSanOrThrow(endCert, SAN_TYPE_IP_ADDRESS, ipv4Address.getHostAddress()); in validateEndCertIdOrThrow()
DIkeIpv6AddrIdentification.java111 public void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
114 validateEndCertSanOrThrow(endCert, SAN_TYPE_IP_ADDRESS, ipv6Address.getHostAddress()); in validateEndCertIdOrThrow()
DIkeDerAsn1DnIdentification.java123 public void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
125 if (!derAsn1Dn.equals(endCert.getSubjectX500Principal())) { in validateEndCertIdOrThrow()
DIkeKeyIdIdentification.java101 public void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
DIkeSessionParams.java1003 X509Certificate endCert = certificateFromByteArray(encodedCert); in fromPersistableBundle() local
1020 return new IkeAuthDigitalSignLocalConfig(endCert, certList, privateKey); in fromPersistableBundle()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayload.java129 public void validateEndCertIdOrThrow(X509Certificate endCert) in validateEndCertIdOrThrow() argument
131 ikeId.validateEndCertIdOrThrow(endCert); in validateEndCertIdOrThrow()
DIkeCertPayload.java126 X509Certificate endCert, in validateCertificates() argument
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java801 X509Certificate endCert = CertUtils.createCertFromPemFile("end-cert-b.pem"); in testPersistableBundleEncodeDecodeAuthDigitalSignLocal() local
810 endCert, Arrays.asList(intermediateCertOne, intermediateCertTwo), key)); in testPersistableBundleEncodeDecodeAuthDigitalSignLocal()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java4020 X509Certificate endCert = null; in authenticateDigitalSignature() local
4028 if (endCert == null) endCert = cert; in authenticateDigitalSignature()
4032 if (endCert == null) { in authenticateDigitalSignature()
4037 respIdPayload.validateEndCertIdOrThrow(endCert); in authenticateDigitalSignature()
4043 endCert, certList, null /*crlList*/, trustAnchorSet); in authenticateDigitalSignature()
4047 endCert, in authenticateDigitalSignature()