SDK for PHP V3

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
int

getCipherBlockSizeBytes()

public getCipherBlockSizeBytes() : int
Return values
int

getCipherMaxContentLengthBits()

public getCipherMaxContentLengthBits() : int
Return values
int

getCipherMaxContentLengthBytes()

public getCipherMaxContentLengthBytes() : int
Return values
int

getCipherName()

public getCipherName() : string
Return values
string

getCipherTagLengthBits()

public getCipherTagLengthBits() : int
Return values
int

getCipherTagLengthInBytes()

public getCipherTagLengthInBytes() : int
Return values
int

getCommitmentInputKeyLengthBits()

public getCommitmentInputKeyLengthBits() : int
Return values
int

getCommitmentInputKeyLengthBytes()

public getCommitmentInputKeyLengthBytes() : int
Return values
int

getCommitmentOutputKeyLengthBits()

public getCommitmentOutputKeyLengthBits() : int
Return values
int

getCommitmentOutputKeyLengthBytes()

public getCommitmentOutputKeyLengthBytes() : int
Return values
int

getDataKeyAlgorithm()

public getDataKeyAlgorithm() : string
Return values
string

getDataKeyLengthBits()

public getDataKeyLengthBits() : string
Return values
string

getDerivationInputKeyLengthBits()

public getDerivationInputKeyLengthBits() : int
Return values
int

getDerivationInputKeyLengthBytes()

public getDerivationInputKeyLengthBytes() : int
Return values
int

getDerivationOutputKeyLengthBits()

public getDerivationOutputKeyLengthBits() : int
Return values
int

getDerivationOutputKeyLengthBytes()

public getDerivationOutputKeyLengthBytes() : int
Return values
int

getHashingAlgorithm()

public getHashingAlgorithm() : string
Return values
string

getId()

public getId() : int
Return values
int

getIvLengthBits()

public getIvLengthBits() : int
Return values
int

getIvLengthBytes()

public getIvLengthBytes() : int
Return values
int

getKeyCommitmentSaltLengthBits()

public getKeyCommitmentSaltLengthBits() : int
Return values
int

isKeyCommitting()

public isKeyCommitting() : bool
Return values
bool

isLegacy()

public isLegacy() : bool
Return values
bool

validateCommitmentPolicyOnEncrypt()

public static validateCommitmentPolicyOnEncrypt(array<string|int, mixed> $cipherOptions, string $keyCommitmentPolicy) : self
Parameters
$cipherOptions : array<string|int, mixed>
$keyCommitmentPolicy : string
Return values
self
<-- modeled_exceptions -->
On this page