PHP Interface Jose\EncrypterInterface

Afficher le fichier Open project: spomky-labs/jose Interface Usage Examples

Méthodes publiques

Méthode Description
createEncrypter ( array $key_encryption_algorithms, array $content_encryption_algorithms, array $compression_methods = ['DEF', 'ZLIB', 'GZ'] ) : Jose\EncrypterInterface
encrypt ( Jose\Object\JWEInterface &$jwe )
getSupportedCompressionMethods ( ) : string[]
getSupportedContentEncryptionAlgorithms ( ) : string[]
getSupportedKeyEncryptionAlgorithms ( ) : string[]

Method Details

createEncrypter() public static méthode

public static createEncrypter ( array $key_encryption_algorithms, array $content_encryption_algorithms, array $compression_methods = ['DEF', 'ZLIB', 'GZ'] ) : Jose\EncrypterInterface
$key_encryption_algorithms array
$content_encryption_algorithms array
$compression_methods array
Résultat Jose\EncrypterInterface

encrypt() public méthode

public encrypt ( Jose\Object\JWEInterface &$jwe )
$jwe Jose\Object\JWEInterface

getSupportedCompressionMethods() public méthode

public getSupportedCompressionMethods ( ) : string[]
Résultat string[]

getSupportedContentEncryptionAlgorithms() public méthode

public getSupportedContentEncryptionAlgorithms ( ) : string[]
Résultat string[]

getSupportedKeyEncryptionAlgorithms() public méthode

public getSupportedKeyEncryptionAlgorithms ( ) : string[]
Résultat string[]