|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SignatureCheckResult>
com.didisoft.pgp.SignatureCheckResult
public enum SignatureCheckResult
Represents the result of an OpenPGP signature check
This object represents the signature check result from the methods verifyAndExtractX and decryptAndVerifyX of the @see PGPLib
class
Enum Constant Summary | |
---|---|
NoSignatureFound
No signature was found in the input data |
|
PublicKeyNotMatching
The signature wasn't made with the provided public key |
|
SignatureBroken
Signature broken or forged |
|
SignatureVerified
Signature verified with the provided public key(s) |
Method Summary | |
---|---|
static SignatureCheckResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SignatureCheckResult[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SignatureCheckResult SignatureVerified
public static final SignatureCheckResult SignatureBroken
public static final SignatureCheckResult PublicKeyNotMatching
public static final SignatureCheckResult NoSignatureFound
Method Detail |
---|
public static SignatureCheckResult[] values()
for (SignatureCheckResult c : SignatureCheckResult.values()) System.out.println(c);
public static SignatureCheckResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |