How to get private key from PKCS#12 (.p12) file using C#

后端 未结 4 1479
忘了有多久
忘了有多久 2021-01-13 16:30

Im trying to sign some data using PKCS#12 certificate ,however i have problem with obtaining private key from PKCS#12 (.p12) file.

    public byte[] sign(str         


        
4条回答
  •  日久生厌
    2021-01-13 17:15

    In the docs, it says that .export() doesn't support the Pfx type, only Cert, SerializedCert, and Pkcs12.

提交回复
热议问题