public class Info
extends java.lang.Object
The structure is defined as follows:
typedef struct CK_INFO {
CK_VERSION cryptokiVersion;
CK_UTF8CHAR manufacturerID[32];
CK_FLAGS flags;
CK_UTF8CHAR libraryDescription[32];
CK_VERSION libraryVersion;
} CK_INFO;
| Modifier | Constructor and Description |
|---|---|
protected |
Info()
Default constructor, creates a new
Info object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCryptokiVersion()
Returns the cryptoki version component.
|
java.lang.String |
getDescription()
Returns the library description component.
|
long |
getFlags()
Returns the flags component.
|
java.lang.String |
getLibraryVersion()
Returns the library version component.
|
java.lang.String |
getManufacturerID()
Returns the manufacturer ID component.
|
boolean |
isFlagSet(long flag)
Indicates if a given flag has been set.
|
java.lang.String |
toString()
Returns a
String representation of the Info
object. |
public java.lang.String getCryptokiVersion()
public java.lang.String getManufacturerID()
public long getFlags()
public boolean isFlagSet(long flag)
flag - the flag being checkedtrue if the flag has been set; false
otherwisepublic java.lang.String getDescription()
public java.lang.String getLibraryVersion()
public java.lang.String toString()
String representation of the Info
object.
toString in class java.lang.ObjectString representation of the Info object