From 4caba4cfca3316673ae4e330e8a47932bed8a53a Mon Sep 17 00:00:00 2001 From: Sergio Giro Date: Wed, 28 Dec 2016 14:18:01 +0000 Subject: bouncycastle: Android tree with upstream code for version 1.56 Test: no tests needed, this branch is for easy diffing against upstream Change-Id: Ib75613e1211e7f02f225b9020ba31f2b45acc8d8 --- .../main/java/org/bouncycastle/cms/SignerInfoGeneratorBuilder.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bcpkix/src/main/java/org/bouncycastle/cms/SignerInfoGeneratorBuilder.java') diff --git a/bcpkix/src/main/java/org/bouncycastle/cms/SignerInfoGeneratorBuilder.java b/bcpkix/src/main/java/org/bouncycastle/cms/SignerInfoGeneratorBuilder.java index 7a47a2f8..ccb6e2cf 100644 --- a/bcpkix/src/main/java/org/bouncycastle/cms/SignerInfoGeneratorBuilder.java +++ b/bcpkix/src/main/java/org/bouncycastle/cms/SignerInfoGeneratorBuilder.java @@ -29,10 +29,11 @@ public class SignerInfoGeneratorBuilder this(digestProvider, new DefaultCMSSignatureEncryptionAlgorithmFinder()); } - /** - * Base constructor. + /** + * Base constructor with a particular finder for signature algorithms. * - * @param digestProvider a provider of digest calculators for the algorithms required in the signature and attribute calculations. + * @param digestProvider a provider of digest calculators for the algorithms required in the signature and attribute calculations. + * @param sigEncAlgFinder finder for algorithm IDs to store for the signature encryption/signature algorithm field. */ public SignerInfoGeneratorBuilder(DigestCalculatorProvider digestProvider, CMSSignatureEncryptionAlgorithmFinder sigEncAlgFinder) { -- cgit v1.2.3