Class SignedData

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.pkcs.SignedData
All Implemented Interfaces:
ASN1Encodable, PKCSObjectIdentifiers, Encodable

public class SignedData extends ASN1Object implements PKCSObjectIdentifiers
a PKCS#7 signed data object.
  • Constructor Details

  • Method Details

    • getInstance

      public static SignedData getInstance(Object o)
    • getVersion

      public ASN1Integer getVersion()
    • getDigestAlgorithms

      public ASN1Set getDigestAlgorithms()
    • getContentInfo

      public ContentInfo getContentInfo()
    • getCertificates

      public ASN1Set getCertificates()
    • getCRLs

      public ASN1Set getCRLs()
    • getSignerInfos

      public ASN1Set getSignerInfos()
    • toASN1Primitive

      public ASN1Primitive toASN1Primitive()
      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:
      toASN1Primitive in interface ASN1Encodable
      Specified by:
      toASN1Primitive in class ASN1Object
      Returns:
      a primitive representation of this object.