| Modifier and Type | Class | Description |
|---|---|---|
static class |
DigestedData.Template |
A Template for decoding BER-encoded DigestData items.
|
| Constructor | Description |
|---|---|
DigestedData(INTEGER version,
AlgorithmIdentifier digestAlgorithm,
ContentInfo contentInfo,
OCTET_STRING digest) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
encode(java.io.OutputStream ostream) |
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicitTag,
java.io.OutputStream ostream) |
Write this value's DER encoding to an output stream using
an implicit tag.
|
ContentInfo |
getContentInfo() |
|
OCTET_STRING |
getDigest() |
|
AlgorithmIdentifier |
getDigestAlgorithm() |
|
Tag |
getTag() |
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
INTEGER |
getVersion() |
public DigestedData(INTEGER version, AlgorithmIdentifier digestAlgorithm, ContentInfo contentInfo, OCTET_STRING digest)
public INTEGER getVersion()
public AlgorithmIdentifier getDigestAlgorithm()
public ContentInfo getContentInfo()
public OCTET_STRING getDigest()
public Tag getTag()
ASN1Valuepublic void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Value