public class CertificateURL extends Object
| Modifier and Type | Field and Description |
|---|---|
protected short |
type |
protected Vector |
urlAndHashList |
| Constructor and Description |
|---|
CertificateURL(short type,
Vector urlAndHashList) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encode this
CertificateURL to an OutputStream. |
short |
getType() |
Vector |
getURLAndHashList() |
static CertificateURL |
parse(TlsContext context,
InputStream input)
Parse a
CertificateURL from an InputStream. |
protected short type
protected Vector urlAndHashList
public CertificateURL(short type,
Vector urlAndHashList)
type - see CertChainType for valid constants.urlAndHashList - a Vector of URLAndHash.public short getType()
CertChainTypepublic Vector getURLAndHashList()
Vector of URLAndHashpublic void encode(OutputStream output) throws IOException
CertificateURL to an OutputStream.output - the OutputStream to encode to.IOExceptionpublic static CertificateURL parse(TlsContext context, InputStream input) throws IOException
CertificateURL from an InputStream.context - the TlsContext of the current connection.input - the InputStream to parse from.CertificateURL object.IOExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.