public class Info
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Version |
cryptokiVersion_
The module claims to be compliant to this version of PKCS#11.
|
protected java.lang.String |
libraryDescription_
A description of this module.
|
protected Version |
libraryVersion_
The version number of this module.
|
protected java.lang.String |
manufacturerID_
The identifer for the manufacturer of this module.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Info(CK_INFO ckInfo)
Constructor taking the CK_INFO object of the token.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Create a (deep) clone of this object.
|
boolean |
equals(java.lang.Object otherObject)
Compares all member variables of this object with the other object.
|
Version |
getCryptokiVersion()
Get the version of PKCS#11 that this module claims to be compliant to.
|
java.lang.String |
getLibraryDescription()
Get a short descrption of this module.
|
Version |
getLibraryVersion()
Get the version of this PKCS#11 module.
|
java.lang.String |
getManufacturerID()
Get the identifier of the manufacturer.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a
hashtable.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
protected Version cryptokiVersion_
protected java.lang.String manufacturerID_
protected java.lang.String libraryDescription_
protected Version libraryVersion_
protected Info(CK_INFO ckInfo)
ckInfo - The info object as got from PKCS11.C_GetInfo().public java.lang.Object clone()
clone in class java.lang.Objectpublic Version getCryptokiVersion()
public java.lang.String getManufacturerID()
public java.lang.String getLibraryDescription()
public Version getLibraryVersion()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object otherObject)
equals in class java.lang.ObjectotherObject - The other Info object.public int hashCode()
hashCode in class java.lang.ObjectIAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9