?? sessionkeyinfo.cs
字號:
using System;
namespace Core.Cryptography
{
/// <summary>
/// SessionKeyInfo contains a wrapped session key and the associated Session Key ID. This class
/// is used to pass a session from the KeyManager to the client.
/// </summary>
[Serializable]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.oswsolutions.com/")]
public class SessionKeyInfo
{
private Core.Cryptography.WrappedData _wrappedKey;
private int _keyId;
/// <summary>
/// WrappedKey is an ecrypted session key. It contians the information needed to decrypt
/// the key by the consumer.
/// </summary>
public Core.Cryptography.WrappedData WrappedKey
{
get { return _wrappedKey; }
set { _wrappedKey = value; }
}
/// <summary>
/// The KeyId that can be used to retrieve the key from the KeyManager
/// </summary>
public int KeyId
{
get { return _keyId; }
set { _keyId = value; }
}
public SessionKeyInfo()
{
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -