cryptography.hazmat.primitives.serialization
cryptography.hazmat.primitives
This module has no docstring.
decryptor(self)
encryptor(self)
An enumeration.
DER = <Encoding.DER: 'DER'>
OpenSSH = <Encoding.OpenSSH: 'OpenSSH'>
PEM = <Encoding.PEM: 'PEM'>
Raw = <Encoding.Raw: 'Raw'>
SMIME = <Encoding.SMIME: 'S/MIME'>
X962 = <Encoding.X962: 'ANSI X9.62'>
name = <types.DynamicClassAttribute object at 0x7f0567f3eb80> The name of the Enum member.
value = <types.DynamicClassAttribute object at 0x7f0567f3ebb0> The value of the Enum member.
An enumeration.
OpenSSH = <PrivateFormat.OpenSSH: 'OpenSSH'>
PKCS8 = <PrivateFormat.PKCS8: 'PKCS8'>
Raw = <PrivateFormat.Raw: 'Raw'>
TraditionalOpenSSL = <PrivateFormat.TraditionalOpenSSL: 'TraditionalOpenSSL'>
name = <types.DynamicClassAttribute object at 0x7f0567f3eb80> The name of the Enum member.
value = <types.DynamicClassAttribute object at 0x7f0567f3ebb0> The value of the Enum member.
An enumeration.
CompressedPoint = <PublicFormat.CompressedPoint: 'X9.62 Compressed Point'>
OpenSSH = <PublicFormat.OpenSSH: 'OpenSSH'>
PKCS1 = <PublicFormat.PKCS1: 'Raw PKCS#1'>
Raw = <PublicFormat.Raw: 'Raw'>
SubjectPublicKeyInfo = <PublicFormat.SubjectPublicKeyInfo: 'X.509 subjectPublicKeyInfo with PKCS#1'>
UncompressedPoint = <PublicFormat.UncompressedPoint: 'X9.62 Uncompressed Point'>
name = <types.DynamicClassAttribute object at 0x7f0567f3eb80> The name of the Enum member.
value = <types.DynamicClassAttribute object at 0x7f0567f3ebb0> The value of the Enum member.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
load_ssh_private_key(data: bytes, password: Optional[bytes], backend=None) -> Union[cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey] Load private key from OpenSSH custom encoding.
load_ssh_public_key(data: bytes, backend=None) -> Union[cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey] Load public key from OpenSSH one-line format.
serialize_ssh_private_key(private_key: Union[cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey], password: Optional[bytes] = None) Serialize private key with OpenSSH custom encoding.
serialize_ssh_public_key(public_key: Union[cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey]) -> bytes One-line public key format for OpenSSH
utils = <cryptography.utils._ModuleWithDeprecations object at 0x7f05676abbb0>