Searched defs:publicKey (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | RSACipherTest.java | 49 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
|
D | SignatureTest.java | 501 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()
|
D | RSASignatureTest.java | 60 PublicKey publicKey = keyPair.getKeystoreBackedKeyPair().getPublic(); in testMaxMessageSizeWhenNoDigestUsed() local
|
D | KeyFactoryTest.java | 215 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec() local 235 PublicKey publicKey = keyPair.getPublic(); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
|
D | AndroidKeyStoreTest.java | 1916 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
|
D | ImportWrappedKeyTest.java | 304 public byte[] wrapKey(PublicKey publicKey, byte[] keyMaterial, byte[] mask, in wrapKey()
|
D | TestUtils.java | 107 static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 292 void verifySignature(String algoIdentifier, PublicKey publicKey, byte[] signature) in verifySignature()
|