Class JWE
java.lang.Object
in.juspay.security.JWE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
alg
- See Also:
-
-
Constructor Details
-
JWE
public JWE()
-
-
Method Details
-
encrypt
public static String encrypt(String payload, String keyId, PublicKey publicKey) throws JuspayCryptoException - Throws:
JuspayCryptoException
-
decrypt
public static String decrypt(Map<String, String> data, PrivateKey privateKey) throws JuspayCryptoException- Throws:
JuspayCryptoException
-
decrypt
- Throws:
JuspayCryptoException
-