public class SignatureAndHashAlgorithm
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected short |
hash
Deprecated.
|
protected short |
signature
Deprecated.
|
| Constructor and Description |
|---|
SignatureAndHashAlgorithm(short hash,
short signature)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(java.io.OutputStream output)
Deprecated.
Encode this
SignatureAndHashAlgorithm to an OutputStream. |
boolean |
equals(java.lang.Object obj)
Deprecated.
|
short |
getHash()
Deprecated.
|
short |
getSignature()
Deprecated.
|
int |
hashCode()
Deprecated.
|
static SignatureAndHashAlgorithm |
parse(java.io.InputStream input)
Deprecated.
Parse a
SignatureAndHashAlgorithm from an InputStream. |
public SignatureAndHashAlgorithm(short hash,
short signature)
hash - HashAlgorithmsignature - SignatureAlgorithmpublic short getHash()
HashAlgorithmpublic short getSignature()
SignatureAlgorithmpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void encode(java.io.OutputStream output)
throws java.io.IOException
SignatureAndHashAlgorithm to an OutputStream.output - the OutputStream to encode to.java.io.IOExceptionpublic static SignatureAndHashAlgorithm parse(java.io.InputStream input) throws java.io.IOException
SignatureAndHashAlgorithm from an InputStream.input - the InputStream to parse from.SignatureAndHashAlgorithm object.java.io.IOException