Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiEnterpriseConfigTest.java485 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local
489 config.setCaCertificate(cert1); in testSettersAndGetters()
490 assertTrue(config.getCaCertificate().getSerialNumber().equals(cert1.getSerialNumber())); in testSettersAndGetters()
491 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()
493 assertTrue(cert1.getSerialNumber().equals(certs[0].getSerialNumber())); in testSettersAndGetters()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2046 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local
2065 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_RSA()
2106 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2145 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local
2163 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_EC()
2204 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()