org.bouncycastle.asn1.cms

Class SignedData

Implemented Interfaces:
DEREncodable

public class SignedData
extends ASN1Encodable

a signed data object.

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Constructor Summary

SignedData(ASN1Sequence seq)
SignedData(ASN1Set digestAlgorithms, ContentInfo contentInfo, ASN1Set certificates, ASN1Set crls, ASN1Set signerInfos)

Method Summary

ASN1Set
getCRLs()
ASN1Set
getCertificates()
ASN1Set
getDigestAlgorithms()
ContentInfo
getEncapContentInfo()
static SignedData
getInstance(Object o)
ASN1Set
getSignerInfos()
DERInteger
getVersion()
DERObject
toASN1Object()
Produce an object suitable for an ASN1OutputStream.

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Constructor Details

SignedData

public SignedData(ASN1Sequence seq)

SignedData

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

Method Details

getCRLs

public ASN1Set getCRLs()

getCertificates

public ASN1Set getCertificates()

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
   }
 
Overrides:
toASN1Object in interface ASN1Encodable