org.keycloak.jose.jwe.alg

## Interface JWEAlgorithmProvider

- All Known Implementing Classes:
    AesKeyWrapAlgorithmProvider, DirectAlgorithmProvider, KeyEncryptionJWEAlgorithmProvider, RsaKeyEncryption256JWEAlgorithmProvider, RsaKeyEncryptionJWEAlgorithmProvider

      public interface JWEAlgorithmProvider

  Author:
    Marek Posolda

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `decodeCek(byte[] encodedCek, Key encryptionKey)`
    `byte[]` | `encodeCek(JWEEncryptionProvider encryptionProvider, JWEKeyStorage keyStorage, Key encryptionKey)`

- - ### Method Detail

    - #### decodeCek

          byte[] decodeCek(byte[] encodedCek,
                           Key encryptionKey)
                    throws Exception

      Throws:
        `Exception`

    - #### encodeCek

          byte[] encodeCek(JWEEncryptionProvider encryptionProvider,
                           JWEKeyStorage keyStorage,
                           Key encryptionKey)
                    throws Exception

      Throws:
        `Exception`

Copyright © 2020 JBoss by Red Hat. All rights reserved.