public class SignerInfo extends ASN1Encodable
BER, DER| Constructor and Description |
|---|
SignerInfo(ASN1Sequence seq) |
SignerInfo(SignerIdentifier sid,
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(Object o) |
SignerIdentifier |
getSID() |
ASN1Set |
getUnauthenticatedAttributes() |
DERInteger |
getVersion() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic SignerInfo(SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes)
public SignerInfo(ASN1Sequence seq)
public static SignerInfo getInstance(Object o) throws IllegalArgumentException
IllegalArgumentExceptionpublic DERInteger getVersion()
public SignerIdentifier getSID()
public ASN1Set getAuthenticatedAttributes()
public AlgorithmIdentifier getDigestAlgorithm()
public ASN1OctetString getEncryptedDigest()
public AlgorithmIdentifier getDigestEncryptionAlgorithm()
public ASN1Set getUnauthenticatedAttributes()
public DERObject toASN1Object()
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
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.