|
The MongoDB\Driver\ClientEncryption classはじめにThe MongoDB\Driver\ClientEncryption class handles creation of data keys for client-side encryption, as well as manually encrypting and decrypting values. クラス概要MongoDB\Driver\ClientEncryption
final
class MongoDB\Driver\ClientEncryption
{
/* 定数 */
const
string
MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC = AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic;
const
string
MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM = AEAD_AES_256_CBC_HMAC_SHA_512-Random;
const
string
MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED = Indexed;
const
string
MongoDB\Driver\ClientEncryption::ALGORITHM_UNINDEXED = Unindexed;
const
string
MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE = Range;
const
string
MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW = RangePreview;
const
string
MongoDB\Driver\ClientEncryption::QUERY_TYPE_EQUALITY = equality;
const
string
MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE = range;
const
string
MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW = rangePreview;
/* メソッド */
final public objectnull addKeyAltName(MongoDB\BSON\Binary
$keyId , string $keyAltName )final public __construct(array
$options )final public MongoDB\BSON\Binary createDataKey(string
$kmsProvider , arraynull $options = null )final public mixed decrypt(MongoDB\BSON\Binary
$value )final public object deleteKey(MongoDB\BSON\Binary
$keyId )final public MongoDB\BSON\Binary encrypt(mixed
$value , arraynull $options = null )final public object encryptExpression(arrayobject
$expr , arraynull $options = null )final public objectnull getKey(MongoDB\BSON\Binary
$keyId )final public objectnull getKeyByAltName(string
$keyAltName )final public MongoDB\Driver\Cursor getKeys()
final public objectnull removeKeyAltName(MongoDB\BSON\Binary
$keyId , string $keyAltName )final public object rewrapManyDataKey(arrayobject
}$filter , arraynull $options = null )定義済み定数
変更履歴
参考
|