Bouncy Castle Cryptography Library 1.49

org.bouncycastle.asn1.cms
Class SignedData

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Object
      extended by org.bouncycastle.asn1.cms.SignedData
All Implemented Interfaces:
ASN1Encodable

public class SignedData
extends ASN1Object

a signed data object.


Constructor Summary
SignedData(ASN1Set digestAlgorithms, ContentInfo contentInfo, ASN1Set certificates, ASN1Set crls, ASN1Set signerInfos)
           
 
Method Summary
 ASN1Set getCertificates()
           
 ASN1Set getCRLs()
           
 ASN1Set getDigestAlgorithms()
           
 ContentInfo getEncapContentInfo()
           
static SignedData getInstance(java.lang.Object o)
           
 ASN1Set getSignerInfos()
           
 ASN1Integer getVersion()
           
 ASN1Primitive toASN1Primitive()
          Produce an object suitable for an ASN1OutputStream.
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignedData

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

getInstance

public static SignedData getInstance(java.lang.Object o)

getVersion

public ASN1Integer getVersion()

getDigestAlgorithms

public ASN1Set getDigestAlgorithms()

getEncapContentInfo

public ContentInfo getEncapContentInfo()

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 CMSVersion,
     digestAlgorithms DigestAlgorithmIdentifiers,
     encapContentInfo EncapsulatedContentInfo,
     certificates [0] IMPLICIT CertificateSet OPTIONAL,
     crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
     signerInfos SignerInfos
   }
 

Specified by:
toASN1Primitive in interface ASN1Encodable
Specified by:
toASN1Primitive in class ASN1Object

Bouncy Castle Cryptography Library 1.49