Class ProtocolName
- Namespace
- Org.BouncyCastle.Tls
- Assembly
- BouncyCastle.Cryptography.dll
RFC 7301 Represents a protocol name for use with ALPN.
public sealed class ProtocolName
- Inheritance
-
ProtocolName
- Inherited Members
Fields
Acme_Tls_1
public static readonly ProtocolName Acme_Tls_1
Field Value
Coap
public static readonly ProtocolName Coap
Field Value
Dns_Over_Quic
public static readonly ProtocolName Dns_Over_Quic
Field Value
Dns_Over_Tls
public static readonly ProtocolName Dns_Over_Tls
Field Value
Ftp
public static readonly ProtocolName Ftp
Field Value
Http_1_1
public static readonly ProtocolName Http_1_1
Field Value
Http_2_Tcp
public static readonly ProtocolName Http_2_Tcp
Field Value
Http_2_Tls
public static readonly ProtocolName Http_2_Tls
Field Value
Http_3
public static readonly ProtocolName Http_3
Field Value
Imap
public static readonly ProtocolName Imap
Field Value
Irc
public static readonly ProtocolName Irc
Field Value
ManageSieve
public static readonly ProtocolName ManageSieve
Field Value
Nntp_Reading
public static readonly ProtocolName Nntp_Reading
Field Value
Nntp_Transit
public static readonly ProtocolName Nntp_Transit
Field Value
Ntske_1
public static readonly ProtocolName Ntske_1
Field Value
Oasis_Mqtt
public static readonly ProtocolName Oasis_Mqtt
Field Value
Pop3
public static readonly ProtocolName Pop3
Field Value
Smb_2
public static readonly ProtocolName Smb_2
Field Value
Spdy_1
public static readonly ProtocolName Spdy_1
Field Value
Spdy_2
public static readonly ProtocolName Spdy_2
Field Value
Spdy_3
public static readonly ProtocolName Spdy_3
Field Value
Stun_Nat_Discovery
public static readonly ProtocolName Stun_Nat_Discovery
Field Value
Stun_Turn
public static readonly ProtocolName Stun_Turn
Field Value
Sun_Rpc
public static readonly ProtocolName Sun_Rpc
Field Value
WebRtc
public static readonly ProtocolName WebRtc
Field Value
WebRtc_Confidential
public static readonly ProtocolName WebRtc_Confidential
Field Value
Xmpp_Client
public static readonly ProtocolName Xmpp_Client
Field Value
Xmpp_Server
public static readonly ProtocolName Xmpp_Server
Field Value
Methods
AsRawBytes(byte[])
public static ProtocolName AsRawBytes(byte[] bytes)
Parameters
bytesbyte[]
Returns
AsUtf8Encoding(string)
public static ProtocolName AsUtf8Encoding(string name)
Parameters
namestring
Returns
Encode(Stream)
Encode this ProtocolName to a Stream.
public void Encode(Stream output)
Parameters
Exceptions
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetBytes()
public byte[] GetBytes()
Returns
- byte[]
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetUtf8Decoding()
public string GetUtf8Decoding()
Returns
Parse(Stream)
Parse a ProtocolName from a Stream.
public static ProtocolName Parse(Stream input)
Parameters
Returns
- ProtocolName
a ProtocolName object.