PHP Class Jose\Algorithm\KeyEncryption\AESGCMKW

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

Public Methods

Method Description
getKeyManagementMode ( )
unwrapKey ( Jose\Object\JWKInterface $key, $encrypted_cek, array $header )
wrapKey ( Jose\Object\JWKInterface $key, $cek, array $complete_headers, array &$additional_headers )

Protected Methods

Method Description
checkAdditionalParameters ( array $header )
checkKey ( Jose\Object\JWKInterface $key )
getKeySize ( ) : integer

Private Methods

Method Description
getMode ( string $k ) : string

Method Details

checkAdditionalParameters() protected method

protected checkAdditionalParameters ( array $header )
$header array

checkKey() protected method

protected checkKey ( Jose\Object\JWKInterface $key )
$key Jose\Object\JWKInterface

getKeyManagementMode() public method

getKeySize() abstract protected method

abstract protected getKeySize ( ) : integer
return integer

unwrapKey() public method

public unwrapKey ( Jose\Object\JWKInterface $key, $encrypted_cek, array $header )
$key Jose\Object\JWKInterface
$header array

wrapKey() public method

public wrapKey ( Jose\Object\JWKInterface $key, $cek, array $complete_headers, array &$additional_headers )
$key Jose\Object\JWKInterface
$complete_headers array
$additional_headers array