public class JweJwsEncryptionKeys extends Object
| Constructor and Description |
|---|
JweJwsEncryptionKeys(String keyId,
String publicKey,
String privateKey) |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
getJwePublicKey() |
PrivateKey |
getJwsPrivateKey() |
String |
getKeyId() |
protected String |
sanitizePrivateKey(String key) |
protected String |
sanitizePublicKey(String key) |
void |
withJwePublicKey(String key) |
void |
withJwsPrivateKey(String key) |
void |
withKeyId(String val) |
public JweJwsEncryptionKeys(String keyId, String publicKey, String privateKey) throws JuspayException
JuspayExceptionpublic void withKeyId(String val)
public void withJwsPrivateKey(String key) throws JuspayException
JuspayExceptionpublic void withJwePublicKey(String key) throws JuspayException
JuspayExceptionpublic PrivateKey getJwsPrivateKey()
public PublicKey getJwePublicKey()
public String getKeyId()
Copyright © 2023 Juspay. All rights reserved.