Class FingerprintAttribute
The SDP session attribute "fingerprint" provides an encryption certificate fingerprint to a remote peer for use with DTLS.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Sdp.Ice
Assembly: FM.LiveSwitch.dll
Syntax
public class FingerprintAttribute : Attribute
Constructors
FingerprintAttribute(String, String)
Initializes a new instance of the FingerprintAttribute class.
Declaration
public FingerprintAttribute(string hashFunction, string fingerprint)
Parameters
Type | Name | Description |
---|---|---|
System.String | hashFunction | The hash function. |
System.String | fingerprint | The fingerprint. |
Properties
Fingerprint
Gets or sets the fingerprint.
Declaration
public string Fingerprint { get; }
Property Value
Type | Description |
---|---|
System.String |
HashFunction
Gets or sets the hash function (i.e. sha-256).
Declaration
public string HashFunction { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the FingerprintAttribute class.
Declaration
public static FingerprintAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute as a string. |
Returns
Type | Description |
---|---|
FingerprintAttribute |
GetAttributeValue()
Gets the value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |