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.java733 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local
737 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()
740 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2029 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local
2072 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_RSA()
2093 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2127 Certificate cert2 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key2_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local
2170 new KeyStore.PrivateKeyEntry(privateKey2, new Certificate[] {cert2}), in testKeyStore_LargeNumberOfKeysSupported_EC()
2191 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()