Cryptix OpenPGP

cryptix.message.stream
Interface DecryptionKeyCallback


public interface DecryptionKeyCallback

Interface for the decryption key callback function

Version:
$Revision: 1.1 $
Author:
Edwin Woudt

Method Summary
 DecryptionKeyReturnValue getDecryptionKey(DecryptionKeyRequest request)
          Callback function for retrieving a verification key Note: when verification fails, this method will be called again.
 

Method Detail

getDecryptionKey

public DecryptionKeyReturnValue getDecryptionKey(DecryptionKeyRequest request)
Callback function for retrieving a verification key

Note: when verification fails, this method will be called again. This is useful when multiple keys need to be tried for decryption. Use the FAIL error in the DecryptionKeyReturnValue in that case to indicate that no more tries are needed.

Parameters:
request - information about the request

Cryptix OpenPGP

Copyright (C) 1999-2003 The Cryptix Foundation Ltd.