org.neuclear.commons.crypto.passphraseagents
Interface PassPhraseAgent

All Known Subinterfaces:
InteractiveAgent
All Known Implementing Classes:
AlwaysTheSamePassphraseAgent, AskAtStartupAgent, ConsoleAgent, GuiDialogAgent, ServletPassPhraseAgent, StoredPassphraseAgent, SwingAgent

public interface PassPhraseAgent

This interface is used to retrieve passphrases either interactively or from a configuration file. User: pelleb Date: Oct 29, 2003 Time: 11:47:39 AM


Method Summary
 char[] getPassPhrase(java.lang.String name)
          Retrieve the PassPhrase for a given name/alias
 char[] getPassPhrase(java.lang.String name, boolean incorrect)
           
 

Method Detail

getPassPhrase

char[] getPassPhrase(java.lang.String name)
                     throws UserCancellationException
Retrieve the PassPhrase for a given name/alias

Parameters:
name -
Returns:
Throws:
UserCancellationException

getPassPhrase

char[] getPassPhrase(java.lang.String name,
                     boolean incorrect)
                     throws UserCancellationException
Throws:
UserCancellationException


Copyright © 2003-2004 Antilles Software Ventures SA. All Rights Reserved.