Home
last modified time | relevance | path

Searched defs:publicKey (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DRSACipherTest.java49 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local
82 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local
110 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local
138 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local
168 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() local
231 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingWithZeroMessage() local
DSignatureTest.java501 PublicKey publicKey = key.getOriginalKeyPair().getPublic(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() local
1080 PublicKey publicKey = TestUtils.importIntoAndroidKeyStore( in assertInitVerifySucceeds() local
1184 PublicKey publicKey, in assertSignatureVerifiesOneShot()
1193 PublicKey publicKey, in assertSignatureVerifiesOneShot()
1211 PublicKey publicKey, in assertSignatureDoesNotVerifyOneShot()
1229 PublicKey publicKey, in assertSignatureVerifiesFedOneByteAtATime()
1269 PublicKey publicKey, in assertSignatureVerifiesFedUsingFixedSizeChunks()
DRSASignatureTest.java60 PublicKey publicKey = keyPair.getKeystoreBackedKeyPair().getPublic(); in testMaxMessageSizeWhenNoDigestUsed() local
DKeyFactoryTest.java215 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec() local
235 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
DAndroidKeyStoreTest.java1916 PublicKey publicKey = ks.getCertificate(alias).getPublicKey(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
1947 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_2).getPublicKey(); in testKeyStore_PrivateKeyEntry_RSA_PublicKeyWorksWithCrypto() local
1967 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_1).getPublicKey(); in testKeyStore_PrivateKeyEntry_EC_PublicKeyWorksWithCrypto() local
1978 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_2).getPublicKey(); in testKeyStore_TrustedCertificateEntry_RSA_PublicKeyWorksWithCrypto() local
1992 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_1).getPublicKey(); in testKeyStore_TrustedCertificateEntry_EC_PublicKeyWorksWithCrypto() local
DImportWrappedKeyTest.java304 public byte[] wrapKey(PublicKey publicKey, byte[] keyMaterial, byte[] mask, in wrapKey()
DTestUtils.java107 static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java292 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature()