public class SignatureAndHashAlgorithm extends Object
| Modifier and Type | Field and Description |
|---|---|
protected short |
hash |
protected short |
signature |
| Constructor and Description |
|---|
SignatureAndHashAlgorithm(short hash,
short signature) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encode this
SignatureAndHashAlgorithm to an OutputStream. |
boolean |
equals(Object obj) |
short |
getHash() |
short |
getSignature() |
int |
hashCode() |
static SignatureAndHashAlgorithm |
parse(InputStream input)
Parse a
SignatureAndHashAlgorithm from an InputStream. |
public SignatureAndHashAlgorithm(short hash,
short signature)
hash - HashAlgorithmsignature - SignatureAlgorithmpublic short getHash()
HashAlgorithmpublic short getSignature()
SignatureAlgorithmpublic void encode(OutputStream output) throws IOException
SignatureAndHashAlgorithm to an OutputStream.output - the OutputStream to encode to.IOExceptionpublic static SignatureAndHashAlgorithm parse(InputStream input) throws IOException
SignatureAndHashAlgorithm from an InputStream.input - the InputStream to parse from.SignatureAndHashAlgorithm object.IOExceptionCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.