org.bouncycastle.asn1.pkcs

Class SignedData

public class SignedData extends ASN1Encodable implements PKCSObjectIdentifiers

a PKCS#7 signed data object.
Constructor Summary
SignedData(DERInteger _version, ASN1Set _digestAlgorithms, ContentInfo _contentInfo, ASN1Set _certificates, ASN1Set _crls, ASN1Set _signerInfos)
SignedData(ASN1Sequence seq)
Method Summary
ASN1SetgetCertificates()
ContentInfogetContentInfo()
ASN1SetgetCRLs()
ASN1SetgetDigestAlgorithms()
static SignedDatagetInstance(Object o)
ASN1SetgetSignerInfos()
DERIntegergetVersion()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Constructor Detail

SignedData

public SignedData(DERInteger _version, ASN1Set _digestAlgorithms, ContentInfo _contentInfo, ASN1Set _certificates, ASN1Set _crls, ASN1Set _signerInfos)

SignedData

public SignedData(ASN1Sequence seq)

Method Detail

getCertificates

public ASN1Set getCertificates()

getContentInfo

public ContentInfo getContentInfo()

getCRLs

public ASN1Set getCRLs()

getDigestAlgorithms

public ASN1Set getDigestAlgorithms()

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 Version,
      digestAlgorithms DigestAlgorithmIdentifiers,
      contentInfo ContentInfo,
      certificates
          [0] IMPLICIT ExtendedCertificatesAndCertificates
                   OPTIONAL,
      crls
          [1] IMPLICIT CertificateRevocationLists OPTIONAL,
      signerInfos SignerInfos }