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
typeshortsee CertChainType for valid constants.
urlAndHashListIList<UrlAndHash>an IList<T> of UrlAndHash.
Properties
Type
public short Type { get; }
Property Value
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
Exceptions
Parse(TlsContext, Stream)
Parse a CertificateUrl from a Stream.
public static CertificateUrl Parse(TlsContext context, Stream input)
Parameters
contextTlsContextthe TlsContext of the current connection.
inputStreamthe Stream to parse from.
Returns
- CertificateUrl
a CertificateUrl object.