⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sessionkeyinfo.cs

📁 C#下证书数据库保存、修改、发布。在WINDOWS环境软件下成功应用
💻 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 + -