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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cryptography-dev mailing list Cryptography-dev@python.org https://mail.python.org/mailman/listinfo/cryptography-dev