/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | RSACipherTest.java | 83 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local 117 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local 146 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local 175 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local 206 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() local 271 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingWithZeroMessage() local
|
D | SignatureTest.java | 591 PublicKey publicKey = key.getOriginalKeyPair().getPublic(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() local 1135 PublicKey publicKey = TestUtils.importIntoAndroidKeyStore( in assertInitVerifySucceeds() local 1239 PublicKey publicKey, in assertSignatureVerifiesOneShot() 1248 PublicKey publicKey, in assertSignatureVerifiesOneShot() 1266 PublicKey publicKey, in assertSignatureDoesNotVerifyOneShot() 1284 PublicKey publicKey, in assertSignatureVerifiesFedOneByteAtATime() 1324 PublicKey publicKey, in assertSignatureVerifiesFedUsingFixedSizeChunks()
|
D | RSASignatureTest.java | 76 PublicKey publicKey = keyPair.getKeystoreBackedKeyPair().getPublic(); in testMaxMessageSizeWhenNoDigestUsed() local
|
D | ImportWrappedKeyTest.java | 330 PublicKey publicKey = kp.getPublic(); in testKeyStore_ImportWrappedKey_RSA() local 409 PublicKey publicKey = kp.getPublic(); in testKeyStore_ImportWrappedKey_EC() local 467 public byte[] wrapKey(PublicKey publicKey, byte[] keyMaterial, byte[] mask, in wrapKey() 472 public byte[] wrapKey(PublicKey publicKey, byte[] keyMaterial, byte[] mask, in wrapKey()
|
D | KeyFactoryTest.java | 243 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec() local 264 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
|
D | Curve25519Test.java | 177 EdECPublicKey publicKey = (EdECPublicKey) kp.getPublic(); in ed25519KeyGenerationAndSigningTest() local
|
D | AndroidKeyStoreTest.java | 2041 PublicKey publicKey = ks.getCertificate(alias).getPublicKey(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local 2073 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias2()).getPublicKey(); in testKeyStore_PrivateKeyEntry_RSA_PublicKeyWorksWithCrypto() local 2094 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias1()).getPublicKey(); in testKeyStore_PrivateKeyEntry_EC_PublicKeyWorksWithCrypto() local 2106 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias2()).getPublicKey(); in testKeyStore_TrustedCertificateEntry_RSA_PublicKeyWorksWithCrypto() local 2121 PublicKey publicKey = mKeyStore.getCertificate(getTestAlias1()).getPublicKey(); in testKeyStore_TrustedCertificateEntry_EC_PublicKeyWorksWithCrypto() local
|
D | DeviceOwnerKeyManagementTest.java | 132 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature()
|
/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 | 181 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature()
|
/cts/tests/tests/keystore/src/android/keystore/cts/util/ |
D | TestUtils.java | 286 public static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 3335 PublicKey publicKey = certificate.getPublicKey(); in testInstallArchivedApi() local
|