Home
last modified time | relevance | path

Searched refs:getKeystoreBackedKeyPair (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DRSACipherTest.java83 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
84 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
117 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus()
118 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus()
146 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus()
175 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus()
206 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus()
239 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus()
271 PublicKey publicKey = key.getKeystoreBackedKeyPair().getPublic(); in testNoPaddingWithZeroMessage()
272 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingWithZeroMessage()
DRSASignatureTest.java76 PublicKey publicKey = keyPair.getKeystoreBackedKeyPair().getPublic(); in testMaxMessageSizeWhenNoDigestUsed()
77 PrivateKey privateKey = keyPair.getKeystoreBackedKeyPair().getPrivate(); in testMaxMessageSizeWhenNoDigestUsed()
147 .getKeystoreBackedKeyPair(); in testSmallKeyRejected()
DSignatureTest.java398 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning()
415 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying()
436 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testValidSignatureGeneratedForEmptyMessage()
467 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testValidSignatureGeneratedForEmptyMessageByLimitedUseKey()
523 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testEmptySignatureDoesNotVerify()
547 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
580 PrivateKey keystorePrivateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
643 PublicKey keystorePublicKey = key.getKeystoreBackedKeyPair().getPublic(); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
666 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testSmallMsgKat()
764 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testLongMsgKat()
[all …]
DCurve25519Test.java139 secondKa.init(importedKey.getKeystoreBackedKeyPair().getPrivate()); in x25519KeyImportAndAgreementTest()
147 firstKa.doPhase(importedKey.getKeystoreBackedKeyPair().getPublic(), true); in x25519KeyImportAndAgreementTest()
DECDSASignatureTest.java72 assertNONEwithECDSATruncatesInputToFieldSize(key.getKeystoreBackedKeyPair()); in testNONEwithECDSATruncatesInputToFieldSize()
124 key.getKeystoreBackedKeyPair()); in testNONEwithECDSASupportsMessagesShorterThanFieldSize()
DKeyAgreementTest.java122 KeyPair keyPair = importedKey.getKeystoreBackedKeyPair(); in testGenerateSecret_withImportedKey()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DImportedKey.java124 public KeyPair getKeystoreBackedKeyPair() { in getKeystoreBackedKeyPair() method in ImportedKey