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 voidencode(java.io.OutputStream output)Encode thisCertificateVerifyto anOutputStream.intgetAlgorithm()byte[]getSignature()static CertificateVerifyparse(TlsContext context, java.io.InputStream input)Parse aCertificateVerifyfrom 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.IOExceptionEncode thisCertificateVerifyto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static CertificateVerify parse(TlsContext context, java.io.InputStream input) throws java.io.IOException
Parse aCertificateVerifyfrom anInputStream.- Parameters:
context- theTlsContextof the current connection.input- theInputStreamto parse from.- Returns:
- a
CertificateVerifyobject. - Throws:
java.io.IOException
-
-