type_name_map

KeyManager.type_name_map = {<class 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey'>: 'rsa', <class 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey'>: 'rsa', <class 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization'>: 'rsa', <class 'cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey'>: 'ed25519', <class 'cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey'>: 'ed25519', <class 'cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey'>: 'ecdsa', <class 'cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey'>: 'ecdsa', <class 'cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization'>: 'ecdsa'}

Maps public/private key types to their associated algorithm name for type/instance identification