Package org.bouncycastle.tls
Class CertificateVerify
- java.lang.Object
-
- org.bouncycastle.tls.CertificateVerify
-
public final class CertificateVerify extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CertificateVerify(int algorithm, byte[] signature)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(java.io.OutputStream output)
Encode thisCertificateVerify
to anOutputStream
.int
getAlgorithm()
byte[]
getSignature()
static CertificateVerify
parse(TlsContext context, java.io.InputStream input)
Parse aCertificateVerify
from anInputStream
.
-
-
-
Method Detail
-
getAlgorithm
public int getAlgorithm()
- Returns:
- the algorithm (a signature scheme)
- See Also:
SignatureScheme
-
getSignature
public byte[] getSignature()
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOException
Encode thisCertificateVerify
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
java.io.IOException
-
parse
public static CertificateVerify parse(TlsContext context, java.io.InputStream input) throws java.io.IOException
Parse aCertificateVerify
from anInputStream
.- Parameters:
context
- theTlsContext
of the current connection.input
- theInputStream
to parse from.- Returns:
- a
CertificateVerify
object. - Throws:
java.io.IOException
-
-