- All Implemented Interfaces:
Serializable
,Comparable<GHVerification.Reason>
- Enclosing class:
- GHVerification
The possible values for reason in verification object from github.
- Author:
- Sourabh Sarvotham Parkala
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe signing certificate or its chain could not be verified.Invalid email used for signing.Signing key expired.The GPG verification service misbehaved.The GPG verification service is unavailable at the moment.Invalid signature.Malformed signature.Malformed signature.Email used for signing not known to GitHub.The usage flags for the key that signed this don't allow signing.Valid signature, though certificate revocation check failed.Valid signature, pending certificate revocation checking.One or more certificates in chain has been revoked.Key used for signing not known to GitHub.Unknown signature type.Unsigned.Email used for signing unverified on GitHub.Valid signature and verified by GitHub. -
Method Summary
Modifier and TypeMethodDescriptionstatic GHVerification.Reason
Returns the enum constant of this type with the specified name.static GHVerification.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BAD_CERT
The signing certificate or its chain could not be verified. -
BAD_EMAIL
Invalid email used for signing. -
EXPIRED_KEY
Signing key expired. -
GPGVERIFY_ERROR
The GPG verification service misbehaved. -
GPGVERIFY_UNAVAILABLE
The GPG verification service is unavailable at the moment. -
INVALID
Invalid signature. -
MALFORMED_SIG
Malformed signature. (Returned by graphQL) -
MALFORMED_SIGNATURE
Malformed signature. -
NOT_SIGNING_KEY
The usage flags for the key that signed this don't allow signing. -
NO_USER
Email used for signing not known to GitHub. -
OCSP_ERROR
Valid signature, though certificate revocation check failed. -
OCSP_PENDING
Valid signature, pending certificate revocation checking. -
OCSP_REVOKED
One or more certificates in chain has been revoked. -
UNKNOWN_KEY
Key used for signing not known to GitHub. -
UNKNOWN_SIGNATURE_TYPE
Unknown signature type. -
UNSIGNED
Unsigned. -
UNVERIFIED_EMAIL
Email used for signing unverified on GitHub. -
VALID
Valid signature and verified by GitHub.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-