public class SignerInfo extends ASN1Object
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 ASN1Integer |
version |
Constructor and Description |
---|
SignerInfo(ASN1Integer version,
IssuerAndSerialNumber issuerAndSerialNumber,
AlgorithmIdentifier digAlgorithm,
ASN1Set authenticatedAttributes,
AlgorithmIdentifier digEncryptionAlgorithm,
ASN1OctetString encryptedDigest,
ASN1Set unauthenticatedAttributes) |
SignerInfo(ASN1Sequence seq) |
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() |
ASN1Integer |
getVersion() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private ASN1Integer version
private IssuerAndSerialNumber issuerAndSerialNumber
private AlgorithmIdentifier digAlgorithm
private ASN1Set authenticatedAttributes
private AlgorithmIdentifier digEncryptionAlgorithm
private ASN1OctetString encryptedDigest
private ASN1Set unauthenticatedAttributes
public SignerInfo(ASN1Integer 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 ASN1Integer getVersion()
public IssuerAndSerialNumber getIssuerAndSerialNumber()
public ASN1Set getAuthenticatedAttributes()
public AlgorithmIdentifier getDigestAlgorithm()
public ASN1OctetString getEncryptedDigest()
public AlgorithmIdentifier getDigestEncryptionAlgorithm()
public ASN1Set getUnauthenticatedAttributes()
public ASN1Primitive toASN1Primitive()
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
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object