public class SignerInfoGenerator
extends java.lang.Object
Constructor and Description |
---|
SignerInfoGenerator(SignerInfoGenerator original,
CMSAttributeTableGenerator sAttrGen,
CMSAttributeTableGenerator unsAttrGen) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.cms.SignerInfo |
generate(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType) |
X509CertificateHolder |
getAssociatedCertificate() |
byte[] |
getCalculatedDigest() |
java.io.OutputStream |
getCalculatingOutputStream() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getDigestAlgorithm() |
int |
getGeneratedVersion() |
org.bouncycastle.asn1.cms.SignerIdentifier |
getSID() |
CMSAttributeTableGenerator |
getSignedAttributeTableGenerator() |
CMSAttributeTableGenerator |
getUnsignedAttributeTableGenerator() |
boolean |
hasAssociatedCertificate() |
public SignerInfoGenerator(SignerInfoGenerator original, CMSAttributeTableGenerator sAttrGen, CMSAttributeTableGenerator unsAttrGen)
public org.bouncycastle.asn1.cms.SignerIdentifier getSID()
public int getGeneratedVersion()
public boolean hasAssociatedCertificate()
public X509CertificateHolder getAssociatedCertificate()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm()
public java.io.OutputStream getCalculatingOutputStream()
public org.bouncycastle.asn1.cms.SignerInfo generate(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType) throws CMSException
CMSException
public byte[] getCalculatedDigest()
public CMSAttributeTableGenerator getSignedAttributeTableGenerator()
public CMSAttributeTableGenerator getUnsignedAttributeTableGenerator()