Home
last modified time | relevance | path

Searched defs:keyPair (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DECDSASignatureTest.java43 private void assertNONEwithECDSATruncatesInputToFieldSize(KeyPair keyPair) in assertNONEwithECDSATruncatesInputToFieldSize()
85 private void assertNONEwithECDSASupportsMessagesShorterThanFieldSize(KeyPair keyPair) in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
DKeyFactoryTest.java119 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local
161 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo() local
189 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePrivateKeyRejectsTransparentKeySpecAndEncodedKeySpec() local
214 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec() local
234 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
295 KeyPair keyPair = keyGenerator.generateKeyPair(); in testTranslateKeyAcceptsAndroidKeystoreKeys() local
454 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGeneratePrivateAndPublicRejectKeyInfo() local
DKeyPairGeneratorTest.java218 KeyPair keyPair = generator.generateKeyPair(); in testDefaultKeySize() local
325 KeyPair keyPair = generator.generateKeyPair(); in testGenerateHonorsRequestedAuthorizations() local
380 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec() local
519 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_LegacySpec() local
692 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_Defaults() local
727 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_Defaults() local
781 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
850 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local
907 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_UsableForTLSPeerAuth() local
942 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_UsableForTLSPeerAuth() local
[all …]
DSignatureTest.java370 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() local
386 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying() local
406 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testValidSignatureGeneratedForEmptyMessage() local
435 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testEmptySignatureDoesNotVerify() local
458 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() local
582 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in DISABLED_testEntropyConsumption() local
630 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testSmallMsgKat() local
726 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testLongMsgKat() local
DKeyInfoTest.java57 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues() local
DRSASignatureTest.java124 KeyPair keyPair = TestUtils.importIntoAndroidKeyStore("test1", in testSmallKeyRejected() local
DTestUtils.java80 static void assertKeyPairSelfConsistent(KeyPair keyPair) { in assertKeyPairSelfConsistent()
127 static void assertKeySize(int expectedSizeBits, KeyPair keyPair) { in assertKeySize()
136 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { in assertKeyStoreKeyPair()