💾 Archived View for tris.fyi › pydoc › cryptography.hazmat.primitives.serialization.pkcs7 captured on 2022-06-11 at 21:46:23. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
cryptography.hazmat.primitives.serialization
cryptography.hazmat.primitives
This module has no docstring.
Generic enumeration. Derive from this class to define new enumerations.
An enumeration.
Binary = <PKCS7Options.Binary: "Don't translate input data into canonical MIME format">
DetachedSignature = <PKCS7Options.DetachedSignature: "Don't embed data in the PKCS7 structure">
NoAttributes = <PKCS7Options.NoAttributes: "Don't embed authenticatedAttributes">
NoCapabilities = <PKCS7Options.NoCapabilities: "Don't embed SMIME capabilities">
NoCerts = <PKCS7Options.NoCerts: "Don't embed signer certificate">
Text = <PKCS7Options.Text: 'Add text/plain MIME type'>
name = <types.DynamicClassAttribute object at 0x7ff36084fb80> The name of the Enum member.
value = <types.DynamicClassAttribute object at 0x7ff36084fbb0> The value of the Enum member.
add_certificate(self, certificate: cryptography.x509.base.Certificate) -> 'PKCS7SignatureBuilder'
add_signer(self, certificate: cryptography.x509.base.Certificate, private_key: Union[cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey], hash_algorithm: Union[cryptography.hazmat.primitives.hashes.SHA1, cryptography.hazmat.primitives.hashes.SHA224, cryptography.hazmat.primitives.hashes.SHA256, cryptography.hazmat.primitives.hashes.SHA384, cryptography.hazmat.primitives.hashes.SHA512]) -> 'PKCS7SignatureBuilder'
set_data(self, data: bytes) -> 'PKCS7SignatureBuilder'
sign(self, encoding: cryptography.hazmat.primitives._serialization.Encoding, options: Iterable[cryptography.hazmat.primitives.serialization.pkcs7.PKCS7Options], backend=None) -> bytes
load_der_pkcs7_certificates(data: bytes) -> List[cryptography.x509.base.Certificate]
load_pem_pkcs7_certificates(data: bytes) -> List[cryptography.x509.base.Certificate]