Class UrlAndHash
- Namespace
- Org.BouncyCastle.Tls
- Assembly
- BouncyCastle.Cryptography.dll
RFC 6066 5.
public sealed class UrlAndHash
- Inheritance
-
UrlAndHash
- Inherited Members
Constructors
UrlAndHash(string, byte[])
public UrlAndHash(string url, byte[] sha1Hash)
Parameters
Properties
Sha1Hash
public byte[] Sha1Hash { get; }
Property Value
- byte[]
Url
public string Url { get; }
Property Value
Methods
Encode(Stream)
Encode this UrlAndHash to a Stream.
public void Encode(Stream output)
Parameters
Exceptions
Parse(TlsContext, Stream)
Parse a UrlAndHash from a Stream.
public static UrlAndHash Parse(TlsContext context, Stream input)
Parameters
contextTlsContextthe TlsContext of the current connection.
inputStreamthe Stream to parse from.
Returns
- UrlAndHash
a UrlAndHash object.