public class SignerInfo extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private ASN1Set |
authenticatedAttributes |
private AlgorithmIdentifier |
digAlgorithm |
private AlgorithmIdentifier |
digEncryptionAlgorithm |
private ASN1OctetString |
encryptedDigest |
private IssuerAndSerialNumber |
issuerAndSerialNumber |
private ASN1Set |
unauthenticatedAttributes |
private DERInteger |
version |
BER, DER
Constructor and Description |
---|
SignerInfo(ASN1Sequence seq) |
SignerInfo(DERInteger version,
IssuerAndSerialNumber issuerAndSerialNumber,
AlgorithmIdentifier digAlgorithm,
ASN1Set authenticatedAttributes,
AlgorithmIdentifier digEncryptionAlgorithm,
ASN1OctetString encryptedDigest,
ASN1Set unauthenticatedAttributes) |
Modifier and Type | Method and Description |
---|---|
ASN1Set |
getAuthenticatedAttributes() |
AlgorithmIdentifier |
getDigestAlgorithm() |
AlgorithmIdentifier |
getDigestEncryptionAlgorithm() |
ASN1OctetString |
getEncryptedDigest() |
static SignerInfo |
getInstance(java.lang.Object o) |
IssuerAndSerialNumber |
getIssuerAndSerialNumber() |
ASN1Set |
getUnauthenticatedAttributes() |
DERInteger |
getVersion() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
private DERInteger version
private IssuerAndSerialNumber issuerAndSerialNumber
private AlgorithmIdentifier digAlgorithm
private ASN1Set authenticatedAttributes
private AlgorithmIdentifier digEncryptionAlgorithm
private ASN1OctetString encryptedDigest
private ASN1Set unauthenticatedAttributes
public SignerInfo(DERInteger version, IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes)
public SignerInfo(ASN1Sequence seq)
public static SignerInfo getInstance(java.lang.Object o)
public DERInteger getVersion()
public IssuerAndSerialNumber getIssuerAndSerialNumber()
public ASN1Set getAuthenticatedAttributes()
public AlgorithmIdentifier getDigestAlgorithm()
public ASN1OctetString getEncryptedDigest()
public AlgorithmIdentifier getDigestEncryptionAlgorithm()
public ASN1Set getUnauthenticatedAttributes()
public DERObject toASN1Object()
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
toASN1Object
in class ASN1Encodable
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.