Cryptix OpenPGP

cryptix.message.stream
Class DecryptionKeyRequest

java.lang.Object
  extended bycryptix.message.stream.DecryptionKeyRequest

public class DecryptionKeyRequest
extends java.lang.Object

Request for the decryption key callback function

Version:
$Revision: 1.1 $
Author:
Edwin Woudt

Constructor Summary
DecryptionKeyRequest(KeyID[] keyidhints, int retrycount, DecryptionKeyReturnValue lastresult)
           
 
Method Summary
 KeyID[] getKeyIDHints()
          Returns an array of key id's that could possible have encrypted the message or null if no such information is available.
 DecryptionKeyReturnValue getLastResult()
          Returns the previous result, if getRetryCount() >= 1.
 int getRetryCount()
          Returns the number of previous calls to the callback function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecryptionKeyRequest

public DecryptionKeyRequest(KeyID[] keyidhints,
                            int retrycount,
                            DecryptionKeyReturnValue lastresult)
Method Detail

getKeyIDHints

public KeyID[] getKeyIDHints()
Returns an array of key id's that could possible have encrypted the message or null if no such information is available.


getRetryCount

public int getRetryCount()
Returns the number of previous calls to the callback function


getLastResult

public DecryptionKeyReturnValue getLastResult()
Returns the previous result, if getRetryCount() >= 1. Returns null when getRetryCount() == 1.


Cryptix OpenPGP

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