Метод | Описание | |
---|---|---|
createDecrypter ( array $key_encryption_algorithms, array $content_encryption_algorithms, array $compression_methods = ['DEF', 'ZLIB', 'GZ'] ) : Jose\DecrypterInterface | ||
decryptUsingKey ( Jose\Object\JWEInterface &$input, Jose\Object\JWKInterface $jwk, null | integer &$recipient_index = null ) | ||
decryptUsingKeySet ( Jose\Object\JWEInterface &$input, Jose\Object\JWKSetInterface $jwk_set, null | integer &$recipient_index = null ) | ||
getSupportedCompressionMethods ( ) : string[] | ||
getSupportedContentEncryptionAlgorithms ( ) : string[] | ||
getSupportedKeyEncryptionAlgorithms ( ) : string[] |
public static createDecrypter ( array $key_encryption_algorithms, array $content_encryption_algorithms, array $compression_methods = ['DEF', 'ZLIB', 'GZ'] ) : Jose\DecrypterInterface | ||
$key_encryption_algorithms | array | |
$content_encryption_algorithms | array | |
$compression_methods | array | |
Результат | Jose\DecrypterInterface |
public decryptUsingKey ( Jose\Object\JWEInterface &$input, Jose\Object\JWKInterface $jwk, null | integer &$recipient_index = null ) | ||
$input | Jose\Object\JWEInterface | A JWE object to decrypt |
$jwk | Jose\Object\JWKInterface | The key used to decrypt the input |
$recipient_index | null | integer | If the JWE has been decrypted, an integer that represents the ID of the recipient is set |
public decryptUsingKeySet ( Jose\Object\JWEInterface &$input, Jose\Object\JWKSetInterface $jwk_set, null | integer &$recipient_index = null ) | ||
$input | Jose\Object\JWEInterface | A JWE object to decrypt |
$jwk_set | Jose\Object\JWKSetInterface | The key set used to decrypt the input |
$recipient_index | null | integer | If the JWE has been decrypted, an integer that represents the ID of the recipient is set |
public getSupportedCompressionMethods ( ) : string[] | ||
Результат | string[] |
public getSupportedContentEncryptionAlgorithms ( ) : string[] | ||
Результат | string[] |
public getSupportedKeyEncryptionAlgorithms ( ) : string[] | ||
Результат | string[] |