Home
last modified time | relevance | path

Searched refs:signatureAlgorithm (Results 1 – 7 of 7) 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.java1120 String signatureAlgorithm, in assertInitVerifySucceeds() argument
1122 int[] resIds = getDefaultKeyAndCertResIds(signatureAlgorithm); in assertInitVerifySucceeds()
1124 signatureAlgorithm, in assertInitVerifySucceeds()
1131 String signatureAlgorithm, in assertInitVerifySucceeds() argument
1139 Signature signature = Signature.getInstance(signatureAlgorithm, EXPECTED_PROVIDER_NAME); in assertInitVerifySucceeds()
1144 String signatureAlgorithm, in assertInitSignSucceeds() argument
1146 int[] resIds = getDefaultKeyAndCertResIds(signatureAlgorithm); in assertInitSignSucceeds()
1148 signatureAlgorithm, in assertInitSignSucceeds()
1155 String signatureAlgorithm, in assertInitSignSucceeds() argument
1163 Signature signature = Signature.getInstance(signatureAlgorithm, EXPECTED_PROVIDER_NAME); in assertInitSignSucceeds()
[all …]
DDeviceOwnerKeyManagementTest.java104 public final String signatureAlgorithm; field in DeviceOwnerKeyManagementTest.SupportedKeyAlgorithm
108 String keyAlgorithm, String signatureAlgorithm, in SupportedKeyAlgorithm() argument
111 this.signatureAlgorithm = signatureAlgorithm; in SupportedKeyAlgorithm()
358 String keyAlgorithm, String signatureAlgorithm, in generateKeyAndCheckAttestation() argument
416 verifySignatureOverData(signatureAlgorithm, keyPair); in generateKeyAndCheckAttestation()
486 supportedKey.keyAlgorithm, supportedKey.signatureAlgorithm, in assertAllVariantsOfDeviceIdAttestation()
DRSASignatureTest.java168 private Collection<ImportedKey> importKatKeyPairs(String signatureAlgorithm) in importKatKeyPairs() argument
171 TestUtils.getMinimalWorkingImportParametersForSigningingWith(signatureAlgorithm); in importKatKeyPairs()
DECDSASignatureTest.java269 private Collection<ImportedKey> importKatKeyPairs(String signatureAlgorithm) in importKatKeyPairs() argument
272 TestUtils.getMinimalWorkingImportParametersForSigningingWith(signatureAlgorithm); in importKatKeyPairs()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java98 public final String signatureAlgorithm; field in KeyManagementTest.SupportedKeyAlgorithm
102 String keyAlgorithm, String signatureAlgorithm, in SupportedKeyAlgorithm() argument
105 this.signatureAlgorithm = signatureAlgorithm; in SupportedKeyAlgorithm()
340 String keyAlgorithm, String signatureAlgorithm, in generateKeyAndCheckAttestation() argument
391 verifySignatureOverData(signatureAlgorithm, keyPair); in generateKeyAndCheckAttestation()
424 supportedKey.signatureAlgorithm, in testCanGenerateKeyPairWithKeyAttestation()
439 supportedKey.signatureAlgorithm, in testCanGenerateKeyPairWithKeyAttestationUsingStrongBox()
495 supportedKey.keyAlgorithm, supportedKey.signatureAlgorithm, in assertAllVariantsOfDeviceIdAttestation()
555 supportedKey.signatureAlgorithm, in testProfileOwnerCannotAttestDeviceUniqueIds()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java1129 String signatureAlgorithm) { in getMinimalWorkingImportParametersForSigningingWith() argument
1130 String keyAlgorithm = getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
1131 String digest = getSignatureAlgorithmDigest(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
1137 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
1144 "Unsupported signature algorithm: " + signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
1149 String signatureAlgorithm, int maxUsageCount) { in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith() argument
1150 String keyAlgorithm = getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith()
1151 String digest = getSignatureAlgorithmDigest(signatureAlgorithm); in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith()
1158 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith()
1166 "Unsupported signature algorithm: " + signatureAlgorithm); in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith()