Home
last modified time | relevance | path

Searched refs:digests (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/content/data/
Dreadme.txt1 Fixed APKs, along with v4 signatures and digests used in ChecksumsTest.java.
22 CtsPkgInstallTinyAppV2V3V4.digests
23 HelloWorld5.digests
24 HelloWorld5_hdpi-v4.digests
25 HelloWorld5_mdpi-v4.digests
30 …kgInstallTinyAppV2V3V4.digests -signer test-cert.x509.pem -inkey test-key.pem -outform der -out Ct…
31 …y -nosmimecap -in HelloWorld5.digests -signer test-cert.x509.pem -inkey test-key.pem -outform der …
32 …p -in HelloWorld5_hdpi-v4.digests -signer test-cert.x509.pem -inkey test-key.pem -outform der -out…
33 …p -in HelloWorld5_mdpi-v4.digests -signer test-cert.x509.pem -inkey test-key.pem -outform der -out…
36 …inyAppV2V3V4.digests.signature -inform der -CAfile test-cert.x509.pem -signer test-cert.x509.pem -…
[all …]
/cts/tests/tests/content/
DAndroid.bp210 "data/CtsPkgInstallTinyAppV2V3V4.digests",
211 "data/CtsPkgInstallTinyAppV2V3V4.digests.signature",
216 "data/HelloWorld5.digests",
217 "data/HelloWorld5.digests.signature",
218 "data/HelloWorld5_hdpi-v4.digests",
219 "data/HelloWorld5_hdpi-v4.digests.signature",
220 "data/HelloWorld5_mdpi-v4.digests",
221 "data/HelloWorld5_mdpi-v4.digests.signature",
/cts/tests/tests/keystore/src/android/keystore/cts/
DSecretKeyFactoryTest.java111 String[] digests; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local
115 digests = new String[] {digest}; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
118 digests = new String[] {KeyProperties.DIGEST_SHA384}; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
126 .setDigests(digests) in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
140 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DKeyGeneratorTest.java611 String[] digests; in testInitWithUnknownDigestFailsHelper() local
615 digests = new String[] {algorithm, "weird"}; in testInitWithUnknownDigestFailsHelper()
617 digests = new String[] {"weird"}; in testInitWithUnknownDigestFailsHelper()
621 .setDigests(digests) in testInitWithUnknownDigestFailsHelper()
730 String[] digests; in testGenerateHonorsRequestedAuthorizationsHelper() local
735 digests = new String[] {TestUtils.getHmacAlgorithmDigest(algorithm)}; in testGenerateHonorsRequestedAuthorizationsHelper()
738 digests = new String[] {KeyProperties.DIGEST_SHA384, KeyProperties.DIGEST_SHA1}; in testGenerateHonorsRequestedAuthorizationsHelper()
745 .setDigests(digests) in testGenerateHonorsRequestedAuthorizationsHelper()
760 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGenerateHonorsRequestedAuthorizationsHelper()
DKeyProtectionTest.java195 String[] digests = new String[] {KeyProperties.DIGEST_MD5, KeyProperties.DIGEST_SHA512}; in testImmutabilityViaSetterParams() local
196 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()
210 .setDigests(digests) in testImmutabilityViaSetterParams()
227 digests[1] = null; in testImmutabilityViaSetterParams()
DKeyGenParameterSpecTest.java263 String[] digests = new String[] {KeyProperties.DIGEST_MD5, KeyProperties.DIGEST_SHA512}; in testImmutabilityViaSetterParams() local
264 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()
280 .setDigests(digests) in testImmutabilityViaSetterParams()
305 digests[1] = null; in testImmutabilityViaSetterParams()
DKeyFactoryTest.java129 String[] digests = new String[] {KeyProperties.DIGEST_SHA1, in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local
139 .setDigests(digests) in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
163 TestUtils.assertContentsInAnyOrder(actualDigests, digests); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DKeyAttestationTest.java1324 Set digests = ImmutableSet.of(KM_DIGEST_NONE, KM_DIGEST_SHA_2_256, KM_DIGEST_SHA_2_512); in checkKeyIndependentAttestationInfo() local
1326 digests = ImmutableSet.of(KM_DIGEST_NONE, KM_DIGEST_SHA_2_256); in checkKeyIndependentAttestationInfo()
1328 checkKeyIndependentAttestationInfo(challenge, purposes, digests, in checkKeyIndependentAttestationInfo()
1334 Set digests, Date startTime, boolean includesValidityDates, in checkKeyIndependentAttestationInfo() argument
1349 checkDigests(attestation, digests); in checkKeyIndependentAttestationInfo()
DKeyPairGeneratorTest.java376 String[] digests = in testGenerateHonorsRequestedAuthorizationsHelper() local
383 .setDigests(digests) in testGenerateHonorsRequestedAuthorizationsHelper()
408 TestUtils.assertContentsInAnyOrder(actualDigests, digests); in testGenerateHonorsRequestedAuthorizationsHelper()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java178 private Set<Integer> digests; field in AuthorizationList
251 digests = Asn1Utils.getIntegersFromAsn1Set(value); in AuthorizationList()
381 digests = CborUtils.getIntSet(submodMap, key); in AuthorizationList()
500 public static String digestsToString(Set<Integer> digests) { in digestsToString() argument
501 return joinStrings(transform(digests, forMap(digestMap, "Unknown"))); in digestsToString()
582 return digests; in getDigests()
808 if (digests != null && !digests.isEmpty()) { in toString()
809 s.append("\nDigests: ").append(digestsToString(digests)); in toString()
/cts/hostsidetests/appsecurity/test-apps/tinyapp/
DAndroid.bp492 // the array of certificate digests as declared by the test package
509 // in the array of certificate digests as declared by the test package
527 // digests as declared by the test package, but the previous signer in
530 // one of the declared digests.