public class DigestBytesHolder extends StreamObject
StreamObject.Adapter<O extends StreamObject>| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
| Constructor and Description |
|---|
DigestBytesHolder(byte[] bytes,
byte[] digest,
SecurityHelper.DigestAlgorithm algorithm) |
DigestBytesHolder(byte[] bytes,
SecurityHelper.DigestAlgorithm algorithm) |
DigestBytesHolder(HInput input,
SecurityHelper.DigestAlgorithm algorithm) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
byte[] |
getDigest() |
void |
write(HOutput output) |
writepublic DigestBytesHolder(byte[] bytes,
byte[] digest,
SecurityHelper.DigestAlgorithm algorithm)
throws java.security.SignatureException
java.security.SignatureExceptionpublic DigestBytesHolder(byte[] bytes,
SecurityHelper.DigestAlgorithm algorithm)
public DigestBytesHolder(HInput input, SecurityHelper.DigestAlgorithm algorithm) throws java.io.IOException, java.security.SignatureException
java.io.IOExceptionjava.security.SignatureExceptionpublic final byte[] getBytes()
public final byte[] getDigest()
public final void write(HOutput output) throws java.io.IOException
write in class StreamObjectjava.io.IOException