de.buelowssiege.mail.pgp_mime
Interface PGPAuthenticator


public interface PGPAuthenticator

An implementation of this interface provides information for signing and decrypting PGP mime messages.

Version:
$Id: PGPAuthenticator.html,v 1.1 2004/02/11 12:51:34 mschwerin Exp $
Author:
Maximilian Schwerin

Method Summary
 java.lang.String getLocalUser()
          Returns the user ID to sign a message for.
 char[] getPassphrase()
          Returns an array of characters to be used as the passphrase for signing and decrypting purposes.
 boolean useDefaultLocalUser()
          Use the default local user? If not the user returned by getLocalUser should be used.
 

Method Detail

getLocalUser

public java.lang.String getLocalUser()
                              throws PGPMimeException
Returns the user ID to sign a message for.

PGPMimeException

useDefaultLocalUser

public boolean useDefaultLocalUser()
                            throws PGPMimeException
Use the default local user? If not the user returned by getLocalUser should be used.

PGPMimeException

getPassphrase

public char[] getPassphrase()
                     throws PGPMimeException
Returns an array of characters to be used as the passphrase for signing and decrypting purposes.

PGPMimeException