Deprecated

This interface will be removed in the next major version.

interface AutoEncrypter {
    new AutoEncrypternew (client, options): AutoEncrypter;
    cryptSharedLibVersionInfo: {
        version: bigint;
        versionStr: string;
    };
    decrypt(cmd, options, callback): void;
    encrypt(ns, cmd, options, callback): void;
    init(cb): void;
    teardown(force, callback): void;
}

Constructors

Properties

cryptSharedLibVersionInfo: {
    version: bigint;
    versionStr: string;
}

Type declaration

  • version: bigint
  • versionStr: string

Methods

  • Parameters

    Returns void

  • Parameters

    Returns void