Top Fields Constructors Methods
org.bouncycastle.tls

public final Class CertificateVerify

extends Object
Class Inheritance
Imports
java.io.IOException, .InputStream, .OutputStream

Field Summary

Modifier and TypeField and Description
private final int
private final byte[]

Constructor Summary

AccessConstructor and Description
public
CertificateVerify(int algorithm, byte[] signature)

Method Summary

Modifier and TypeMethod and Description
public void
encode(OutputStream
the OutputStream to encode to.
output
)

Encode this CertificateVerify to an OutputStream.

public int

Returns:

the algorithm (a signature scheme)
getAlgorithm
()

public byte[]
public static CertificateVerify

Returns:

a CertificateVerify object.
parse
(TlsContext
the TlsContext of the current connection.
context
,
InputStream
the InputStream to parse from.
input
)

Parse a CertificateVerify from an InputStream.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

algorithmback to summary
private final int algorithm
signatureback to summary
private final byte[] signature

Constructor Detail

CertificateVerifyback to summary
public CertificateVerify(int algorithm, byte[] signature)

Method Detail

encodeback to summary
public void encode(OutputStream output) throws IOException

Encode this CertificateVerify to an OutputStream.

Parameters
output:OutputStream

the OutputStream to encode to.

getAlgorithmback to summary
public int getAlgorithm()
Returns:int

the algorithm (a signature scheme)

See Also
SignatureScheme
getSignatureback to summary
public byte[] getSignature()
parseback to summary
public static CertificateVerify parse(TlsContext context, InputStream input) throws IOException

Parse a CertificateVerify from an InputStream.

Parameters
context:TlsContext

the TlsContext of the current connection.

input:InputStream

the InputStream to parse from.

Returns:CertificateVerify

a CertificateVerify object.