Home
last modified time | relevance | path

Searched refs:paddingModes (Results 1 – 2 of 2) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java173 private Set<Integer> paddingModes; field in AuthorizationList
236 paddingModes = Asn1Utils.getIntegersFromAsn1Set(value); in AuthorizationList()
345 public static String paddingModesToString(final Set<Integer> paddingModes) { in paddingModesToString() argument
346 return joinStrings(transform(paddingModes, forMap(paddingMap, "Unknown"))); in paddingModesToString()
435 return paddingModes; in getPaddingModes()
439 if (paddingModes == null) { in getPaddingModesAsStrings()
444 for (int paddingMode : paddingModes) { in getPaddingModesAsStrings()
638 if (paddingModes != null && !paddingModes.isEmpty()) { in toString()
639 s.append("\nPadding modes: ").append(paddingModesToString(paddingModes)); in toString()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java376 String[][] paddingModes) throws Exception { in testRsaAttestations() argument
377 for (String[] paddings : paddingModes) { in testRsaAttestations()
401 int purposes, String[] paddingModes) throws Exception { in testRsaAttestation() argument
419 builder.setEncryptionPaddings(paddingModes); in testRsaAttestation()
424 builder.setSignaturePaddings(paddingModes); in testRsaAttestation()
439 checkRsaKeyDetails(attestation, keySize, purposes, ImmutableSet.copyOf(paddingModes)); in testRsaAttestation()
810 Set<String> paddingModes; in checkRsaKeyDetails() local
814 paddingModes = attestation.getSoftwareEnforced().getPaddingModesAsStrings(); in checkRsaKeyDetails()
817 paddingModes = keyDetailsList.getPaddingModesAsStrings(); in checkRsaKeyDetails()
831 assertThat(paddingModes, either(is(expectedPaddingModes)).or(is(km1PossiblePaddingModes))); in checkRsaKeyDetails()