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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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