Class Mechanism

java.lang.Object
  |
  +--Mechanism

public class Mechanism
extends java.lang.Object

Specifies the mechanisms supported by different cryptographic operations.


Constructor Summary
Mechanism()
           
 
Method Summary
 java.lang.String[] getMechanismInfo(long type)
          Used to obtains information about a particular mechanism possibly supported by a token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mechanism

public Mechanism()
Method Detail

getMechanismInfo

public java.lang.String[] getMechanismInfo(long type)
                                    throws OoctiException
Used to obtains information about a particular mechanism possibly supported by a token.
Parameters:
type - Type of mechanism.
Throws:
CRYPTOKI_NOT_INITIALIZED -  
DEVICE_ERROR -  
DEVICE_MEMORY -  
DEVICE_REMOVED -  
FUNCTION_FAILED -  
GENERAL_ERROR -  
HOST_MEMORY -  
MECHANISM_INVALID -  
SLOT_ID_INVALID -  
TOKEN_NOT_PRESENT -  
TOKEN_NOT_RECOGNIZED -  
ARGUMENTS_BAD -