Searched defs:keyPair (Results 1 – 11 of 11) 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() local783 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local853 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local910 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_UsableForTLSPeerAuth() local945 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
99 static void assertKeyPairSelfConsistent(KeyPair keyPair) { in assertKeyPairSelfConsistent()146 static void assertKeySize(int expectedSizeBits, KeyPair keyPair) { in assertKeySize()155 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { in assertKeyStoreKeyPair()
36 KeyPair keyPair, X500Principal subject, X500Principal issuer) throws Exception { in createCertificate()
77 void onKeyPairGenerated(AttestedKeyPair keyPair); in onKeyPairGenerated()125 public void onKeyPairGenerated(AttestedKeyPair keyPair) { in onKeyPairGenerated()
291 void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData()433 final KeyPair keyPair = generated.getKeyPair(); in generateKeyAndCheckAttestation() local
491 final KeyPair keyPair = generator.generateKeyPair(); in generateKey() local