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.java731 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() local
735 config.setCaCertificate(cert1); in testSettersAndGetters()
736 assertTrue(config.getCaCertificate().getSerialNumber().equals(cert1.getSerialNumber())); in testSettersAndGetters()
737 config.setCaCertificates(new X509Certificate[]{cert1, cert2}); in testSettersAndGetters()
739 assertTrue(cert1.getSerialNumber().equals(certs[0].getSerialNumber())); in testSettersAndGetters()
759 new X509Certificate[]{clientCert, cert1}); in testSettersAndGetters()
765 assertTrue(testClientCertChain[1] == cert1); in testSettersAndGetters()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2025 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.rsa_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_RSA() local
2044 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_RSA()
2084 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2123 Certificate cert1 = TestUtils.getRawResX509Certificate(getContext(), R.raw.ec_key1_cert); in testKeyStore_LargeNumberOfKeysSupported_EC() local
2141 new KeyStore.PrivateKeyEntry(privateKey1, new Certificate[] {cert1}), in testKeyStore_LargeNumberOfKeysSupported_EC()
2182 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()