Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
336 views
in Technique[技术] by (71.8m points)

yubico - How to sign a PDF with PIV using a Yubikey in UWP C# app?

I'm trying to implement YubiKey HSM using PIV for my windows app (UWP Xamarin C# .NET). I found a couple of ways to communicate with my YubiKey FIPS but it didn't worked out well. As suggested in the Yubico site, I tried with PKCS11 with Pkcs11Interop nuget package.

https://developers.yubico.com/yubico-piv-tool/YKCS11/

I tried out the example given in the Pkcs11Interop GitHub (https://github.com/Pkcs11Interop/Pkcs11Interop/blob/master/doc/GETTING_STARTED.md).

But it throws "Method C_GetSlotList returned CKR_DEVICE_ERROR" this error when I tried running.

Please help me to sort out this issue or provide me with a library/code sample which may help me in this implementation.

Thanks in Advance.

question from:https://stackoverflow.com/questions/65917332/how-to-sign-a-pdf-with-piv-using-a-yubikey-in-uwp-c-sharp-app

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...