public class CryptokiInfo
extends com.sun.jna.Structure
Modifier and Type | Field and Description |
---|---|
Version |
cryptokiVersion |
com.sun.jna.NativeLong |
flags |
byte[] |
libraryDescription |
Version |
libraryVersion |
byte[] |
manufacturerID |
Constructor and Description |
---|
CryptokiInfo()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
flagsToString(int flags)
Convert flags to string.
|
static java.lang.String |
flagToString(int ckf)
Convert flag constant value to name.
|
int |
getFlags()
Flags of the attached cryptoki module
|
java.lang.String |
getLibDescription()
Library description of the attached cryptoki module
|
java.lang.String |
getLibVersion()
Library version of the attached cryptoki module
|
java.lang.String |
getManufacturerID()
Manufacturer ID of the attached cryptoki module
|
java.lang.String |
getVersion()
PKCS#11 version implemented by the attached cryptoki module
|
java.lang.String |
toString() |
public Version cryptokiVersion
public byte[] manufacturerID
public com.sun.jna.NativeLong flags
public byte[] libraryDescription
public Version libraryVersion
public static final java.lang.String flagToString(int ckf)
ckf
- valuepublic static java.lang.String flagsToString(int flags)
flags
- flagspublic java.lang.String toString()
toString
in class com.sun.jna.Structure
public java.lang.String getVersion()
public java.lang.String getManufacturerID()
public int getFlags()
public java.lang.String getLibDescription()
public java.lang.String getLibVersion()