Home
last modified time | relevance | path

Searched refs:signatureAlgorithm (Results 1 – 6 of 6) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java60 String signatureAlgorithm; in createCertificate() local
62 signatureAlgorithm = "SHA256withRSA"; in createCertificate()
64 signatureAlgorithm = "SHA256withECDSA"; in createCertificate()
72 new JcaContentSignerBuilder(signatureAlgorithm) in createCertificate()
/cts/tests/tests/keystore/src/android/keystore/cts/
DSignatureTest.java1065 String signatureAlgorithm, in assertInitVerifySucceeds() argument
1067 int[] resIds = getDefaultKeyAndCertResIds(signatureAlgorithm); in assertInitVerifySucceeds()
1069 signatureAlgorithm, in assertInitVerifySucceeds()
1076 String signatureAlgorithm, in assertInitVerifySucceeds() argument
1084 Signature signature = Signature.getInstance(signatureAlgorithm, EXPECTED_PROVIDER_NAME); in assertInitVerifySucceeds()
1089 String signatureAlgorithm, in assertInitSignSucceeds() argument
1091 int[] resIds = getDefaultKeyAndCertResIds(signatureAlgorithm); in assertInitSignSucceeds()
1093 signatureAlgorithm, in assertInitSignSucceeds()
1100 String signatureAlgorithm, in assertInitSignSucceeds() argument
1108 Signature signature = Signature.getInstance(signatureAlgorithm, EXPECTED_PROVIDER_NAME); in assertInitSignSucceeds()
[all …]
DECDSASignatureTest.java113 private Collection<ImportedKey> importKatKeyPairs(String signatureAlgorithm) in importKatKeyPairs() argument
116 TestUtils.getMinimalWorkingImportParametersForSigningingWith(signatureAlgorithm); in importKatKeyPairs()
DRSASignatureTest.java150 private Collection<ImportedKey> importKatKeyPairs(String signatureAlgorithm) in importKatKeyPairs() argument
153 TestUtils.getMinimalWorkingImportParametersForSigningingWith(signatureAlgorithm); in importKatKeyPairs()
DTestUtils.java866 String signatureAlgorithm) { in getMinimalWorkingImportParametersForSigningingWith() argument
867 String keyAlgorithm = getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
868 String digest = getSignatureAlgorithmDigest(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
874 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
881 "Unsupported signature algorithm: " + signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java76 public final String signatureAlgorithm; field in KeyManagementTest.SupportedKeyAlgorithm
80 String keyAlgorithm, String signatureAlgorithm, in SupportedKeyAlgorithm() argument
83 this.signatureAlgorithm = signatureAlgorithm; in SupportedKeyAlgorithm()
441 String keyAlgorithm, String signatureAlgorithm, in generateKeyAndCheckAttestation() argument
492 verifySignatureOverData(signatureAlgorithm, keyPair); in generateKeyAndCheckAttestation()
521 supportedKey.signatureAlgorithm, in testCanGenerateKeyPairWithKeyAttestation()
535 supportedKey.signatureAlgorithm, in testCanGenerateKeyPairWithKeyAttestationUsingStrongBox()
587 supportedKey.keyAlgorithm, supportedKey.signatureAlgorithm, in assertAllVariantsOfDeviceIdAttestation()
646 supportedKey.signatureAlgorithm, in testProfileOwnerCannotAttestDeviceUniqueIds()