Top Inners Fields Constructors Methods
org.bouncycastle.tls

public Class CertificateURL

extends Object
Class Inheritance
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .IOException, .InputStream, .OutputStream, java.util.Vector

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
protected short
protected Vector<E>

Constructor Summary

AccessConstructor and Description
public
CertificateURL(short
see CertChainType for valid constants.
type
,
Vector<E> urlAndHashList)

Method Summary

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

Encode this CertificateURL to an OutputStream.

public short
public Vector<E>
public static CertificateURL

Returns:

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

Parse a CertificateURL from an InputStream.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

typeback to summary
protected short type
urlAndHashListback to summary
protected Vector<E> urlAndHashList

Constructor Detail

CertificateURLback to summary
public CertificateURL(short type, Vector<E> urlAndHashList)
Parameters
type:short

see CertChainType for valid constants.

urlAndHashList:Vector<E>

a Vector of URLAndHash.

Method Detail

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

Encode this CertificateURL to an OutputStream.

Parameters
output:OutputStream

the OutputStream to encode to.

getTypeback to summary
public short getType()
Returns:short

CertChainType

getURLAndHashListback to summary
public Vector<E> getURLAndHashList()
Returns:Vector<E>

a Vector of URLAndHash

parseback to summary
public static CertificateURL parse(TlsContext context, InputStream input) throws IOException

Parse a CertificateURL from an InputStream.

Parameters
context:TlsContext

the TlsContext of the current connection.

input:InputStream

the InputStream to parse from.

Returns:CertificateURL

a CertificateURL object.

org.bouncycastle.tls back to summary

pack-priv Class CertificateURL.ListBuffer16

extends ByteArrayOutputStream
Class Inheritance

Field Summary

Inherited from java.io.ByteArrayOutputStream:
bufcount

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
Inherited from java.io.ByteArrayOutputStream:
closeresetsizetoByteArraytoStringtoStringtoStringtoStringwritewritewriteByteswriteTo

Constructor Detail

ListBuffer16back to summary
pack-priv ListBuffer16() throws IOException

Method Detail

encodeToback to summary
pack-priv void encodeTo(OutputStream output) throws IOException