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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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