Package org.keycloak.jose.jwe.alg
Interface JWEAlgorithmProvider
- All Known Implementing Classes:
DirectAlgorithmProvider
public interface JWEAlgorithmProvider
- Author:
- Marek Posolda
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decodeCek
(byte[] encodedCek, Key encryptionKey, JWEHeader header, JWEEncryptionProvider encryptionProvider) byte[]
encodeCek
(JWEEncryptionProvider encryptionProvider, JWEKeyStorage keyStorage, Key encryptionKey, JWEHeader.JWEHeaderBuilder headerBuilder)
-
Method Details
-
decodeCek
byte[] decodeCek(byte[] encodedCek, Key encryptionKey, JWEHeader header, JWEEncryptionProvider encryptionProvider) throws Exception - Throws:
Exception
-
encodeCek
byte[] encodeCek(JWEEncryptionProvider encryptionProvider, JWEKeyStorage keyStorage, Key encryptionKey, JWEHeader.JWEHeaderBuilder headerBuilder) throws Exception - Throws:
Exception
-