AlgorithmSuite
: int
in package
Table of Contents
Cases
- ALG_AES_256_CBC_IV16_NO_KDF = 0x70
- ALG_AES_256_GCM_HKDF_SHA512_COMMIT_KEY = 0x73
- ALG_AES_256_GCM_IV12_TAG16_NO_KDF = 0x72
Methods
- getCipherBlockSizeBits() : int
- getCipherBlockSizeBytes() : int
- getCipherMaxContentLengthBits() : int
- getCipherMaxContentLengthBytes() : int
- getCipherName() : string
- getCipherTagLengthBits() : int
- getCipherTagLengthInBytes() : int
- getCommitmentInputKeyLengthBits() : int
- getCommitmentInputKeyLengthBytes() : int
- getCommitmentOutputKeyLengthBits() : int
- getCommitmentOutputKeyLengthBytes() : int
- getDataKeyAlgorithm() : string
- getDataKeyLengthBits() : string
- getDerivationInputKeyLengthBits() : int
- getDerivationInputKeyLengthBytes() : int
- getDerivationOutputKeyLengthBits() : int
- getDerivationOutputKeyLengthBytes() : int
- getHashingAlgorithm() : string
- getId() : int
- getIvLengthBits() : int
- getIvLengthBytes() : int
- getKeyCommitmentSaltLengthBits() : int
- isKeyCommitting() : bool
- isLegacy() : bool
- validateCommitmentPolicyOnEncrypt() : self
Cases
ALG_AES_256_GCM_HKDF_SHA512_COMMIT_KEY
ALG_AES_256_GCM_IV12_TAG16_NO_KDF
ALG_AES_256_CBC_IV16_NO_KDF
Methods
getCipherBlockSizeBits()
public
getCipherBlockSizeBits() : int
Return values
intgetCipherBlockSizeBytes()
public
getCipherBlockSizeBytes() : int
Return values
intgetCipherMaxContentLengthBits()
public
getCipherMaxContentLengthBits() : int
Return values
intgetCipherMaxContentLengthBytes()
public
getCipherMaxContentLengthBytes() : int
Return values
intgetCipherName()
public
getCipherName() : string
Return values
stringgetCipherTagLengthBits()
public
getCipherTagLengthBits() : int
Return values
intgetCipherTagLengthInBytes()
public
getCipherTagLengthInBytes() : int
Return values
intgetCommitmentInputKeyLengthBits()
public
getCommitmentInputKeyLengthBits() : int
Return values
intgetCommitmentInputKeyLengthBytes()
public
getCommitmentInputKeyLengthBytes() : int
Return values
intgetCommitmentOutputKeyLengthBits()
public
getCommitmentOutputKeyLengthBits() : int
Return values
intgetCommitmentOutputKeyLengthBytes()
public
getCommitmentOutputKeyLengthBytes() : int
Return values
intgetDataKeyAlgorithm()
public
getDataKeyAlgorithm() : string
Return values
stringgetDataKeyLengthBits()
public
getDataKeyLengthBits() : string
Return values
stringgetDerivationInputKeyLengthBits()
public
getDerivationInputKeyLengthBits() : int
Return values
intgetDerivationInputKeyLengthBytes()
public
getDerivationInputKeyLengthBytes() : int
Return values
intgetDerivationOutputKeyLengthBits()
public
getDerivationOutputKeyLengthBits() : int
Return values
intgetDerivationOutputKeyLengthBytes()
public
getDerivationOutputKeyLengthBytes() : int
Return values
intgetHashingAlgorithm()
public
getHashingAlgorithm() : string
Return values
stringgetId()
public
getId() : int
Return values
intgetIvLengthBits()
public
getIvLengthBits() : int
Return values
intgetIvLengthBytes()
public
getIvLengthBytes() : int
Return values
intgetKeyCommitmentSaltLengthBits()
public
getKeyCommitmentSaltLengthBits() : int
Return values
intisKeyCommitting()
public
isKeyCommitting() : bool
Return values
boolisLegacy()
public
isLegacy() : bool
Return values
boolvalidateCommitmentPolicyOnEncrypt()
public
static validateCommitmentPolicyOnEncrypt(array<string|int, mixed> $cipherOptions, string $keyCommitmentPolicy) : self
Parameters
- $cipherOptions : array<string|int, mixed>
- $keyCommitmentPolicy : string