Package org.bouncycastle.cms
Class SignerInfoGenerator
- java.lang.Object
 - 
- org.bouncycastle.cms.SignerInfoGenerator
 
 
- 
public class SignerInfoGenerator extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description SignerInfoGenerator(SignerInfoGenerator original, CMSAttributeTableGenerator sAttrGen, CMSAttributeTableGenerator unsAttrGen) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.cms.SignerInfogenerate(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType)X509CertificateHoldergetAssociatedCertificate()byte[]getCalculatedDigest()java.io.OutputStreamgetCalculatingOutputStream()org.bouncycastle.asn1.x509.AlgorithmIdentifiergetDigestAlgorithm()intgetGeneratedVersion()org.bouncycastle.asn1.cms.SignerIdentifiergetSID()CMSAttributeTableGeneratorgetSignedAttributeTableGenerator()CMSAttributeTableGeneratorgetUnsignedAttributeTableGenerator()booleanhasAssociatedCertificate() 
 - 
 
- 
- 
Constructor Detail
- 
SignerInfoGenerator
public SignerInfoGenerator(SignerInfoGenerator original, CMSAttributeTableGenerator sAttrGen, CMSAttributeTableGenerator unsAttrGen)
 
 - 
 
- 
Method Detail
- 
getSID
public org.bouncycastle.asn1.cms.SignerIdentifier getSID()
 
- 
getGeneratedVersion
public int getGeneratedVersion()
 
- 
hasAssociatedCertificate
public boolean hasAssociatedCertificate()
 
- 
getAssociatedCertificate
public X509CertificateHolder getAssociatedCertificate()
 
- 
getDigestAlgorithm
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm()
 
- 
getCalculatingOutputStream
public java.io.OutputStream getCalculatingOutputStream()
 
- 
generate
public org.bouncycastle.asn1.cms.SignerInfo generate(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType) throws CMSException- Throws:
 CMSException
 
- 
getCalculatedDigest
public byte[] getCalculatedDigest()
 
- 
getSignedAttributeTableGenerator
public CMSAttributeTableGenerator getSignedAttributeTableGenerator()
 
- 
getUnsignedAttributeTableGenerator
public CMSAttributeTableGenerator getUnsignedAttributeTableGenerator()
 
 - 
 
 -