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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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