public class CertificateURL
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected short |
type |
|
protected java.util.Vector |
urlAndHashList |
Constructor | Description |
---|---|
CertificateURL(short type,
java.util.Vector urlAndHashList) |
Modifier and Type | Method | Description |
---|---|---|
void |
encode(java.io.OutputStream output) |
Encode this
CertificateURL to an OutputStream . |
short |
getType() |
|
java.util.Vector |
getURLAndHashList() |
|
static CertificateURL |
parse(TlsContext context,
java.io.InputStream input) |
Parse a
CertificateURL from an InputStream . |
public CertificateURL(short type, java.util.Vector urlAndHashList)
type
- see CertChainType
for valid constants.urlAndHashList
- a Vector
of URLAndHash
.public short getType()
CertChainType
public java.util.Vector getURLAndHashList()
Vector
of URLAndHash
public void encode(java.io.OutputStream output) throws java.io.IOException
CertificateURL
to an OutputStream
.output
- the OutputStream
to encode to.java.io.IOException
public static CertificateURL parse(TlsContext context, java.io.InputStream input) throws java.io.IOException
CertificateURL
from an InputStream
.context
- the TlsContext
of the current connection.input
- the InputStream
to parse from.CertificateURL
object.java.io.IOException