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.java168 private Set<Integer> paddingModes; field in AuthorizationList
226 paddingModes = Asn1Utils.getIntegersFromAsn1Set(value); in AuthorizationList()
323 public static String paddingModesToString(final Set<Integer> paddingModes) { in paddingModesToString() argument
324 return joinStrings(transform(paddingModes, forMap(paddingMap, "Unknown"))); in paddingModesToString()
413 return paddingModes; in getPaddingModes()
417 if (paddingModes == null) { in getPaddingModesAsStrings()
422 for (int paddingMode : paddingModes) { in getPaddingModesAsStrings()
596 if (paddingModes != null && !paddingModes.isEmpty()) { in toString()
597 s.append("\nPadding modes: ").append(paddingModesToString(paddingModes)); in toString()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java371 String[][] paddingModes) throws Exception { in testRsaAttestations() argument
372 for (String[] paddings : paddingModes) { in testRsaAttestations()
396 int purposes, String[] paddingModes) throws Exception { in testRsaAttestation() argument
414 builder.setEncryptionPaddings(paddingModes); in testRsaAttestation()
419 builder.setSignaturePaddings(paddingModes); in testRsaAttestation()
434 checkRsaKeyDetails(attestation, keySize, purposes, ImmutableSet.copyOf(paddingModes)); in testRsaAttestation()
799 Set<String> paddingModes; in checkRsaKeyDetails() local
803 paddingModes = attestation.getSoftwareEnforced().getPaddingModesAsStrings(); in checkRsaKeyDetails()
806 paddingModes = keyDetailsList.getPaddingModesAsStrings(); in checkRsaKeyDetails()
820 assertThat(paddingModes, either(is(expectedPaddingModes)).or(is(km1PossiblePaddingModes))); in checkRsaKeyDetails()