-
Enhancement
-
Resolution: Duplicate
-
P3
-
None
-
8u25
-
generic
-
windows_7
We have a Java application which aims to generate digital signatures on
documents and transactions. The process for generating this signature is by
using our CSP MiniDriver for Windows 7. The problem is that at some point
these applications use calls to read from the Windows certificate repository
(using KeyStore.getInstance ("Windows-MY")).
For each certificate found, even if it is not necessary for the operation,
the application displays a popup stating that the item found is not required
for operation.
Assuming you have 5 or more certificates in the repository, and the read
operation is executed multiple times, and many popups are displayed, which
disrupts the operation. According to what was found, the access to the
Windows repository is done by the sunmscapi.dll library, which is installed
as part of the JRE.
This DLL sometimes would call the CryptAcquireCertificatePrivateKey()
function and this function would be displaying the popup.
Is there any way, from the Java application to hide the appearance of this
popup?
Could, for instance, the function be passed the CRYPT_ACQUIRE_SILENT_FLAG
flag?
documents and transactions. The process for generating this signature is by
using our CSP MiniDriver for Windows 7. The problem is that at some point
these applications use calls to read from the Windows certificate repository
(using KeyStore.getInstance ("Windows-MY")).
For each certificate found, even if it is not necessary for the operation,
the application displays a popup stating that the item found is not required
for operation.
Assuming you have 5 or more certificates in the repository, and the read
operation is executed multiple times, and many popups are displayed, which
disrupts the operation. According to what was found, the access to the
Windows repository is done by the sunmscapi.dll library, which is installed
as part of the JRE.
This DLL sometimes would call the CryptAcquireCertificatePrivateKey()
function and this function would be displaying the popup.
Is there any way, from the Java application to hide the appearance of this
popup?
Could, for instance, the function be passed the CRYPT_ACQUIRE_SILENT_FLAG
flag?
- duplicates
-
JDK-8153438 Avoid repeated "Please insert a smart card" popup windows
-
- Resolved
-
- relates to
-
JDK-8147547 Calling load() on Windows-MY KeyStore shows false error with certs on smartcard
-
- Open
-
-
JDK-8153438 Avoid repeated "Please insert a smart card" popup windows
-
- Resolved
-