我正嘗試使用signtool.exe對PDF文件進行數字簽名。這是我用的是 D:>signtool sign /a /t http://timestamp.digicert.com /n "Name of certificate issued" "E:\xxx.pdf"
命令它給我的錯誤像下面 SignTool Error: This file format cannot be signed
我試圖讀出一個etoken的證書。我跟着Keystore from digital signature e-token using java的答案。它給我安裝在令牌中的證書,但之後令牌不再可用。訪問令牌時有人有類似的東西嗎? // Create instance of SunPKCS11 provider
String pkcs11Config = "name=eToken\nlibrary=C
我試圖用我寫的一個java應用程序來使用eToken來簽署PDF文件。我正在使用Java 6.0.30的Windows 7 64位版本。 當我跑我得到一個異常說 Exception in thread "signer" java.lang.UnsatisfiedLinkError: no j2pkcs11 in java.library.path
at java.lang.ClassLo
我試圖在JSP中顯示來自客戶端證書存儲區的證書列表。 在.NET中有顯示用下面的代碼證書列表中的一個選項... X509Store xStore = new X509Store(...);
xStore.Open(...); // This will open the list of certicates in open dialog box.
是否有類似的功能,讓在Java中這一信息?