Package io.anyline.nfc.bouncycastle.cms
Class SignerInfoGenerator
-
- All Implemented Interfaces:
public class SignerInfoGenerator
-
-
Field Summary
Fields Modifier and Type Field Description public final AlgorithmIdentifierdigestAlgorithmpublic Array<byte>calculatedDigest
-
Constructor Summary
Constructors Constructor Description SignerInfoGenerator(SignerInfoGenerator original, CMSAttributeTableGenerator sAttrGen, CMSAttributeTableGenerator unsAttrGen)
-
Method Summary
Modifier and Type Method Description AlgorithmIdentifiergetDigestAlgorithm()Array<byte>getCalculatedDigest()SignerIdentifiergetSID()intgetGeneratedVersion()booleanhasAssociatedCertificate()X509CertificateHoldergetAssociatedCertificate()OutputStreamgetCalculatingOutputStream()SignerInfogenerate(ASN1ObjectIdentifier contentType)CMSAttributeTableGeneratorgetSignedAttributeTableGenerator()CMSAttributeTableGeneratorgetUnsignedAttributeTableGenerator()-
-
Constructor Detail
-
SignerInfoGenerator
SignerInfoGenerator(SignerInfoGenerator original, CMSAttributeTableGenerator sAttrGen, CMSAttributeTableGenerator unsAttrGen)
-
-
Method Detail
-
getDigestAlgorithm
AlgorithmIdentifier getDigestAlgorithm()
-
getCalculatedDigest
Array<byte> getCalculatedDigest()
-
getSID
SignerIdentifier getSID()
-
getGeneratedVersion
int getGeneratedVersion()
-
hasAssociatedCertificate
boolean hasAssociatedCertificate()
-
getAssociatedCertificate
X509CertificateHolder getAssociatedCertificate()
-
getCalculatingOutputStream
OutputStream getCalculatingOutputStream()
-
generate
SignerInfo generate(ASN1ObjectIdentifier contentType)
-
getSignedAttributeTableGenerator
CMSAttributeTableGenerator getSignedAttributeTableGenerator()
-
getUnsignedAttributeTableGenerator
CMSAttributeTableGenerator getUnsignedAttributeTableGenerator()
-
-
-
-