Class Overview
A representation for a certificate chain as used by a tls server.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
Public Constructors
Private constructor from a cert array.
Parameters
certs
| The certs the chain should contain.
|
Public Methods
Returns
- An array which contains the certs, this chain contains.
public
boolean
isEmpty
()
Protected Methods
protected
void
encode
(OutputStream os)
Encodes version of the ClientCertificate message
Parameters
os
| stream to write the message to |
Parse the ServerCertificate message.
Parameters
is
| The stream where to parse from. |
Returns
- A Certificate object with the certs, the server has sended.