Package org.keycloak.jose.jwe.alg
Class DirectAlgorithmProvider
java.lang.Object
org.keycloak.jose.jwe.alg.DirectAlgorithmProvider
- All Implemented Interfaces:
JWEAlgorithmProvider
- Author:
- Marek Posolda
-
Constructor Summary
-
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)
-
Constructor Details
-
DirectAlgorithmProvider
public DirectAlgorithmProvider()
-
-
Method Details
-
decodeCek
public byte[] decodeCek(byte[] encodedCek, Key encryptionKey, JWEHeader header, JWEEncryptionProvider encryptionProvider) - Specified by:
decodeCek
in interfaceJWEAlgorithmProvider
-
encodeCek
public byte[] encodeCek(JWEEncryptionProvider encryptionProvider, JWEKeyStorage keyStorage, Key encryptionKey, JWEHeader.JWEHeaderBuilder headerBuilder) - Specified by:
encodeCek
in interfaceJWEAlgorithmProvider
-