public class JweObject extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(JweConfig config) |
static String |
encrypt(JweConfig config,
String payload,
JweHeader header) |
String |
getAuthTag() |
String |
getCipherText() |
JweHeader |
getHeader() |
String |
getIv() |
String |
getRawHeader() |
static JweObject |
parse(String encryptedPayload,
JsonEngine jsonEngine) |
public String decrypt(JweConfig config) throws EncryptionException, GeneralSecurityException
public static String encrypt(JweConfig config, String payload, JweHeader header) throws EncryptionException, GeneralSecurityException
public String getAuthTag()
public String getCipherText()
public JweHeader getHeader()
public String getIv()
public String getRawHeader()
public static JweObject parse(String encryptedPayload, JsonEngine jsonEngine)
Copyright © 2021. All rights reserved.