Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
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
DECDSASignatureTest.java43 private void assertNONEwithECDSATruncatesInputToFieldSize(KeyPair keyPair) in assertNONEwithECDSATruncatesInputToFieldSize()
91 private void assertNONEwithECDSASupportsMessagesShorterThanFieldSize(KeyPair keyPair) in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
DKeyPairGeneratorTest.java224 KeyPair keyPair = generator.generateKeyPair(); in testDefaultKeySize() local
339 KeyPair keyPair = generator.generateKeyPair(); in testGenerateHonorsRequestedAuthorizationsHelper() local
395 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec() local
534 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_LegacySpec() local
789 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_DefaultsHelper() local
832 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_DefaultsHelper() local
886 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_AsCustomAsPossible() local
956 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() local
1025 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() local
1114 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_ModernSpec_AsCustomAsPossibleStrongbox() local
[all …]
DKeyInfoTest.java60 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues() local
128 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testLimitedUseKey() local
DSignatureTest.java375 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() local
391 KeyPair keyPair = importDefaultKatKeyPair(sigAlgorithm).getKeystoreBackedKeyPair(); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying() local
411 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testValidSignatureGeneratedForEmptyMessage() local
441 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testValidSignatureGeneratedForEmptyMessageByLimitedUseKey() local
496 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testEmptySignatureDoesNotVerify() local
519 KeyPair keyPair = key.getKeystoreBackedKeyPair(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() local
635 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testSmallMsgKat() local
731 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testLongMsgKat() local
DRSASignatureTest.java125 KeyPair keyPair = TestUtils.importIntoAndroidKeyStore("test1", in testSmallKeyRejected() local
DTestUtils.java154 static void assertKeyPairSelfConsistent(KeyPair keyPair) { in assertKeyPairSelfConsistent()
201 static void assertKeySize(int expectedSizeBits, KeyPair keyPair) { in assertKeySize()
210 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { in assertKeyStoreKeyPair()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUtilUnitTests.java271 KeyPair keyPair = coseGenerateKeyPair(); in coseSignAndVerify() local
282 KeyPair keyPair = coseGenerateKeyPair(); in coseSignAndVerifyDetachedContent() local
293 KeyPair keyPair = coseGenerateKeyPair(); in coseSignAndVerifySingleCertificate() local
306 KeyPair keyPair = coseGenerateKeyPair(); in coseSignAndVerifyMultipleCertificates() local
DUtil.java1286 KeyPair keyPair = kpg.generateKeyPair(); in createEphemeralKeyPair() local
/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.java71 void onKeyPairGenerated(AttestedKeyPair keyPair); in onKeyPairGenerated()
119 public void onKeyPairGenerated(AttestedKeyPair keyPair) { in onKeyPairGenerated()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DSecurityLoggingDelegateTest.java94 final KeyPair keyPair = keyGen.generateKeyPair(); in testGenerateLogs() local
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCredentialManagementAppTest.java383 private void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java317 void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData()
499 final KeyPair keyPair = generated.getKeyPair(); in generateKeyAndCheckAttestation() local
DSecurityLoggingTest.java581 final KeyPair keyPair = generator.generateKeyPair(); in generateKey() local