Top Description Fields Constructors Methods
org.bouncycastle.asn1.pkcs

public Class SignedData

extends ASN1Object
implements PKCSObjectIdentifiers
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1Set, .ASN1TaggedObject, .BERSequence, .DERTaggedObject

a PKCS#7 signed data object.

Field Summary

Modifier and TypeField and Description
private ASN1Set
private ContentInfo
private ASN1Set
private ASN1Set
private ASN1Set
private ASN1Integer

Constructor Summary

AccessConstructor and Description
public
SignedData(ASN1Integer _version, ASN1Set _digestAlgorithms, ContentInfo _contentInfo, ASN1Set _certificates, ASN1Set _crls, ASN1Set _signerInfos)

public

Method Summary

Modifier and TypeMethod and Description
public ASN1Set
public ContentInfo
public ASN1Set
public ASN1Set
public static SignedData
public ASN1Set
public ASN1Integer
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certificatesback to summary
private ASN1Set certificates
contentInfoback to summary
private ContentInfo contentInfo
crlsback to summary
private ASN1Set crls
digestAlgorithmsback to summary
private ASN1Set digestAlgorithms
signerInfosback to summary
private ASN1Set signerInfos
versionback to summary
private ASN1Integer version

Constructor Detail

SignedDataback to summary
public SignedData(ASN1Integer _version, ASN1Set _digestAlgorithms, ContentInfo _contentInfo, ASN1Set _certificates, ASN1Set _crls, ASN1Set _signerInfos)
SignedDataback to summary
public SignedData(ASN1Sequence seq)

Method Detail

getCertificatesback to summary
public ASN1Set getCertificates()
getContentInfoback to summary
public ContentInfo getContentInfo()
getCRLsback to summary
public ASN1Set getCRLs()
getDigestAlgorithmsback to summary
public ASN1Set getDigestAlgorithms()
getInstanceback to summary
public static SignedData getInstance(Object o)
getSignerInfosback to summary
public ASN1Set getSignerInfos()
getVersionback to summary
public ASN1Integer getVersion()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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 }
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.