org.mozilla.jss.tests

Class FilePasswordCallback

Implemented Interfaces:
PasswordCallback

public class FilePasswordCallback
extends java.lang.Object
implements PasswordCallback

Constructor Summary

FilePasswordCallback(String filename)

Method Summary

Password
getPasswordAgain(PasswordCallbackInfo info)
Password
getPasswordFirstAttempt(PasswordCallbackInfo info)

Constructor Details

FilePasswordCallback

public FilePasswordCallback(String filename)
            throws IOException

Method Details

getPasswordAgain

public Password getPasswordAgain(PasswordCallbackInfo info)
            throws PasswordCallback.GiveUpException
Specified by:
getPasswordAgain in interface PasswordCallback

getPasswordFirstAttempt

public Password getPasswordFirstAttempt(PasswordCallbackInfo info)
            throws PasswordCallback.GiveUpException
Specified by:
getPasswordFirstAttempt in interface PasswordCallback