From 2867a12a5d9438d6776268735a8ad4241e547916 Mon Sep 17 00:00:00 2001 From: Neeraj Joseph Koilparambil Date: Fri, 11 Jul 2025 15:21:46 +0100 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index d63a761..8232be0 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,15 @@ decrypted_response_payload = decrypt_payload(body, config) "decryptionKey": "./path/to/your/private.key", } ``` +You can also pass in a PKCS12 file with the password to decrypt it: +```json +{ + // .... rest of the config + + "decryptionKey": "./path/to/your/keyStore.p12", + "decryptionKeyPassword": "the-password", +} +``` The above can be either stored to a file or passed to 'JweEncryptionConfig' as dictionary: ```python @@ -274,6 +283,15 @@ decrypted_response_payload = decrypt_payload(body, config) "oaepPaddingDigestAlgorithm": "SHA256" } ``` +You can also pass in a PKCS12 file with the password to decrypt it: +```json +{ + // .... rest of the config + + "decryptionKey": "./path/to/your/keyStore.p12", + "decryptionKeyPassword": "the-password", +} +``` The above can be either stored to a file or passed to 'FieldLevelEncryptionConfig' as dictionary: ```python