public class

SignerInfo

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cms.SignerInfo

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
SignerInfo(SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes)
SignerInfo(ASN1Sequence seq)
Public Methods
ASN1Set getAuthenticatedAttributes()
AlgorithmIdentifier getDigestAlgorithm()
AlgorithmIdentifier getDigestEncryptionAlgorithm()
ASN1OctetString getEncryptedDigest()
static SignerInfo getInstance(Object o)
SignerIdentifier getSID()
ASN1Set getUnauthenticatedAttributes()
DERInteger getVersion()
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public SignerInfo (SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes)

public SignerInfo (ASN1Sequence seq)

Public Methods

public ASN1Set getAuthenticatedAttributes ()

public AlgorithmIdentifier getDigestAlgorithm ()

public AlgorithmIdentifier getDigestEncryptionAlgorithm ()

public ASN1OctetString getEncryptedDigest ()

public static SignerInfo getInstance (Object o)

public SignerIdentifier getSID ()

public ASN1Set getUnauthenticatedAttributes ()

public DERInteger getVersion ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

  SignerInfo ::= SEQUENCE {
      version Version,
      SignerIdentifier sid,
      digestAlgorithm DigestAlgorithmIdentifier,
      authenticatedAttributes [0] IMPLICIT Attributes OPTIONAL,
      digestEncryptionAlgorithm DigestEncryptionAlgorithmIdentifier,
      encryptedDigest EncryptedDigest,
      unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL
  }

  EncryptedDigest ::= OCTET STRING

  DigestAlgorithmIdentifier ::= AlgorithmIdentifier

  DigestEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier