Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DAuthorizationList.java157 private Set<Integer> paddingModes; field in AuthorizationList
206 paddingModes = Asn1Utils.getIntegersFromAsn1Set(value); in AuthorizationList()
275 public static String paddingModesToString(final Set<Integer> paddingModes) { in paddingModesToString() argument
276 return joinStrings(transform(paddingModes, forMap(paddingMap, "Unknown"))); in paddingModesToString()
365 return paddingModes; in getPaddingModes()
369 if (paddingModes == null) { in getPaddingModesAsStrings()
374 for (int paddingMode : paddingModes) { in getPaddingModesAsStrings()
504 if (paddingModes != null && !paddingModes.isEmpty()) { in toString()
505 s.append("\nPadding modes: ").append(paddingModesToString(paddingModes)); in toString()
DKeyAttestationTest.java340 String[][] paddingModes) throws Exception { in testRsaAttestations() argument
341 for (String[] paddings : paddingModes) { in testRsaAttestations()
359 int purposes, String[] paddingModes) throws Exception { in testRsaAttestation() argument
377 builder.setEncryptionPaddings(paddingModes); in testRsaAttestation()
382 builder.setSignaturePaddings(paddingModes); in testRsaAttestation()
397 checkRsaKeyDetails(attestation, keySize, purposes, ImmutableSet.copyOf(paddingModes)); in testRsaAttestation()
741 Set<String> paddingModes; in checkRsaKeyDetails() local
745 paddingModes = attestation.getSoftwareEnforced().getPaddingModesAsStrings(); in checkRsaKeyDetails()
748 paddingModes = keyDetailsList.getPaddingModesAsStrings(); in checkRsaKeyDetails()
762 assertThat(paddingModes, either(is(expectedPaddingModes)).or(is(km1PossiblePaddingModes))); in checkRsaKeyDetails()