Home
last modified time | relevance | path

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

/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.java916 String signatureAlgorithm) { in getMinimalWorkingImportParametersForSigningingWith() argument
917 String keyAlgorithm = getSignatureAlgorithmKeyAlgorithm(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
918 String digest = getSignatureAlgorithmDigest(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
924 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
931 "Unsupported signature algorithm: " + signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith()
/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/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()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUtil.java875 byte[] signatureAlgorithm = new byte[]{ in signPublicKeyWithPrivateKey()
890 + signatureAlgorithm.length in signPublicKeyWithPrivateKey()
910 baos.write(signatureAlgorithm); in signPublicKeyWithPrivateKey()