|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.tls.DigitallySigned
Field Summary | |
protected SignatureAndHashAlgorithm |
algorithm
Deprecated. |
protected byte[] |
signature
Deprecated. |
Constructor Summary | |
DigitallySigned(SignatureAndHashAlgorithm algorithm,
byte[] signature)
Deprecated. |
Method Summary | |
void |
encode(java.io.OutputStream output)
Deprecated. Encode this DigitallySigned to an OutputStream . |
SignatureAndHashAlgorithm |
getAlgorithm()
Deprecated. |
byte[] |
getSignature()
Deprecated. |
static DigitallySigned |
parse(TlsContext context,
java.io.InputStream input)
Deprecated. Parse a DigitallySigned from an InputStream . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SignatureAndHashAlgorithm algorithm
protected byte[] signature
Constructor Detail |
public DigitallySigned(SignatureAndHashAlgorithm algorithm, byte[] signature)
Method Detail |
public SignatureAndHashAlgorithm getAlgorithm()
SignatureAndHashAlgorithm
(or null before TLS 1.2).public byte[] getSignature()
public void encode(java.io.OutputStream output) throws java.io.IOException
DigitallySigned
to an OutputStream
.
output
- the OutputStream
to encode to.
java.io.IOException
public static DigitallySigned parse(TlsContext context, java.io.InputStream input) throws java.io.IOException
DigitallySigned
from an InputStream
.
context
- the TlsContext
of the current connection.input
- the InputStream
to parse from.
DigitallySigned
object.
java.io.IOException
|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |