|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.message.stream.DecryptionKeyReturnValue
Return value for the decryption key callback function
Field Summary | |
static int |
FAIL
Fail the complete operation, i.e. throw an exception |
static int |
NOERROR
No error |
Constructor Summary | |
DecryptionKeyReturnValue(char[] passphrase)
Construct a DecryptionKeyReturnValue with the given passphrase. |
|
DecryptionKeyReturnValue(int error)
Construct a DecryptionKeyReturnValue with the given error. |
|
DecryptionKeyReturnValue(KeyBundle bundle,
char[] passphrase)
Construct a DecryptionKeyReturnValue with the given keybundle and passphrase. |
|
DecryptionKeyReturnValue(java.security.PrivateKey privkey)
Construct a DecryptionKeyReturnValue with the given asymmetric private key. |
|
DecryptionKeyReturnValue(javax.crypto.SecretKey seckey)
Construct a DecryptionKeyReturnValue with the given symmetric secret key. |
Method Summary | |
KeyBundle |
getBundle()
Return the key bundle. |
int |
getError()
Return the error value. |
char[] |
getPassphrase()
Return the passphrase. |
java.security.PrivateKey |
getPrivateKey()
Return the symmetric secret key. |
javax.crypto.SecretKey |
getSecretKey()
Return the symmetric secret key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NOERROR
public static final int FAIL
Constructor Detail |
public DecryptionKeyReturnValue(int error)
public DecryptionKeyReturnValue(javax.crypto.SecretKey seckey)
public DecryptionKeyReturnValue(java.security.PrivateKey privkey)
public DecryptionKeyReturnValue(KeyBundle bundle, char[] passphrase)
public DecryptionKeyReturnValue(char[] passphrase)
Method Detail |
public int getError()
public javax.crypto.SecretKey getSecretKey()
public java.security.PrivateKey getPrivateKey()
public KeyBundle getBundle()
public char[] getPassphrase()
|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |