e-token

How verify eToken X509Certificate in C#

旧街凉风 提交于 2020-07-23 06:17:26
问题 I'm trying to retrieve a X509Certificate from an eToken Pro 72K and verify It's authenticity. I have been able to see the certificate is present the X509Keystore.Certificates with the eToken inserted using the Keystore as new X509Keystore(StoreName.My, StoreLocation.CurrentUser) . I have a hard-coded certificate that I turn into a X509Certificate2 as: //C# code //HardCoded private const string CERTIFICATE = "-----BEGIN CERTIFICATE-----

How verify eToken X509Certificate in C#

会有一股神秘感。 提交于 2020-07-23 06:16:26
问题 I'm trying to retrieve a X509Certificate from an eToken Pro 72K and verify It's authenticity. I have been able to see the certificate is present the X509Keystore.Certificates with the eToken inserted using the Keystore as new X509Keystore(StoreName.My, StoreLocation.CurrentUser) . I have a hard-coded certificate that I turn into a X509Certificate2 as: //C# code //HardCoded private const string CERTIFICATE = "-----BEGIN CERTIFICATE-----

Digitally sign a hash value of a file directly instead of file

不想你离开。 提交于 2019-12-11 02:12:27
问题 My ques is -- Is it possible to digitally sign a hash value of a file directly instead of file. I have to digitally sign a xml file in web environment through e-token. So I have to download the file from server to client and then get certificate from e-token usb at client machine and sign the file and upload it on server. But the problem is, if size of the file is too huge, then it will take too much time to download at client side (depend upon internet speed) and some leakage in the security

Open x509 Certificate store from Java APIs

╄→尐↘猪︶ㄣ 提交于 2019-12-10 21:15:08
问题 I am trying to show the list of certificates from the Client Certificate store in JSP. In .Net there is an option to show the list of certificates with the following code... X509Store xStore = new X509Store(...); xStore.Open(...); // This will open the list of certicates in open dialog box. Is there any similar functionality to get this information in Java? 回答1: You can open a JKS store using the default JDK classes, to open a pkcs12 file or the likes you need a library like bouncycastle. For

Keystore from digital signature e-token using java

天大地大妈咪最大 提交于 2019-12-03 14:10:28
问题 How to create the keystore from digital signature e-token? How crate the path of keystore? How to sign with the keystore in any document using java application? 回答1: Cryptographic hardware devices can usually be interfaced via PKCS#11 API. You will need PKCS#11 library (.dll on Windows or .so on Unix) acting as a "device driver" which gets usually installed along with the software provided by the device vendor (consult your e-token documentation for the exact library location). You have

Adding a digital signature to a PDF using Java

烈酒焚心 提交于 2019-12-03 13:53:19
问题 I want to digitally sign a PDF file using a certificate stored on a USB-token, HSM, etc. How do I use the private key stored on the USB token using JAVA? 回答1: To the iText self-reference, I'll add Gnostice DigiSigner Apache PDFBox (open source) Java4Less (open source, based on PDFBox) Adobe LiveCycle jPDFSecure Oracle Fusion 回答2: Steps involved in Adding Digital Signature to a PDF File: (I) Create Template PDFDocument : Create PDFDocument with template signature: PDSignature pdSignature;

Keystore from digital signature e-token using java

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 05:09:46
How to create the keystore from digital signature e-token? How crate the path of keystore? How to sign with the keystore in any document using java application? Cryptographic hardware devices can usually be interfaced via PKCS#11 API. You will need PKCS#11 library (.dll on Windows or .so on Unix) acting as a "device driver" which gets usually installed along with the software provided by the device vendor (consult your e-token documentation for the exact library location). You have mentioned "keystore" in your question therefore I guess you are using JAVA language and you can use SunPKCS11