com.entrust.toolkit.credentials
Class TokenWriter

java.lang.Object
  |
  +--com.entrust.toolkit.credentials.CredentialWriter
        |
        +--com.entrust.toolkit.credentials.TokenWriter

public final class TokenWriter
extends CredentialWriter

TokenWriter is a sub-class of CredentialWriter that writes credentials to hardware tokens.


Constructor Summary
TokenWriter(java.lang.String entrustPath, java.lang.String auxProfName, java.lang.String algorithm, int hashCount)
           Creates a TokenInitializer object to do the work of writing data to a hardware token.
 
Methods inherited from class com.entrust.toolkit.credentials.CredentialWriter
checkPwd, writePossible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenWriter

public TokenWriter(java.lang.String entrustPath,
                   java.lang.String auxProfName,
                   java.lang.String algorithm,
                   int hashCount)
            throws NoSuchAlgorithmException,
                   UserFatalException
Creates a TokenInitializer object to do the work of writing data to a hardware token.
Parameters:
entrustPath - the path to the auxiliary profile
auxProfName - the name of the auxiliary profile
algorithm - The algorithm used to protect the apf.
hashCount - The hash count used to protect the apf.
Throws:
NoSuchAlgorithmException -  
UserFatalException -