public class SignerInfo extends ASN1Object
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
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