Class JWEKeyStorage

java.lang.Object
org.keycloak.jose.jwe.JWEKeyStorage

public class JWEKeyStorage extends Object
Author:
Marek Posolda
  • Constructor Details

    • JWEKeyStorage

      public JWEKeyStorage()
  • Method Details

    • getEncryptionKey

      public Key getEncryptionKey()
    • setEncryptionKey

      public JWEKeyStorage setEncryptionKey(Key encryptionKey)
    • getDecryptionKey

      public Key getDecryptionKey()
    • setDecryptionKey

      public JWEKeyStorage setDecryptionKey(Key decryptionKey)
    • setCEKBytes

      public void setCEKBytes(byte[] cekBytes)
    • getCekBytes

      public byte[] getCekBytes()
    • setCEKKey

      public JWEKeyStorage setCEKKey(Key key, JWEKeyStorage.KeyUse keyUse)
    • getCEKKey

      public Key getCEKKey(JWEKeyStorage.KeyUse keyUse, boolean generateIfNotPresent)
    • setEncryptionProvider

      public void setEncryptionProvider(JWEEncryptionProvider encryptionProvider)