org.mozilla.jss.pkcs7

Class DigestedData

public class DigestedData extends Object implements ASN1Value

Nested Class Summary
static classDigestedData.Template
A Template for decoding BER-encoded DigestData items.
Constructor Summary
DigestedData(INTEGER version, AlgorithmIdentifier digestAlgorithm, ContentInfo contentInfo, OCTET_STRING digest)
Method Summary
voidencode(OutputStream ostream)
voidencode(Tag implicitTag, OutputStream ostream)
ContentInfogetContentInfo()
OCTET_STRINGgetDigest()
AlgorithmIdentifiergetDigestAlgorithm()
TaggetTag()
INTEGERgetVersion()

Constructor Detail

DigestedData

public DigestedData(INTEGER version, AlgorithmIdentifier digestAlgorithm, ContentInfo contentInfo, OCTET_STRING digest)

Method Detail

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicitTag, OutputStream ostream)

getContentInfo

public ContentInfo getContentInfo()

getDigest

public OCTET_STRING getDigest()

getDigestAlgorithm

public AlgorithmIdentifier getDigestAlgorithm()

getTag

public Tag getTag()

getVersion

public INTEGER getVersion()