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 占用的非托管资源,还可以另外再释放托管资源。

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)

使用签名和加密(可选)包装输入消息。

适用于