You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/snippets/Microsoft.Data.SqlClient/SqlColumnEncryptionEnclaveProvider.xml
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ the enclave attestation protocol as well as the logic for creating and caching e
19
19
<CreateEnclaveSession>
20
20
<paramname="enclaveAttestationInfo">The information the provider uses to attest the enclave and generate a symmetric key for the session. The format of this information is specific to the enclave attestation protocol.</param>
21
21
<paramname="clientDiffieHellmanKey">A Diffie-Hellman algorithm object that encapsulates a client-side key pair.</param>
22
-
<paramname="enclaveSessionParameters">The set of parameters required for an enclave session.</param>
22
+
<paramname="attestationUrl">The endpoint of an attestation service for attesting the enclave.</param>
23
+
<paramname="servername">The name of the SQL Server instance containing the enclave.</param>
23
24
<paramname="customData">The set of extra data needed for attestating the enclave.</param>
24
25
<paramname="customDataLength">The length of the extra data needed for attestating the enclave.</param>
25
26
<paramname="sqlEnclaveSession">The requested enclave session or <seelangword="null" /> if the provider doesn't implement session caching.</param>
@@ -36,7 +37,8 @@ the enclave attestation protocol as well as the logic for creating and caching e
36
37
<remarks>To be added.</remarks>
37
38
</GetAttestationParameters>
38
39
<GetEnclaveSession>
39
-
<paramname="enclaveSessionParameters">The set of parameters required for enclave session.</param>
40
+
<paramname="serverName">The name of the SQL Server instance containing the enclave.</param>
41
+
<paramname="attestationUrl">The endpoint of an attestation service, SqlClient contacts to attest the enclave.</param>
40
42
<paramname="generateCustomData"><seelangword="true" /> to indicate that a set of extra data needs to be generated for attestation; otherwise, <seelangword="false" />.</param>
41
43
<paramname="sqlEnclaveSession">When this method returns, the requested enclave session or <seelangword="null" /> if the provider doesn't implement session caching. This parameter is treated as uninitialized.</param>
42
44
<paramname="counter">A counter that the enclave provider is expected to increment each time SqlClient retrieves the session from the cache. The purpose of this field is to prevent replay attacks.</param>
@@ -47,7 +49,8 @@ the enclave attestation protocol as well as the logic for creating and caching e
47
49
<remarks>To be added.</remarks>
48
50
</GetEnclaveSession>
49
51
<InvalidateEnclaveSession>
50
-
<paramname="enclaveSessionParameters">The set of parameters required for enclave session.</param>
52
+
<paramname="serverName">The name of the SQL Server instance containing the enclave.</param>
53
+
<paramname="enclaveAttestationUrl">The endpoint of an attestation service, SqlClient contacts to attest the enclave.</param>
51
54
<paramname="enclaveSession">The session to be invalidated.</param>
52
55
<summary>When overridden in a derived class, looks up and evicts an enclave session from the enclave session cache, if the provider implements session caching.</summary>
Copy file name to clipboardExpand all lines: src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/AzureAttestationBasedEnclaveProvider.NetCoreApp.cs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -65,9 +65,9 @@ internal class AzureAttestationEnclaveProvider : EnclaveProviderBase
65
65
#region Internal methods
66
66
// When overridden in a derived class, looks up an existing enclave session information in the enclave session cache.
67
67
// If the enclave provider doesn't implement enclave session caching, this method is expected to return null in the sqlEnclaveSession parameter.
// Gets the information that SqlClient subsequently uses to initiate the process of attesting the enclave and to establish a secure session with the enclave.
// When overridden in a derived class, performs enclave attestation, generates a symmetric key for the session, creates a an enclave session and stores the session information in the cache.
// When overridden in a derived class, looks up and evicts an enclave session from the enclave session cache, if the provider implements session caching.
0 commit comments