Searched defs:keyPair (Results 1 – 7 of 7) sorted by relevance
43 private void assertNONEwithECDSATruncatesInputToFieldSize(KeyPair keyPair) in assertNONEwithECDSATruncatesInputToFieldSize()85 private void assertNONEwithECDSASupportsMessagesShorterThanFieldSize(KeyPair keyPair) in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
119 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local161 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo() local189 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePrivateKeyRejectsTransparentKeySpecAndEncodedKeySpec() local214 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec() local234 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local295 KeyPair keyPair = keyGenerator.generateKeyPair(); in testTranslateKeyAcceptsAndroidKeystoreKeys() local454 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGeneratePrivateAndPublicRejectKeyInfo() local
219 KeyPair keyPair = generator.generateKeyPair(); in testDefaultKeySize() local326 KeyPair keyPair = generator.generateKeyPair(); in testGenerateHonorsRequestedAuthorizations() local381 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec() local520 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_LegacySpec() local693 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_Defaults() local728 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_Defaults() local782 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local851 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local908 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_UsableForTLSPeerAuth() local943 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_UsableForTLSPeerAuth() local[all …]
370 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() local386 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying() local406 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testValidSignatureGeneratedForEmptyMessage() local435 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testEmptySignatureDoesNotVerify() local458 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() local581 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testEntropyConsumption() local629 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testSmallMsgKat() local725 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testLongMsgKat() local
57 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues() local
124 KeyPair keyPair = TestUtils.importIntoAndroidKeyStore("test1", in testSmallKeyRejected() local
80 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()