File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,15 @@ decrypted_response_payload = decrypt_payload(body, config)
135135 "decryptionKey" : " ./path/to/your/private.key" ,
136136}
137137```
138+ You can also pass in a PKCS12 file with the password to decrypt it:
139+ ``` json
140+ {
141+ // .... rest of the config
142+
143+ "decryptionKey" : " ./path/to/your/keyStore.p12" ,
144+ "decryptionKeyPassword" : " the-password" ,
145+ }
146+ ```
138147
139148The above can be either stored to a file or passed to 'JweEncryptionConfig' as dictionary:
140149``` python
@@ -274,6 +283,15 @@ decrypted_response_payload = decrypt_payload(body, config)
274283 "oaepPaddingDigestAlgorithm" : " SHA256"
275284}
276285```
286+ You can also pass in a PKCS12 file with the password to decrypt it:
287+ ``` json
288+ {
289+ // .... rest of the config
290+
291+ "decryptionKey" : " ./path/to/your/keyStore.p12" ,
292+ "decryptionKeyPassword" : " the-password" ,
293+ }
294+ ```
277295
278296The above can be either stored to a file or passed to 'FieldLevelEncryptionConfig' as dictionary:
279297``` python
You can’t perform that action at this time.
0 commit comments