Home
last modified time | relevance | path

Searched refs:cert2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiEnterpriseConfigTest.java487 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local
491 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()
494 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2050 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local
2094 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_RSA()
2115 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2149 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local
2192 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_EC()
2213 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()