Class SignedData

java.lang.Object
org.gudy.bouncycastle.asn1.pkcs.SignedData
All Implemented Interfaces:
DEREncodable, PKCSObjectIdentifiers

public class SignedData extends Object implements DEREncodable, PKCSObjectIdentifiers
a PKCS#7 signed data object.
  • Field Details

    • version

      private DERInteger version
    • digestAlgorithms

      private ASN1Set digestAlgorithms
    • contentInfo

      private ContentInfo contentInfo
    • certificates

      private ASN1Set certificates
    • crls

      private ASN1Set crls
    • signerInfos

      private ASN1Set signerInfos
  • Constructor Details

  • Method Details

    • getInstance

      public static SignedData getInstance(Object o)
    • getVersion

      public DERInteger getVersion()
    • getDigestAlgorithms

      public ASN1Set getDigestAlgorithms()
    • getContentInfo

      public ContentInfo getContentInfo()
    • getCertificates

      public ASN1Set getCertificates()
    • getCRLs

      public ASN1Set getCRLs()
    • getSignerInfos

      public ASN1Set getSignerInfos()
    • getDERObject

      public DERObject getDERObject()
      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 }
       
      Specified by:
      getDERObject in interface DEREncodable