public class EncryptionUtil extends Object
| Constructor and Description |
|---|
EncryptionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isContentValid(String contentToVerify,
String contentSignature,
WebhookEncryptionPublicKey webhookEncryptionPublicKey,
String encryptionProvider,
String signatureAlgorithm)
Verify content with signature
|
public static boolean isContentValid(String contentToVerify, String contentSignature, WebhookEncryptionPublicKey webhookEncryptionPublicKey, String encryptionProvider, String signatureAlgorithm)
contentToVerify - content that needs to be verifiedcontentSignature - content verification signaturewebhookEncryptionPublicKey - public keyencryptionProvider - encryption provider namesignatureAlgorithm - signature encryption algorithmCopyright © 2024. All rights reserved.