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

public Class SignerInfo

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .ASN1Set, .ASN1TaggedObject, .DEROctetString, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.AlgorithmIdentifier

a PKCS#7 signer info object.

Field Summary

Modifier and TypeField and Description
private ASN1Set
private AlgorithmIdentifier
private AlgorithmIdentifier
private ASN1OctetString
private IssuerAndSerialNumber
private ASN1Set
private ASN1Integer

Constructor Summary

AccessConstructor and Description
public
SignerInfo(ASN1Integer version, IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes)

public

Method Summary

Modifier and TypeMethod and Description
public ASN1Set
public AlgorithmIdentifier
public AlgorithmIdentifier
public ASN1OctetString
public static SignerInfo
public IssuerAndSerialNumber
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

authenticatedAttributesback to summary
private ASN1Set authenticatedAttributes
digAlgorithmback to summary
private AlgorithmIdentifier digAlgorithm
digEncryptionAlgorithmback to summary
private AlgorithmIdentifier digEncryptionAlgorithm
encryptedDigestback to summary
private ASN1OctetString encryptedDigest
issuerAndSerialNumberback to summary
private IssuerAndSerialNumber issuerAndSerialNumber
unauthenticatedAttributesback to summary
private ASN1Set unauthenticatedAttributes
versionback to summary
private ASN1Integer version

Constructor Detail

SignerInfoback to summary
public SignerInfo(ASN1Integer version, IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes)
SignerInfoback to summary
public SignerInfo(ASN1Sequence seq)

Method Detail

getAuthenticatedAttributesback to summary
public ASN1Set getAuthenticatedAttributes()
getDigestAlgorithmback to summary
public AlgorithmIdentifier getDigestAlgorithm()
getDigestEncryptionAlgorithmback to summary
public AlgorithmIdentifier getDigestEncryptionAlgorithm()
getEncryptedDigestback to summary
public ASN1OctetString getEncryptedDigest()
getInstanceback to summary
public static SignerInfo getInstance(Object o)
getIssuerAndSerialNumberback to summary
public IssuerAndSerialNumber getIssuerAndSerialNumber()
getUnauthenticatedAttributesback to summary
public ASN1Set getUnauthenticatedAttributes()
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.

 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
Returns:ASN1Primitive

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

a primitive representation of this object.