Home
last modified time | relevance | path

Searched refs:mgf1Digests (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java79 String[] mgf1Digests = in testMgf1DigestsCanBeSpecified() local
82 .setMgf1Digests(mgf1Digests) in testMgf1DigestsCanBeSpecified()
85 assertThat(spec.getMgf1Digests(), containsInAnyOrder(mgf1Digests)); in testMgf1DigestsCanBeSpecified()
89 assertThat(copiedSpec.getMgf1Digests(), containsInAnyOrder(mgf1Digests)); in testMgf1DigestsCanBeSpecified()
94 String[] mgf1Digests = in testMgf1DigestsAreNotModified() local
97 .setMgf1Digests(mgf1Digests); in testMgf1DigestsAreNotModified()
100 assertArrayEquals(mgf1Digests, firstSpec.getMgf1Digests().toArray()); in testMgf1DigestsAreNotModified()
107 assertThat(firstSpec.getMgf1Digests(), containsInAnyOrder(mgf1Digests)); in testMgf1DigestsAreNotModified()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProtection.java255 @KeyProperties.DigestEnum Set<String> mgf1Digests, in KeyProtection() argument
280 mMgf1Digests = mgf1Digests; in KeyProtection()
801 public Builder setMgf1Digests(@Nullable @KeyProperties.DigestEnum String... mgf1Digests) { in setMgf1Digests() argument
802 mMgf1Digests = Set.of(mgf1Digests); in setMgf1Digests()
DParcelableKeyGenParameterSpec.java165 final ArrayList<String> mgf1Digests = in.createStringArrayList(); in ParcelableKeyGenParameterSpec() local
204 mgf1Digests != null ? Set.copyOf(mgf1Digests) : Collections.emptySet(), in ParcelableKeyGenParameterSpec()
DKeyGenParameterSpec.java355 @KeyProperties.DigestEnum Set<String> mgf1Digests, in KeyGenParameterSpec() argument
417 mMgf1Digests = mgf1Digests != null ? mgf1Digests : Collections.emptySet(); in KeyGenParameterSpec()
1296 public Builder setMgf1Digests(@NonNull @KeyProperties.DigestEnum String... mgf1Digests) { in setMgf1Digests() argument
1297 mMgf1Digests = Set.of(mgf1Digests); in setMgf1Digests()
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java197 String[] mgf1Digests = in testParcelingMgf1Digests() local
202 .setMgf1Digests(mgf1Digests) in testParcelingMgf1Digests()
207 assertArrayEquals(fromParcel.getMgf1Digests().toArray(), mgf1Digests); in testParcelingMgf1Digests() local