|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.tls.SignatureAndHashAlgorithm
RFC 5246 7.4.1.4.1
Field Summary | |
protected short |
hash
Deprecated. |
protected short |
signature
Deprecated. |
Constructor Summary | |
SignatureAndHashAlgorithm(short hash,
short signature)
Deprecated. |
Method Summary | |
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 . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected short hash
protected short signature
Constructor Detail |
public SignatureAndHashAlgorithm(short hash, short signature)
hash
- HashAlgorithm
signature
- SignatureAlgorithm
Method Detail |
public short getHash()
HashAlgorithm
public short getSignature()
SignatureAlgorithm
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void encode(java.io.OutputStream output) throws java.io.IOException
SignatureAndHashAlgorithm
to an OutputStream
.output
- the OutputStream
to encode to.java.io.IOException
- public 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
-
|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |