public class JWEKeyStorage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JWEKeyStorage.KeyUse |
Constructor and Description |
---|
JWEKeyStorage() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getCekBytes() |
Key |
getCEKKey(JWEKeyStorage.KeyUse keyUse,
boolean generateIfNotPresent) |
Key |
getEncryptionKey() |
void |
setCEKBytes(byte[] cekBytes) |
JWEKeyStorage |
setCEKKey(Key key,
JWEKeyStorage.KeyUse keyUse) |
JWEKeyStorage |
setEncryptionKey(Key encryptionKey) |
void |
setEncryptionProvider(JWEEncryptionProvider encryptionProvider) |
public Key getEncryptionKey()
public JWEKeyStorage setEncryptionKey(Key encryptionKey)
public void setCEKBytes(byte[] cekBytes)
public byte[] getCekBytes()
public JWEKeyStorage setCEKKey(Key key, JWEKeyStorage.KeyUse keyUse)
public Key getCEKKey(JWEKeyStorage.KeyUse keyUse, boolean generateIfNotPresent)
public void setEncryptionProvider(JWEEncryptionProvider encryptionProvider)
Copyright © 2019 JBoss by Red Hat. All rights reserved.