Class SIPAuthorisationDigest
Inheritance
System.Object
SIPAuthorisationDigest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: SIPSorcery.dll
Syntax
public class SIPAuthorisationDigest
Constructors
|
Improve this Doc
View Source
SIPAuthorisationDigest(DigestAlgorithmsEnum)
Declaration
public SIPAuthorisationDigest(DigestAlgorithmsEnum hashAlgorithm = DigestAlgorithmsEnum.MD5)
Parameters
|
Improve this Doc
View Source
Declaration
public SIPAuthorisationDigest(SIPAuthorisationHeadersEnum authorisationType, DigestAlgorithmsEnum hashAlgorithm = DigestAlgorithmsEnum.MD5)
Parameters
|
Improve this Doc
View Source
Declaration
public SIPAuthorisationDigest(SIPAuthorisationHeadersEnum authorisationType, string realm, string username, string password, string uri, string nonce, string request, DigestAlgorithmsEnum hashAlgorithm = DigestAlgorithmsEnum.MD5)
Parameters
Fields
|
Improve this Doc
View Source
Cnonce
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
DigestAlgorithm
Declaration
public DigestAlgorithmsEnum DigestAlgorithm
Field Value
|
Improve this Doc
View Source
HA1
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
METHOD
Declaration
public const string METHOD = "Digest"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Nonce
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
NonceCount
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Opaque
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Password
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Qop
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
QOP_AUTHENTICATION_VALUE
Declaration
public const string QOP_AUTHENTICATION_VALUE = "auth"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Realm
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RequestType
Declaration
public string RequestType
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Response
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
URI
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Username
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
AuthorisationResponseType
Declaration
public SIPAuthorisationHeadersEnum AuthorisationResponseType { get; }
Property Value
|
Improve this Doc
View Source
AuthorisationType
Declaration
public SIPAuthorisationHeadersEnum AuthorisationType { get; }
Property Value
Methods
|
Improve this Doc
View Source
CopyOf()
Declaration
public SIPAuthorisationDigest CopyOf()
Returns
|
Improve this Doc
View Source
GetDigest()
Declaration
public string GetDigest()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IncrementNonceCount()
Declaration
public void IncrementNonceCount()
|
Improve this Doc
View Source
Declaration
public static SIPAuthorisationDigest ParseAuthorisationDigest(SIPAuthorisationHeadersEnum authorisationType, string authorisationRequest)
Parameters
Returns
|
Improve this Doc
View Source
SetCredentials(String, String, String)
Declaration
public void SetCredentials(string ha1, string uri, string method)
Parameters
Type |
Name |
Description |
System.String |
ha1 |
|
System.String |
uri |
|
System.String |
method |
|
|
Improve this Doc
View Source
SetCredentials(String, String, String, String)
Declaration
public void SetCredentials(string username, string password, string uri, string method)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
password |
|
System.String |
uri |
|
System.String |
method |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Extension Methods