public class

SignerInfo

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

Class Overview

a PKCS#7 signer info object.

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
SignerInfo(DERInteger version, IssuerAndSerialNumber issuerAndSerialNumber, 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)
IssuerAndSerialNumber getIssuerAndSerialNumber()
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 (DERInteger version, IssuerAndSerialNumber issuerAndSerialNumber, 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 IssuerAndSerialNumber getIssuerAndSerialNumber ()

public ASN1Set getUnauthenticatedAttributes ()

public DERInteger getVersion ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

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

  EncryptedDigest ::= OCTET STRING

  DigestAlgorithmIdentifier ::= AlgorithmIdentifier

  DigestEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier