org.dvb.security.pkcs11
Interface TokenInfo


public interface TokenInfo

This interface is used to get information about a PKCS11 token. The information returned here is the equivalent to the one returned by the PKCS11 function C_GetTokenInfo.


Method Summary
 int getFlags()
          This method returns the flags of the PKCS11 CK_TOKEN_INFO.
 java.lang.String getLabel()
          This method returns the label of the PKCS11 CK_TOKEN_INFO.
 java.lang.String getManufacturerID()
          This method returns the manufacturerID of the PKCS11 CK_TOKEN_INFO.
 java.lang.String getModel()
          This method returns the model of the PKCS11 CK_TOKEN_INFO.
 java.lang.String getSerialNumber()
          This method returns the serial Number of the PKCS11 CK_TOKEN_INFO.
 

Method Detail

getLabel

java.lang.String getLabel()
This method returns the label of the PKCS11 CK_TOKEN_INFO.


getManufacturerID

java.lang.String getManufacturerID()
This method returns the manufacturerID of the PKCS11 CK_TOKEN_INFO.


getModel

java.lang.String getModel()
This method returns the model of the PKCS11 CK_TOKEN_INFO.


getSerialNumber

java.lang.String getSerialNumber()
This method returns the serial Number of the PKCS11 CK_TOKEN_INFO.


getFlags

int getFlags()
This method returns the flags of the PKCS11 CK_TOKEN_INFO.