The following 3 Engine methods require \'name\' as an argument. load_private_key(self, name, pin=None)
I am using M2Crypto-0.20.2.I want to use engine_pkcs11 from the OpenSC project and the Aladdin PKI client for token开发者_StackOverflow社区 based authentication making xmlrpc calls over ssl.
I need to build an encrypted connection between two peers, and I need to authenticate both. Both peers already share a fingerprint (SHA256 hash) of the other peer public key.
I have pub key in xml format: <RSAKeyValue><Modulus>xF9y25EXh8n99sXtU/JAsYTwML6PB7gSCE8tWw8Www2KBfDqohQBL8FMs8jzsDQa7WwoEmiVJ1resEC9YXJGbwQyWgb9qgooC9oSnCB/TkRdBybwby0DKuZOzq+609OBGkwWpgn
The M2Crypto library has a few CA-related functions on its SSL.Context object, but the documentation is very unclear as to when you would use certain functions and why.In fact, the docs for almost all