PHP Class Jose\Algorithm\ContentEncryption\AESGCM

Inheritance: implements Jose\Algorithm\ContentEncryptionAlgorithmInterface
Datei anzeigen Open project: spomky-labs/jose

Public Methods

Method Description
decryptContent ( $data, $cek, $iv, $aad, $encoded_protected_header, $tag )
encryptContent ( $data, $cek, $iv, $aad, $encoded_protected_header, &$tag )
getCEKSize ( ) : integer
getIVSize ( ) : integer

Protected Methods

Method Description
getKeySize ( ) : integer

Private Methods

Method Description
getMode ( string $k ) : string

Method Details

decryptContent() public method

public decryptContent ( $data, $cek, $iv, $aad, $encoded_protected_header, $tag )

encryptContent() public method

public encryptContent ( $data, $cek, $iv, $aad, $encoded_protected_header, &$tag )

getCEKSize() public method

public getCEKSize ( ) : integer
return integer

getIVSize() public method

public getIVSize ( ) : integer
return integer

getKeySize() abstract protected method

abstract protected getKeySize ( ) : integer
return integer