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
+7-6
Original file line number
Diff line number
Diff line change
@@ -20,28 +20,29 @@ the enclave attestation protocol as well as the logic for creating and caching e
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
22
<paramname="enclaveSessionParameters">The set of parameters required for an enclave session.</param>
23
-
<paramname="customData">The set of extra data needed for attestating the enclave.</param>
24
-
<paramname="customDataLength">The length of the extra data needed for attestating the enclave.</param>
23
+
<paramname="customData">The set of extra data needed for attesting the enclave.</param>
24
+
<paramname="customDataLength">The length of the extra data needed for attesting the enclave.</param>
25
25
<paramname="sqlEnclaveSession">The requested enclave session or <seelangword="null" /> if the provider doesn't implement session caching.</param>
26
26
<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>
27
27
<summary>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.</summary>
28
28
<remarks>To be added.</remarks>
29
29
</CreateEnclaveSession>
30
30
<GetAttestationParameters>
31
31
<paramname="attestationUrl">The endpoint of an attestation service for attesting the enclave.</param>
32
-
<paramname="customData">A set of extra data needed for attestating the enclave.</param>
33
-
<paramname="customDataLength">The length of the extra data needed for attestating the enclave.</param>
32
+
<paramname="customData">A set of extra data needed for attesting the enclave.</param>
33
+
<paramname="customDataLength">The length of the extra data needed for attesting the enclave.</param>
34
34
<summary>Gets the information that SqlClient subsequently uses to initiate the process of attesting the enclave and to establish a secure session with the enclave.</summary>
35
35
<returns>The information SqlClient subsequently uses to initiate the process of attesting the enclave and to establish a secure session with the enclave.</returns>
36
36
<remarks>To be added.</remarks>
37
37
</GetAttestationParameters>
38
38
<GetEnclaveSession>
39
39
<paramname="enclaveSessionParameters">The set of parameters required for enclave session.</param>
40
40
<paramname="generateCustomData"><seelangword="true" /> to indicate that a set of extra data needs to be generated for attestation; otherwise, <seelangword="false" />.</param>
41
+
<paramname="isRetry">Indicates if this is a retry from a failed call.</param>
41
42
<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
43
<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>
43
-
<paramname="customData">A set of extra data needed for attestating the enclave.</param>
44
-
<paramname="customDataLength">The length of the extra data needed for attestating the enclave.</param>
44
+
<paramname="customData">A set of extra data needed for attesting the enclave.</param>
45
+
<paramname="customDataLength">The length of the extra data needed for attesting the enclave.</param>
45
46
<summary>When overridden in a derived class, looks up an existing enclave session information in the enclave session cache. If the enclave provider doesn't implement enclave session caching, this method is expected to return <seelangword="null" /> in the <paramrefname="sqlEnclaveSession" /> parameter.
Copy file name to clipboardexpand all lines: src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlColumnEncryptionEnclaveProvider.NetCoreApp.cs
+2-2
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ internal abstract partial class SqlColumnEncryptionEnclaveProvider
15
15
/// <param name="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>
/// <param name="enclaveSessionParameters">The set of parameters required for enclave session.</param>
18
-
/// <param name="customData">The set of extra data needed for attestating the enclave.</param>
19
-
/// <param name="customDataLength">The length of the extra data needed for attestating the enclave.</param>
18
+
/// <param name="customData">The set of extra data needed for attesting the enclave.</param>
19
+
/// <param name="customDataLength">The length of the extra data needed for attesting the enclave.</param>
20
20
/// <param name="sqlEnclaveSession">The requested enclave session or null if the provider does not implement session caching.</param>
21
21
/// <param name="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>
0 commit comments