org.mozilla.jss.util

Class NullPasswordCallback

public class NullPasswordCallback extends Object implements PasswordCallback

A PasswordCallback that immediately gives up. This should be used when a user is not available to enter a password. Any operations that require a password will fail if this is used, unless the token has already been logged in manually.

See Also: CryptoToken

Method Summary
PasswordgetPasswordAgain(PasswordCallbackInfo info)
PasswordgetPasswordFirstAttempt(PasswordCallbackInfo info)

Method Detail

getPasswordAgain

public Password getPasswordAgain(PasswordCallbackInfo info)

getPasswordFirstAttempt

public Password getPasswordFirstAttempt(PasswordCallbackInfo info)