Click or drag to resize

ISecurityContext Interface

Represents the security context being used for authentication.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public interface ISecurityContext : IDisposable

The ISecurityContext type exposes the following members.

Properties
  NameDescription
Public propertyIsInitialized
Whether the security context has been initialized.
Top
Methods
  NameDescription
Public methodDecryptMessage
Decrypts ciphertext to plaintext.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEncryptMessage
Encrypts plaintext to ciphertext.
Public methodNext
Negotiates the steps of an authentication handshake.
Top
See Also