Class SessionInfo
Inheritance
System.Object
SessionInfo
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: FixAntenna.Encryption.dll
Syntax
public abstract class SessionInfo
Constructors
SessionInfo()
Declaration
SessionInfo(Byte[])
Declaration
public SessionInfo(byte[] key)
Parameters
Type |
Name |
Description |
System.Byte[] |
key |
|
Fields
Iv
Initialization vector (IV)
Declaration
Field Value
Type |
Description |
System.Byte[] |
|
See Also
Key
Declaration
Field Value
Type |
Description |
System.Byte[] |
|
Methods
FromBuffer(Byte[])
Declaration
public abstract void FromBuffer(byte[] buffer)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
GenerateIv()
Generate initialization vector for encryption.
Declaration
public virtual void GenerateIv()
IsEqualDesKey(Byte[])
Declaration
public abstract bool IsEqualDesKey(byte[] sessionBuf)
Parameters
Type |
Name |
Description |
System.Byte[] |
sessionBuf |
|
Returns
Type |
Description |
System.Boolean |
|
IsEqualsIv(Byte[])
Declaration
public abstract bool IsEqualsIv(byte[] sessionBuf)
Parameters
Type |
Name |
Description |
System.Byte[] |
sessionBuf |
|
Returns
Type |
Description |
System.Boolean |
|
ToByteArray()
Declaration
public abstract byte[] ToByteArray()
Returns
Type |
Description |
System.Byte[] |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()