| Modifier and Type | Class and Description |
|---|---|
static class |
DigestInfo.Template
A class for decoding the BER encoding of a DigestInfo.
|
| Constructor and Description |
|---|
DigestInfo(AlgorithmIdentifier digestAlgorithm,
OCTET_STRING digest) |
| Modifier and Type | Method and 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.
|
boolean |
equals(java.lang.Object obj) |
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.
|
static DigestInfo.Template |
getTemplate() |
public DigestInfo(AlgorithmIdentifier digestAlgorithm, OCTET_STRING digest)
public AlgorithmIdentifier getDigestAlgorithm()
public OCTET_STRING getDigest()
public Tag getTag()
ASN1Valuepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Valuepublic void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Valuepublic static DigestInfo.Template getTemplate()