public class SignerInfoGenerator extends Object
Constructor and Description |
---|
SignerInfoGenerator(SignerInfoGenerator original,
CMSAttributeTableGenerator sAttrGen,
CMSAttributeTableGenerator unsAttrGen) |
Modifier and Type | Method and Description |
---|---|
SignerInfo |
generate(ASN1ObjectIdentifier contentType) |
X509CertificateHolder |
getAssociatedCertificate() |
byte[] |
getCalculatedDigest() |
OutputStream |
getCalculatingOutputStream() |
AlgorithmIdentifier |
getDigestAlgorithm() |
int |
getGeneratedVersion() |
SignerIdentifier |
getSID() |
CMSAttributeTableGenerator |
getSignedAttributeTableGenerator() |
CMSAttributeTableGenerator |
getUnsignedAttributeTableGenerator() |
boolean |
hasAssociatedCertificate() |
public SignerInfoGenerator(SignerInfoGenerator original, CMSAttributeTableGenerator sAttrGen, CMSAttributeTableGenerator unsAttrGen)
public SignerIdentifier getSID()
public int getGeneratedVersion()
public boolean hasAssociatedCertificate()
public X509CertificateHolder getAssociatedCertificate()
public AlgorithmIdentifier getDigestAlgorithm()
public OutputStream getCalculatingOutputStream()
public SignerInfo generate(ASN1ObjectIdentifier contentType) throws CMSException
CMSException
public byte[] getCalculatedDigest()
public CMSAttributeTableGenerator getSignedAttributeTableGenerator()
public CMSAttributeTableGenerator getUnsignedAttributeTableGenerator()
Copyright © 2020 BouncyCastle.org. All rights reserved.