NegotiateAuthentication 類別

定義

表示使用 Negotiate、NTLM 或 Kerberos 安全性通訊協定在用戶端-伺服器通訊中驗證用戶端或伺服器的具狀態驗證交換。

public ref class NegotiateAuthentication sealed : IDisposable
public sealed class NegotiateAuthentication : IDisposable
type NegotiateAuthentication = class
    interface IDisposable
Public NotInheritable Class NegotiateAuthentication
Implements IDisposable
繼承
NegotiateAuthentication
實作

建構函式

NegotiateAuthentication(NegotiateAuthenticationClientOptions)

初始化 用戶端驗證會話的新實例 NegotiateAuthentication

NegotiateAuthentication(NegotiateAuthenticationServerOptions)

初始化 伺服器端驗證會話的新實例 NegotiateAuthentication

屬性

ImpersonationLevel

取得值,這個值表示模擬的交涉層級。

IsAuthenticated

取得值,這個值表示驗證是否已順利完成,而且已建立會話。

IsEncrypted

取得值,這個值表示是否交涉資料加密。

IsMutuallyAuthenticated

取得值,這個值表示是否已驗證服務器和用戶端。

IsServer

取得值,指出驗證的本機端是否代表伺服器。

IsSigned

取得值,這個值表示是否交涉資料簽署。

Package

取得交涉驗證封裝的名稱。

ProtectionLevel

表示交涉的保護層級。

RemoteIdentity

取得遠端合作物件身分識別的相關資訊。

TargetName

取得伺服器 (服務主體名稱) 的目標名稱。

方法

ComputeIntegrityCheck(ReadOnlySpan<Byte>, IBufferWriter<Byte>)

表示使用 Negotiate、NTLM 或 Kerberos 安全性通訊協定在用戶端-伺服器通訊中驗證用戶端或伺服器的具狀態驗證交換。

Dispose()

釋放 NegotiateAuthentication 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

評估另一方傳送的驗證權杖,並在回應中傳回權杖。

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

評估另一方傳送的驗證權杖,並在回應中傳回權杖。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
Unwrap(ReadOnlySpan<Byte>, IBufferWriter<Byte>, Boolean)

解除包裝輸入訊息,其中包含另一方所套用的簽章或加密。

UnwrapInPlace(Span<Byte>, Int32, Int32, Boolean)

就地解除包裝由另一方套用簽章或加密的輸入訊息。

VerifyIntegrityCheck(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

表示使用 Negotiate、NTLM 或 Kerberos 安全性通訊協定在用戶端-伺服器通訊中驗證用戶端或伺服器的具狀態驗證交換。

Wrap(ReadOnlySpan<Byte>, IBufferWriter<Byte>, Boolean, Boolean)

使用簽章和選擇性加密包裝輸入訊息。

適用於