Table of Contents

Class CertificateUrl

Namespace
Org.BouncyCastle.Tls
Assembly
BouncyCastle.Cryptography.dll

RFC 3546 3.3

public sealed class CertificateUrl
Inheritance
CertificateUrl
Inherited Members

Constructors

CertificateUrl(short, IList<UrlAndHash>)

public CertificateUrl(short type, IList<UrlAndHash> urlAndHashList)

Parameters

type short

see CertChainType for valid constants.

urlAndHashList IList<UrlAndHash>

an IList<T> of UrlAndHash.

Properties

Type

public short Type { get; }

Property Value

short

CertChainType

UrlAndHashList

public IList<UrlAndHash> UrlAndHashList { get; }

Property Value

IList<UrlAndHash>

an IList<T> of UrlAndHash.

Methods

Encode(Stream)

Encode this CertificateUrl to a Stream.

public void Encode(Stream output)

Parameters

output Stream

the Stream to encode to.

Exceptions

IOException

Parse(TlsContext, Stream)

Parse a CertificateUrl from a Stream.

public static CertificateUrl Parse(TlsContext context, Stream input)

Parameters

context TlsContext

the TlsContext of the current connection.

input Stream

the Stream to parse from.

Returns

CertificateUrl

a CertificateUrl object.

Exceptions

IOException