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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
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