Package io.anyline.nfc.bouncycastle.cms
Class SignerInfoGenerator
-
- All Implemented Interfaces:
public class SignerInfoGenerator
-
-
Field Summary
Fields Modifier and Type Field Description public final AlgorithmIdentifier
digestAlgorithm
public Array<byte>
calculatedDigest
-
Constructor Summary
Constructors Constructor Description SignerInfoGenerator(SignerInfoGenerator original, CMSAttributeTableGenerator sAttrGen, CMSAttributeTableGenerator unsAttrGen)
-
Method Summary
Modifier and Type Method Description AlgorithmIdentifier
getDigestAlgorithm()
Array<byte>
getCalculatedDigest()
SignerIdentifier
getSID()
int
getGeneratedVersion()
boolean
hasAssociatedCertificate()
X509CertificateHolder
getAssociatedCertificate()
OutputStream
getCalculatingOutputStream()
SignerInfo
generate(ASN1ObjectIdentifier contentType)
CMSAttributeTableGenerator
getSignedAttributeTableGenerator()
CMSAttributeTableGenerator
getUnsignedAttributeTableGenerator()
-
-
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()
-
-
-
-