Multi-threaded Signature Generation C#

前端 未结 1 1882
星月不相逢
星月不相逢 2021-01-22 13:30

I am using PKCS11 Compliant Crypto Device which secures my Private Key. The Crypto Device is capable of generating 500 RSA-2048 Bit Signings per second. I have written an applic

相关标签:
1条回答
  • 2021-01-22 14:01

    You need to create new Session for each signing operation.

    Please read "Chapter 6 - General overview" of PKCS#11 v2.20 specification. All basic concepts of PKCS#11 API (including thread/operation isolation provided by sessions) are explained there.

    After you finish this mandatory reading, you can take a look at Pkcs11RsaSignature class in Pkcs11Interop.PDF project for a working code sample.

    0 讨论(0)
提交回复
热议问题