Home
last modified time | relevance | path

Searched refs:createCertFromPemFile (Results 1 – 11 of 11) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeCertPayloadTest.java49 mEndCertA = CertUtils.createCertFromPemFile("end-cert-a.pem"); in setUp()
52 CertUtils.createCertFromPemFile("self-signed-ca-a.pem"), in setUp()
55 mEndCertB = CertUtils.createCertFromPemFile("end-cert-b.pem"); in setUp()
56 mIntermediateCertBOne = CertUtils.createCertFromPemFile("intermediate-ca-b-one.pem"); in setUp()
57 mIntermediateCertBTwo = CertUtils.createCertFromPemFile("intermediate-ca-b-two.pem"); in setUp()
60 CertUtils.createCertFromPemFile("self-signed-ca-b.pem"), in setUp()
63 mEndCertSmall = CertUtils.createCertFromPemFile("end-cert-small.pem"); in setUp()
66 CertUtils.createCertFromPemFile("self-signed-ca-small.pem"), in setUp()
DIkeAuthDigitalSignPayloadTest.java140 X509Certificate endCertA = CertUtils.createCertFromPemFile("end-cert-a.pem"); in testSignAndEncodeWithAndroidKeyStoreKey()
191 X509Certificate cert = CertUtils.createCertFromPemFile("end-cert-small.pem"); in testVerifyInboundSignature()
210 X509Certificate cert = CertUtils.createCertFromPemFile("end-cert-a.pem"); in testVerifyInboundSignatureFail()
DIkeIdPayloadTest.java102 sEndCertWithSanDns = CertUtils.createCertFromPemFile("end-cert-a.pem"); in setUpBeforeClass()
103 sEndCertWithSanIp = CertUtils.createCertFromPemFile("end-cert-small.pem"); in setUpBeforeClass()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionDigitalSignatureTest.java141 sServerCaCert = CertUtils.createCertFromPemFile("server-a-self-signed-ca.pem"); in setUpCertsBeforeClass()
142 sClientEndCert = CertUtils.createCertFromPemFile("client-a-end-cert.pem"); in setUpCertsBeforeClass()
144 CertUtils.createCertFromPemFile("client-a-intermediate-ca-one.pem"); in setUpCertsBeforeClass()
146 CertUtils.createCertFromPemFile("client-a-intermediate-ca-two.pem"); in setUpCertsBeforeClass()
DIkeSessionParamsTest.java123 mServerCaCert = CertUtils.createCertFromPemFile("server-a-self-signed-ca.pem"); in setUp()
124 mClientEndCert = CertUtils.createCertFromPemFile("client-a-end-cert.pem"); in setUp()
126 CertUtils.createCertFromPemFile("client-a-intermediate-ca-one.pem"); in setUp()
128 CertUtils.createCertFromPemFile("client-a-intermediate-ca-two.pem"); in setUp()
DIkeSessionMschapV2Test.java145 sServerCaCert = CertUtils.createCertFromPemFile("server-a-self-signed-ca.pem"); in setUpCertBeforeClass()
/packages/modules/IPsec/tests/iketests/src/java/android/net/eap/
DEapSessionConfigTest.java157 X509Certificate trustedCa = CertUtils.createCertFromPemFile("self-signed-ca-a.pem"); in testBuildEapTtls()
173 X509Certificate trustedCa = CertUtils.createCertFromPemFile("self-signed-ca-a.pem"); in testEqualsEapTtls()
187 X509Certificate trustedCa = CertUtils.createCertFromPemFile("self-signed-ca-a.pem"); in testPersistableBundleEncodeDecodeEapTtls()
221 X509Certificate trustedCa = CertUtils.createCertFromPemFile("self-signed-ca-a.pem"); in testBuildEapTtls_invalidInnerConfig()
229 X509Certificate trustedCa = CertUtils.createCertFromPemFile("self-signed-ca-a.pem"); in testBuildEapTtls_missingInnerConfig()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java776 X509Certificate caCert = CertUtils.createCertFromPemFile("self-signed-ca-b.pem"); in testPersistableBundleEncodeDecodeAuthDigitalSignRemote()
788 X509Certificate caCert = CertUtils.createCertFromPemFile("self-signed-ca-b.pem"); in testEqualsAuthConfigDigitalSignRemote()
801 X509Certificate endCert = CertUtils.createCertFromPemFile("end-cert-b.pem"); in testPersistableBundleEncodeDecodeAuthDigitalSignLocal()
803 CertUtils.createCertFromPemFile("intermediate-ca-b-one.pem"); in testPersistableBundleEncodeDecodeAuthDigitalSignLocal()
805 CertUtils.createCertFromPemFile("intermediate-ca-b-two.pem"); in testPersistableBundleEncodeDecodeAuthDigitalSignLocal()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java43 public static X509Certificate createCertFromPemFile(String fileName) throws Exception { in createCertFromPemFile() method in CertUtils
/packages/modules/IPsec/tests/cts/src/android/eap/cts/
DEapSessionConfigTest.java70 mServerCaCert = CertUtils.createCertFromPemFile("server-a-self-signed-ca.pem"); in setUp()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java801 mRootCertificate = CertUtils.createCertFromPemFile("self-signed-ca-a.pem"); in setUp()
802 mServerEndCertificate = CertUtils.createCertFromPemFile("end-cert-a.pem"); in setUp()
803 mUserEndCert = CertUtils.createCertFromPemFile("end-cert-b.pem"); in setUp()