💾 Archived View for tris.fyi › pydoc › cryptography.hazmat.primitives.serialization.pkcs12 captured on 2022-07-16 at 15:06:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-01-29)

-=-=-=-=-=-=-

Back to module index

Go to module by name

cryptography.hazmat.primitives.serialization

cryptography.hazmat.primitives

cryptography.hazmat

cryptography

cryptography.hazmat.primitives.serialization.pkcs12

This module has no docstring.

Classes

PKCS12Certificate

certificate = <property object at 0x7f92be2fce00>
friendly_name = <property object at 0x7f92be2fcdb0>

PKCS12KeyAndCertificates

additional_certs = <property object at 0x7f92be307090>
cert = <property object at 0x7f92be307040>
key = <property object at 0x7f92be2fcf90>

Functions

load_key_and_certificates

load_key_and_certificates(data: bytes, password: Optional[bytes], backend: Any = None) -> Tuple[Union[cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey, NoneType], Optional[cryptography.x509.base.Certificate], List[cryptography.x509.base.Certificate]]

load_pkcs12

load_pkcs12(data: bytes, password: Optional[bytes], backend: Any = None) -> cryptography.hazmat.primitives.serialization.pkcs12.PKCS12KeyAndCertificates

serialize_key_and_certificates

serialize_key_and_certificates(name: Optional[bytes], key: Union[cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey, NoneType], cert: Optional[cryptography.x509.base.Certificate], cas: Optional[Iterable[cryptography.x509.base.Certificate]], encryption_algorithm: cryptography.hazmat.primitives._serialization.KeySerializationEncryption) -> bytes

Other members

PRIVATE_KEY_TYPES = typing.Union[cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PrivateKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey]

Modules

dsa

ec

ed25519

ed448

rsa

serialization

typing

x509