Class SDPSecurityDescription.KeyParameter
Inheritance
System.Object
SDPSecurityDescription.KeyParameter
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 KeyParameter
Constructors
|
Improve this Doc
View Source
KeyParameter()
Declaration
|
Improve this Doc
View Source
KeyParameter(Byte[], Byte[])
Declaration
public KeyParameter(byte[] key, byte[] salt)
Parameters
Type |
Name |
Description |
System.Byte[] |
key |
|
System.Byte[] |
salt |
|
|
Improve this Doc
View Source
KeyParameter(String, String)
Declaration
public KeyParameter(string key, string salt)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
salt |
|
Fields
|
Improve this Doc
View Source
KEY_METHOD
Declaration
public const string KEY_METHOD = "inline"
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
Key
Declaration
public byte[] Key { get; set; }
Property Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
KeySaltBase64
Declaration
public string KeySaltBase64 { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
LifeTime
Declaration
public ulong LifeTime { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
LifeTimeString
Declaration
public string LifeTimeString { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
MkiLength
Declaration
public uint MkiLength { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
MkiValue
Declaration
public uint MkiValue { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Salt
Declaration
public byte[] Salt { get; set; }
Property Value
Type |
Description |
System.Byte[] |
|
Methods
|
Improve this Doc
View Source
CreateNew(SDPSecurityDescription.CryptoSuites, String, String)
Declaration
public static SDPSecurityDescription.KeyParameter CreateNew(SDPSecurityDescription.CryptoSuites cryptoSuite, string key = null, string salt = null)
Parameters
Returns
|
Improve this Doc
View Source
Parse(String, SDPSecurityDescription.CryptoSuites)
Declaration
public static SDPSecurityDescription.KeyParameter Parse(string keyParamString, SDPSecurityDescription.CryptoSuites cryptoSuite = SDPSecurityDescription.CryptoSuites.AES_CM_128_HMAC_SHA1_80)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
TryParse(String, out SDPSecurityDescription.KeyParameter, SDPSecurityDescription.CryptoSuites)
Declaration
public static bool TryParse(string keyParamString, out SDPSecurityDescription.KeyParameter keyParam, SDPSecurityDescription.CryptoSuites cryptoSuite = SDPSecurityDescription.CryptoSuites.AES_CM_128_HMAC_SHA1_80)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods