Home
last modified time | relevance | path

Searched defs:keyPair (Results 1 – 11 of 11) 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.java219 KeyPair keyPair = generator.generateKeyPair(); in testDefaultKeySize() local
326 KeyPair keyPair = generator.generateKeyPair(); in testGenerateHonorsRequestedAuthorizations() local
381 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec() local
520 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_LegacySpec() local
693 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_Defaults() local
728 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_Defaults() local
783 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
853 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local
910 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_UsableForTLSPeerAuth() local
945 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
581 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testEntropyConsumption() local
629 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testSmallMsgKat() local
725 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.java99 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()
/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java36 KeyPair keyPair, X500Principal subject, X500Principal issuer) throws Exception { in createCertificate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java77 void onKeyPairGenerated(AttestedKeyPair keyPair); in onKeyPairGenerated()
125 public void onKeyPairGenerated(AttestedKeyPair keyPair) { in onKeyPairGenerated()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java291 void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData()
433 final KeyPair keyPair = generated.getKeyPair(); in generateKeyAndCheckAttestation() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java491 final KeyPair keyPair = generator.generateKeyPair(); in generateKey() local