You probably need to use hazmat, but it has a pretty nice API. There's a short 
example in the docs:

https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#signing

Best Regards,
Stanisław Pitucha

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to