/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyFactoryTest.java | 119 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
|
D | ECDSASignatureTest.java | 43 private void assertNONEwithECDSATruncatesInputToFieldSize(KeyPair keyPair) in assertNONEwithECDSATruncatesInputToFieldSize() 91 private void assertNONEwithECDSASupportsMessagesShorterThanFieldSize(KeyPair keyPair) in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
|
D | KeyPairGeneratorTest.java | 224 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 …]
|
D | KeyInfoTest.java | 60 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues() local 128 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testLimitedUseKey() local
|
D | SignatureTest.java | 375 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
|
D | RSASignatureTest.java | 125 KeyPair keyPair = TestUtils.importIntoAndroidKeyStore("test1", in testSmallKeyRejected() local
|
D | TestUtils.java | 154 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/ |
D | UtilUnitTests.java | 271 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
|
D | Util.java | 1286 KeyPair keyPair = kpg.generateKeyPair(); in createEphemeralKeyPair() local
|
/cts/tests/security/src/android/keystore/cts/ |
D | CertificateUtils.java | 36 KeyPair keyPair, X500Principal subject, X500Principal issuer) throws Exception { in createCertificate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | KeyChainTestActivity.java | 71 void onKeyPairGenerated(AttestedKeyPair keyPair); in onKeyPairGenerated() 119 public void onKeyPairGenerated(AttestedKeyPair keyPair) { in onKeyPairGenerated()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | SecurityLoggingDelegateTest.java | 94 final KeyPair keyPair = keyGen.generateKeyPair(); in testGenerateLogs() local
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 383 private void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 317 void verifySignatureOverData(String algoIdentifier, KeyPair keyPair) throws Exception { in verifySignatureOverData() 499 final KeyPair keyPair = generated.getKeyPair(); in generateKeyAndCheckAttestation() local
|
D | SecurityLoggingTest.java | 581 final KeyPair keyPair = generator.generateKeyPair(); in generateKey() local
|