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)
135
135
"decryptionKey" : " ./path/to/your/private.key" ,
136
136
}
137
137
```
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
+ ```
138
147
139
148
The above can be either stored to a file or passed to 'JweEncryptionConfig' as dictionary:
140
149
``` python
@@ -274,6 +283,15 @@ decrypted_response_payload = decrypt_payload(body, config)
274
283
"oaepPaddingDigestAlgorithm" : " SHA256"
275
284
}
276
285
```
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
+ ```
277
295
278
296
The above can be either stored to a file or passed to 'FieldLevelEncryptionConfig' as dictionary:
279
297
``` python
You can’t perform that action at this time.
0 commit comments