mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-15 20:40:20 +00:00
added tests for PKCS12Certificate with encryption builder (#11060)
This commit is contained in:
parent
99de528c12
commit
064a463eae
1 changed files with 6 additions and 0 deletions
|
|
@ -423,6 +423,12 @@ class TestPKCS12Creation:
|
|||
("encryption_algorithm", "password"),
|
||||
[
|
||||
(serialization.BestAvailableEncryption(b"password"), b"password"),
|
||||
(
|
||||
serialization.PrivateFormat.PKCS12.encryption_builder().build(
|
||||
b"not a password"
|
||||
),
|
||||
b"not a password",
|
||||
),
|
||||
(serialization.NoEncryption(), None),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue