PHP Class Jose\Algorithm\KeyEncryption\AESKW

Inheritance: implements Jose\Algorithm\KeyEncryption\KeyWrappingInterface
Afficher le fichier Open project: spomky-labs/jose

Méthodes publiques

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

Méthodes protégées

Méthode Description
checkKey ( Jose\Object\JWKInterface $key )
getKeySize ( ) : integer
getWrapper ( ) : AESKW\A128KW | AESKW\A192KW | AESKW\A256KW

Method Details

checkKey() protected méthode

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

getKeyManagementMode() public méthode

getKeySize() abstract protected méthode

abstract protected getKeySize ( ) : integer
Résultat integer

getWrapper() abstract protected méthode

abstract protected getWrapper ( ) : AESKW\A128KW | AESKW\A192KW | AESKW\A256KW
Résultat AESKW\A128KW | AESKW\A192KW | AESKW\A256KW

unwrapKey() public méthode

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

wrapKey() public méthode

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