|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.message.stream.VerificationKeyReturnValue
Return value for the verification key callback function
Field Summary | |
static int |
FAIL
Fail the complete operation, i.e. throw an exception |
static int |
IGNORE
Ignore the verification, just return the data |
static int |
NOERROR
No error |
Constructor Summary | |
VerificationKeyReturnValue(int error)
Construct a VerificationKeyReturnValue with the given error. |
|
VerificationKeyReturnValue(KeyBundle bundle)
Construct a VerificationKeyReturnValue with the given keybundle. |
|
VerificationKeyReturnValue(java.security.PublicKey pubkey)
Construct a VerificationKeyReturnValue with the given public key. |
Method Summary | |
KeyBundle |
getBundle()
Return the key bundle. |
int |
getError()
Return the error value. |
java.security.PublicKey |
getPublicKey()
Return the public 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
public static final int IGNORE
Constructor Detail |
public VerificationKeyReturnValue(int error)
public VerificationKeyReturnValue(java.security.PublicKey pubkey)
public VerificationKeyReturnValue(KeyBundle bundle)
Method Detail |
public int getError()
public java.security.PublicKey getPublicKey()
public KeyBundle getBundle()
|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |