public class SignerInfo extends ASN1Object
Constructor and Description |
---|
SignerInfo(ASN1Sequence seq)
Deprecated.
use getInstance() method.
|
SignerInfo(SignerIdentifier sid,
AlgorithmIdentifier digAlgorithm,
ASN1Set authenticatedAttributes,
AlgorithmIdentifier digEncryptionAlgorithm,
ASN1OctetString encryptedDigest,
ASN1Set unauthenticatedAttributes) |
SignerInfo(SignerIdentifier sid,
AlgorithmIdentifier digAlgorithm,
Attributes authenticatedAttributes,
AlgorithmIdentifier digEncryptionAlgorithm,
ASN1OctetString encryptedDigest,
Attributes unauthenticatedAttributes) |
Modifier and Type | Method and Description |
---|---|
ASN1Set |
getAuthenticatedAttributes() |
AlgorithmIdentifier |
getDigestAlgorithm() |
AlgorithmIdentifier |
getDigestEncryptionAlgorithm() |
ASN1OctetString |
getEncryptedDigest() |
static SignerInfo |
getInstance(java.lang.Object o) |
SignerIdentifier |
getSID() |
ASN1Set |
getUnauthenticatedAttributes() |
ASN1Integer |
getVersion() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public SignerInfo(SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes)
public SignerInfo(SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, Attributes authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, Attributes unauthenticatedAttributes)
public SignerInfo(ASN1Sequence seq)
public static SignerInfo getInstance(java.lang.Object o) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public ASN1Integer getVersion()
public SignerIdentifier getSID()
public ASN1Set getAuthenticatedAttributes()
public AlgorithmIdentifier getDigestAlgorithm()
public ASN1OctetString getEncryptedDigest()
public AlgorithmIdentifier getDigestEncryptionAlgorithm()
public ASN1Set getUnauthenticatedAttributes()
public ASN1Primitive toASN1Primitive()
SignerInfo ::= SEQUENCE { version Version, SignerIdentifier sid, 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