cryptography: Rename parameter of serialize_key_and_certificates (#8543)

This commit is contained in:
MaertHaekkinen
2022-08-16 16:20:45 +03:00
committed by GitHub
parent 5b47f13a99
commit 55c566ded5
2 changed files with 1 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ cryptography.hazmat.primitives.hashes.BLAKE2s.__init__
cryptography.hazmat.primitives.hashes.Hash.__init__
cryptography.hazmat.primitives.hmac.HMAC.__init__
cryptography.hazmat.primitives.hmac.HMAC.update
cryptography.hazmat.primitives.serialization.pkcs12.serialize_key_and_certificates
cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder.__init__
cryptography.x509.CertificateBuilder.public_key
cryptography.x509.CertificateBuilder.serial_number

View File

@@ -14,5 +14,5 @@ def serialize_key_and_certificates(
key: RSAPrivateKeyWithSerialization | EllipticCurvePrivateKeyWithSerialization | DSAPrivateKeyWithSerialization,
cert: Certificate | None,
cas: list[Certificate] | None,
enc: KeySerializationEncryption,
encryption_algorithm: KeySerializationEncryption,
) -> bytes: ...