Searched refs:digests (Results 1 – 7 of 7) sorted by relevance
93 String[] digests; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local97 digests = new String[] {digest}; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()100 digests = new String[] {KeyProperties.DIGEST_SHA384}; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()108 .setDigests(digests) in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()122 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
397 String[] digests; in testInitWithUnknownDigestFails() local401 digests = new String[] {algorithm, "weird"}; in testInitWithUnknownDigestFails()403 digests = new String[] {"weird"}; in testInitWithUnknownDigestFails()405 keyGenerator.init(getWorkingSpec().setDigests(digests).build()); in testInitWithUnknownDigestFails()472 String[] digests; in testGenerateHonorsRequestedAuthorizations() local477 digests = new String[] {TestUtils.getHmacAlgorithmDigest(algorithm)}; in testGenerateHonorsRequestedAuthorizations()480 digests = new String[] {KeyProperties.DIGEST_SHA384, KeyProperties.DIGEST_SHA1}; in testGenerateHonorsRequestedAuthorizations()487 .setDigests(digests) in testGenerateHonorsRequestedAuthorizations()501 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGenerateHonorsRequestedAuthorizations()
146 String[] digests = new String[] {KeyProperties.DIGEST_MD5, KeyProperties.DIGEST_SHA512}; in testImmutabilityViaSetterParams() local147 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()158 .setDigests(digests) in testImmutabilityViaSetterParams()171 digests[1] = null; in testImmutabilityViaSetterParams()
199 String[] digests = new String[] {KeyProperties.DIGEST_MD5, KeyProperties.DIGEST_SHA512}; in testImmutabilityViaSetterParams() local200 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()213 .setDigests(digests) in testImmutabilityViaSetterParams()234 digests[1] = null; in testImmutabilityViaSetterParams()
104 String[] digests = new String[] {KeyProperties.DIGEST_SHA1, in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local114 .setDigests(digests) in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()138 TestUtils.assertContentsInAnyOrder(actualDigests, digests); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
313 String[] digests = in testGenerateHonorsRequestedAuthorizations() local320 .setDigests(digests) in testGenerateHonorsRequestedAuthorizations()344 TestUtils.assertContentsInAnyOrder(actualDigests, digests); in testGenerateHonorsRequestedAuthorizations()
96263 public abstract class org.bouncycastle.crypto.digests.GeneralDigest extends java.lang.Object implem…96279 org.bouncycastle.crypto.digests.GeneralDigest)96307 public abstract class org.bouncycastle.crypto.digests.LongDigest extends java.lang.Object implement…96349 org.bouncycastle.crypto.digests.LongDigest)96407 public class org.bouncycastle.crypto.digests.MD2Digest extends java.lang.Object implements org.boun…96433 org.bouncycastle.crypto.digests.MD2Digest)96464 public class org.bouncycastle.crypto.digests.MD4Digest extends org.bouncycastle.crypto.digests.Gene…96510 org.bouncycastle.crypto.digests.MD4Digest)96558 public class org.bouncycastle.crypto.digests.MD5Digest extends org.bouncycastle.crypto.digests.Gene…96612 org.bouncycastle.crypto.digests.MD5Digest)[all …]