public class JWS extends Object
| Constructor and Description |
|---|
JWS() |
| Modifier and Type | Method and Description |
|---|---|
static String |
sign(String claims,
String keyId,
PrivateKey privateKey) |
static String |
verify(Map<String,String> signedPayload,
PublicKey publicKey) |
static String |
verify(String signedPayload,
PublicKey publicKey) |
public static final String alg
public static String sign(String claims, String keyId, PrivateKey privateKey) throws JuspayCryptoException
JuspayCryptoExceptionpublic static String verify(Map<String,String> signedPayload, PublicKey publicKey) throws JuspayCryptoException
JuspayCryptoExceptionpublic static String verify(String signedPayload, PublicKey publicKey) throws JuspayCryptoException
JuspayCryptoExceptionCopyright © 2024 Juspay. All rights reserved.