Home
last modified time | relevance | path

Searched refs:getPublicKey (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DImsiEncryptionInfoTest.java72 assertEquals(publicKey, info.getPublicKey()); in testParcel()
80 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey()
/cts/tests/tests/identity/src/android/security/identity/cts/
DDynamicAuthTest.java150 key0Cert.verify(certChain.iterator().next().getPublicKey()); in dynamicAuthTest()
173 key4Cert.verify(certChain.iterator().next().getPublicKey()); in dynamicAuthTest()
270 key0Cert.getPublicKey(), in dynamicAuthTest()
309 key4Cert.getPublicKey(), in dynamicAuthTest()
444 keyNewCert.getPublicKey(), in dynamicAuthTest()
DAttestationTest.java148 cert.verify(parent.getPublicKey());
DX509CertificateSigningTest.java111 cert.getPublicKey().getEncoded()); in testSigning()
DProvisioningTest.java271 certificateChain.iterator().next().getPublicKey())); in createCredentialWithChallengeAndAcpId()
439 certificateChain.iterator().next().getPublicKey())); in deleteCredential()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1130 final PublicKey pubKey = keyEntry.getCertificate().getPublicKey(); in assertPrivateKeyEntryEquals()
1867 PublicKey pubKey = privEntry.getCertificate().getPublicKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()
1916 PublicKey publicKey = ks.getCertificate(alias).getPublicKey(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1947 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_2).getPublicKey(); in testKeyStore_PrivateKeyEntry_RSA_PublicKeyWorksWithCrypto()
1967 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_1).getPublicKey(); in testKeyStore_PrivateKeyEntry_EC_PublicKeyWorksWithCrypto()
1978 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_2).getPublicKey(); in testKeyStore_TrustedCertificateEntry_RSA_PublicKeyWorksWithCrypto()
1992 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_1).getPublicKey(); in testKeyStore_TrustedCertificateEntry_EC_PublicKeyWorksWithCrypto()
2084 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2093 sig.initVerify(cert2.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2182 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_EC()
[all …]
DTestUtils.java181 PublicKey keystorePublicKey = cert.getPublicKey(); in assertKeyStoreKeyPair()
187 keystorePublicKey.getAlgorithm(), x509Cert.getPublicKey().getAlgorithm()); in assertKeyStoreKeyPair()
434 keyStore.getCertificate(alias).getPublicKey(), in importIntoAndroidKeyStore()
454 PublicKey originalPublicKey = originalCert.getPublicKey(); in importIntoAndroidKeyStore()
474 new KeyPair(originalCert.getPublicKey(), originalPrivateKey), in importIntoAndroidKeyStore()
DKeyFactoryTest.java432 PublicKey key = TestUtils.getRawResX509Certificate(getContext(), resId).getPublicKey(); in testGeneratePublicRejectsTransparentKeySpec()
DKeyAttestationTest.java1183 PublicKey pubKey = certChain[i].getPublicKey(); in verifyCertificateChain()
1218 + certChain[i - 1] + " with public key " + certChain[i].getPublicKey(), e); in verifyCertificateChain()
DKeyPairGeneratorTest.java1650 certificate.verify(certificate.getPublicKey()); in assertSelfSignedCertificateSignatureVerifies()
1672 assertEquals(keyPair.getPublic(), cert.getPublicKey()); in assertGeneratedKeyPairAndSelfSignedCertificate()
DKeyStoreTest.java2518 assertNotNull(cert.getPublicKey()); in test_KeyStore_cacerts()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java173 certChain.get(i - 1).verify(certChain.get(i).getPublicKey()); in loadCertificateChain()
411 PublicKey keyFromCert = leaf.getPublicKey(); in validateSignatureChain()
416 PublicKey intermediateKey = intermediate.getPublicKey(); in validateSignatureChain()
422 PublicKey rootKey = leaf.getPublicKey(); in validateSignatureChain()
/cts/tests/tests/net/src/org/apache/http/conn/ssl/cts/
DAbstractVerifierTest.java213 public PublicKey getPublicKey() { in createStubCertificate() method in AbstractVerifierTest
/cts/tests/tests/net/src/android/net/http/cts/
DSslCertificateTest.java150 public PublicKey getPublicKey() { in getPublicKey() method in SslCertificateTest.MockX509Certificate