Package org.bouncycastle.tls
Class CertificateVerify
java.lang.Object
org.bouncycastle.tls.CertificateVerify
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream output) Encode thisCertificateVerifyto anOutputStream.intbyte[]static CertificateVerifyparse(TlsContext context, InputStream input) Parse aCertificateVerifyfrom anInputStream.
-
Constructor Details
-
CertificateVerify
public CertificateVerify(int algorithm, byte[] signature)
-
-
Method Details
-
getAlgorithm
public int getAlgorithm()- Returns:
- the algorithm (a signature scheme)
- See Also:
-
getSignature
public byte[] getSignature() -
encode
Encode thisCertificateVerifyto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
IOException
-
parse
Parse aCertificateVerifyfrom anInputStream.- Parameters:
context- theTlsContextof the current connection.input- theInputStreamto parse from.- Returns:
- a
CertificateVerifyobject. - Throws:
IOException
-