PHP 인터페이스 Jose\Algorithm\KeyEncryption\KeyEncryptionInterface
파일 보기
프로젝트 열기: spomky-labs/jose
0 사용 예제들
공개 메소드들
메소드 상세
public decryptKey ( Jose\Object\JWKInterface $key, string $encrypted_cek, array $header ) : string |
$key |
Jose\Object\JWKInterface |
The key used to wrap the CEK |
$encrypted_cek |
string |
The CEK to decrypt |
$header |
array |
The complete header of the JWT |
리턴 |
string |
The decrypted CEK |
public encryptKey ( Jose\Object\JWKInterface $key, string $cek, array $complete_headers, array &$additional_headers ) : string |
$key |
Jose\Object\JWKInterface |
The key used to wrap the CEK |
$cek |
string |
The CEK to encrypt |
$complete_headers |
array |
The complete header of the JWT |
$additional_headers |
array |
Additional headers |
리턴 |
string |
The encrypted CEK |