Searched refs:getKeystoreBackedKeyPair (Results 1 – 7 of 7) sorted by relevance
83 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()
76 PublicKey publicKey = keyPair.getKeystoreBackedKeyPair().getPublic(); in testMaxMessageSizeWhenNoDigestUsed()77 PrivateKey privateKey = keyPair.getKeystoreBackedKeyPair().getPrivate(); in testMaxMessageSizeWhenNoDigestUsed()147 .getKeystoreBackedKeyPair(); in testSmallKeyRejected()
398 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 …]
139 secondKa.init(importedKey.getKeystoreBackedKeyPair().getPrivate()); in x25519KeyImportAndAgreementTest()147 firstKa.doPhase(importedKey.getKeystoreBackedKeyPair().getPublic(), true); in x25519KeyImportAndAgreementTest()
72 assertNONEwithECDSATruncatesInputToFieldSize(key.getKeystoreBackedKeyPair()); in testNONEwithECDSATruncatesInputToFieldSize()124 key.getKeystoreBackedKeyPair()); in testNONEwithECDSASupportsMessagesShorterThanFieldSize()
122 KeyPair keyPair = importedKey.getKeystoreBackedKeyPair(); in testGenerateSecret_withImportedKey()
124 public KeyPair getKeystoreBackedKeyPair() { in getKeystoreBackedKeyPair() method in ImportedKey