| /cts/tests/tests/keystore/src/android/keystore/cts/ |
| D | RSACipherTest.java | 69 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local 103 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local 132 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local 161 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local 192 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() local 257 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingWithZeroMessage() local
|
| D | SignatureTest.java | 590 PublicKey publicKey = key.getOriginalKeyPair().getPublic(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() local 1131 PublicKey publicKey = TestUtils.importIntoAndroidKeyStore( in assertInitVerifySucceeds() local 1235 PublicKey publicKey, in assertSignatureVerifiesOneShot() 1244 PublicKey publicKey, in assertSignatureVerifiesOneShot() 1262 PublicKey publicKey, in assertSignatureDoesNotVerifyOneShot() 1280 PublicKey publicKey, in assertSignatureVerifiesFedOneByteAtATime() 1320 PublicKey publicKey, in assertSignatureVerifiesFedUsingFixedSizeChunks()
|
| D | RSASignatureTest.java | 76 PublicKey publicKey = keyPair.getKeystoreBackedKeyPair().getPublic(); in testMaxMessageSizeWhenNoDigestUsed() local
|
| D | Curve25519Test.java | 127 EdECPublicKey publicKey = (EdECPublicKey) kp.getPublic(); in ed25519KeyGenerationAndSigningTest() local
|
| D | KeyFactoryTest.java | 239 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec() local 260 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
|
| D | AndroidKeyStoreTest.java | 2029 PublicKey publicKey = ks.getCertificate(alias).getPublicKey(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local 2061 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias2()).getPublicKey(); in testKeyStore_PrivateKeyEntry_RSA_PublicKeyWorksWithCrypto() local 2082 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias1()).getPublicKey(); in testKeyStore_PrivateKeyEntry_EC_PublicKeyWorksWithCrypto() local 2094 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias2()).getPublicKey(); in testKeyStore_TrustedCertificateEntry_RSA_PublicKeyWorksWithCrypto() local 2109 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias1()).getPublicKey(); in testKeyStore_TrustedCertificateEntry_EC_PublicKeyWorksWithCrypto() local
|
| D | ImportWrappedKeyTest.java | 321 public byte[] wrapKey(PublicKey publicKey, byte[] keyMaterial, byte[] mask, in wrapKey()
|
| /cts/tests/tests/telephony/current/src/android/telephony/cts/ |
| D | ImsiEncryptionInfoTest.java | 57 PublicKey publicKey = createPublicKey(TEST_CERT); in testParcel() local
|
| /cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
| D | PreSelectedKeyAccessTest.java | 57 PublicKey publicKey = certs[0].getPublicKey(); in testAccessingPreSelectedAliasExpectingSuccess() local
|
| /cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
| D | CredentialManagementAppTest.java | 379 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature()
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
| D | CredentialManagementAppActivity.java | 304 PublicKey publicKey = certChain[0].getPublicKey(); in getPublicKeyAndVerifySignature() local
|
| /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
| D | KeyManagementTest.java | 204 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature()
|
| /cts/tests/tests/keystore/src/android/keystore/cts/util/ |
| D | TestUtils.java | 218 public static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent()
|