SqlEnclaveSession SqlEnclaveSession SqlEnclaveSession SqlEnclaveSession Class

Definition

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
SqlEnclaveSessionSqlEnclaveSessionSqlEnclaveSessionSqlEnclaveSession

Constructors

SqlEnclaveSession(Byte[], Int64) SqlEnclaveSession(Byte[], Int64) SqlEnclaveSession(Byte[], Int64) SqlEnclaveSession(Byte[], Int64)

Instantiates a new instance of the SqlEnclaveSession class.

Properties

SessionId SessionId SessionId SessionId

Gets the session ID.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSessionKey() GetSessionKey() GetSessionKey() GetSessionKey()

Gets the symmetric key that SqlClient uses to encrypt all the information it sends to the enclave using the session.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to