SqlEnclaveSession Class

Definition

封装 SqlClient 和 SQL Server 内部的 enclave 之间的安全会话状态,可用于计算使用 Always Encrypted 保护的加密列。Encapsulates the state of a secure session between SqlClient and an enclave inside SQL Server, which can be used for computations on encrypted columns protected with Always Encrypted.

public ref class SqlEnclaveSession
public class SqlEnclaveSession
type SqlEnclaveSession = class
Public Class SqlEnclaveSession
Inheritance
SqlEnclaveSession

Constructors

SqlEnclaveSession(Byte[], Int64)

实例化 SqlEnclaveSession 类的新实例。Instantiates a new instance of the SqlEnclaveSession class.

Properties

SessionId

获取会话 ID。Gets the session ID.

Methods

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetSessionKey()

获取对称密钥,SqlClient 使用该密钥对通过会话发送至 enclave 的所有信息进行加密。Gets the symmetric key that SqlClient uses to encrypt all the information it sends to the enclave using the session.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to