MongoDB\Driver\ClientEncryption::getKeys

Gets all key documents

説明

final public MongoDB\Driver\Cursor MongoDB\Driver\ClientEncryption::getKeys()

Finds all key documents in the key vault collection.

パラメータ

この関数にはパラメータはありません。

戻り値

Returns MongoDB\Driver\Cursor on success.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
  • Throws MongoDB\Driver\Exception\ConnectionException if connection to the server fails (for reasons other than authentication).
  • Throws MongoDB\Driver\Exception\AuthenticationException if authentication is needed and fails.
  • Throws MongoDB\Driver\Exception\RuntimeException on other errors.