Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1848563 Details for
Bug 2036462
rh1991003 patch breaks sun.security.pkcs11.wrapper.PKCS11.getInstance()
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Test class to reproduce the building/running issue
Test.java (text/x-modelica), 678 bytes, created by
Francisco de la Peña
on 2022-01-02 00:11:07 UTC
(
hide
)
Description:
Test class to reproduce the building/running issue
Filename:
MIME Type:
Creator:
Francisco de la Peña
Created:
2022-01-02 00:11:07 UTC
Size:
678 bytes
patch
obsolete
>class Test { > public static void main(String[] args) throws Exception { > sun.security.pkcs11.wrapper.CK_C_INITIALIZE_ARGS initArgs = new sun.security.pkcs11.wrapper.CK_C_INITIALIZE_ARGS(); > initArgs.flags = 0; > sun.security.pkcs11.wrapper.PKCS11 pkcs11 = sun.security.pkcs11.wrapper.PKCS11.getInstance("/usr/lib64/opensc-pkcs11.so", "C_GetFunctionList", initArgs, false, null); > > long[] slotList = pkcs11.C_GetSlotList(true); > for (long slot : slotList) { > sun.security.pkcs11.wrapper.CK_TOKEN_INFO tokenInfo = pkcs11.C_GetTokenInfo(slot); > System.out.println("Slot info:\n" + tokenInfo.toString()); > } > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2036462
:
1848563
|
1848630
|
1848631