Searched refs:getPublicKey (Results 1 – 14 of 14) sorted by relevance
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ImsiEncryptionInfoTest.java | 72 assertEquals(publicKey, info.getPublicKey()); in testParcel() 80 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | DynamicAuthTest.java | 150 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()
|
D | AttestationTest.java | 148 cert.verify(parent.getPublicKey());
|
D | X509CertificateSigningTest.java | 111 cert.getPublicKey().getEncoded()); in testSigning()
|
D | ProvisioningTest.java | 271 certificateChain.iterator().next().getPublicKey())); in createCredentialWithChallengeAndAcpId() 439 certificateChain.iterator().next().getPublicKey())); in deleteCredential()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1130 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 …]
|
D | TestUtils.java | 181 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()
|
D | KeyFactoryTest.java | 432 PublicKey key = TestUtils.getRawResX509Certificate(getContext(), resId).getPublicKey(); in testGeneratePublicRejectsTransparentKeySpec()
|
D | KeyAttestationTest.java | 1183 PublicKey pubKey = certChain[i].getPublicKey(); in verifyCertificateChain() 1218 + certChain[i - 1] + " with public key " + certChain[i].getPublicKey(), e); in verifyCertificateChain()
|
D | KeyPairGeneratorTest.java | 1650 certificate.verify(certificate.getPublicKey()); in assertSelfSignedCertificateSignatureVerifies() 1672 assertEquals(keyPair.getPublic(), cert.getPublicKey()); in assertGeneratedKeyPairAndSelfSignedCertificate()
|
D | KeyStoreTest.java | 2518 assertNotNull(cert.getPublicKey()); in test_KeyStore_cacerts()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 173 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/ |
D | AbstractVerifierTest.java | 213 public PublicKey getPublicKey() { in createStubCertificate() method in AbstractVerifierTest
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | SslCertificateTest.java | 150 public PublicKey getPublicKey() { in getPublicKey() method in SslCertificateTest.MockX509Certificate
|