Redigeeri

Jagamisviis:


NegotiateAuthentication Class

Definition

Represents a stateful authentication exchange that uses the Negotiate, NTLM, or Kerberos security protocols to authenticate the client or server, in client-server communication.

public ref class NegotiateAuthentication sealed : IDisposable
public sealed class NegotiateAuthentication : IDisposable
type NegotiateAuthentication = class
    interface IDisposable
Public NotInheritable Class NegotiateAuthentication
Implements IDisposable
Inheritance
NegotiateAuthentication
Implements

Constructors

NegotiateAuthentication(NegotiateAuthenticationClientOptions)

Initializes a new instance of the NegotiateAuthentication for client-side authentication session.

NegotiateAuthentication(NegotiateAuthenticationServerOptions)

Initializes a new instance of the NegotiateAuthentication for server-side authentication session.

Properties

ImpersonationLevel

Gets a value that indicates the negotiated level of impersonation.

IsAuthenticated

Gets a value that indicates whether authentication was successfully completed and the session was established.

IsEncrypted

Gets a value that indicates whether data encryption was negotiated.

IsMutuallyAuthenticated

Gets a value that indicates whether both server and client have been authenticated.

IsServer

Gets a value that indicates whether the local side of the authentication is representing the server.

IsSigned

Gets a value that indicates whether data signing was negotiated.

Package

Gets the name of the negotiated authentication package.

ProtectionLevel

Indicates the negotiated level of protection.

RemoteIdentity

Gets information about the identity of the remote party.

TargetName

Gets the target name (service principal name) of the server.

Methods

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

Computes the integrity check of a given message.

Dispose()

Releases the unmanaged resources used by the NegotiateAuthentication and optionally releases the managed resources.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

Evaluates an authentication token sent by the other party and returns a token in response.

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

Evaluates an authentication token sent by the other party and returns a token in response.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Unwrap(ReadOnlySpan<Byte>, IBufferWriter<Byte>, Boolean)

Unwraps an input message with signature or encryption applied by the other party.

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

Unwraps, in place, an input message with signature or encryption applied by the other party.

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

Verifies the message integrity check of a given message.

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

Wraps an input message with a signature and optionally an encryption.

Applies to