org.bouncycastle.asn1.cms

Class SignedData

public class SignedData extends ASN1Encodable

a signed data object.
Constructor Summary
SignedData(ASN1Set digestAlgorithms, ContentInfo contentInfo, ASN1Set certificates, ASN1Set crls, ASN1Set signerInfos)
SignedData(ASN1Sequence seq)
Method Summary
ASN1SetgetCertificates()
ASN1SetgetCRLs()
ASN1SetgetDigestAlgorithms()
ContentInfogetEncapContentInfo()
static SignedDatagetInstance(Object o)
ASN1SetgetSignerInfos()
DERIntegergetVersion()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Constructor Detail

SignedData

public SignedData(ASN1Set digestAlgorithms, ContentInfo contentInfo, ASN1Set certificates, ASN1Set crls, ASN1Set signerInfos)

SignedData

public SignedData(ASN1Sequence seq)

Method Detail

getCertificates

public ASN1Set getCertificates()

getCRLs

public ASN1Set getCRLs()

getDigestAlgorithms

public ASN1Set getDigestAlgorithms()

getEncapContentInfo

public ContentInfo getEncapContentInfo()

getInstance

public static SignedData getInstance(Object o)

getSignerInfos

public ASN1Set getSignerInfos()

getVersion

public DERInteger getVersion()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
 SignedData ::= SEQUENCE {
     version CMSVersion,
     digestAlgorithms DigestAlgorithmIdentifiers,
     encapContentInfo EncapsulatedContentInfo,
     certificates [0] IMPLICIT CertificateSet OPTIONAL,
     crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
     signerInfos SignerInfos
   }