Package org.eclipse.jgit.transport
Enum PushCertificate.NonceStatus
- All Implemented Interfaces:
Serializable
,Comparable<PushCertificate.NonceStatus>
- Enclosing class:
PushCertificate
Verification result of the nonce returned during push.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNonce is invalid and did not match server's expectations.Nonce is required, but was not sent by client.Received nonce matches sent nonce, or is valid within the accepted slop window.Received nonce is valid, but outside the accepted slop window.Nonce was not expected, yet client sent one anyway. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PushCertificate.NonceStatus
Returns the enum constant of this type with the specified name.static PushCertificate.NonceStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSOLICITED
Nonce was not expected, yet client sent one anyway. -
BAD
Nonce is invalid and did not match server's expectations. -
MISSING
Nonce is required, but was not sent by client. -
OK
Received nonce matches sent nonce, or is valid within the accepted slop window. -
SLOP
Received nonce is valid, but outside the accepted slop window.
-
-
Constructor Details
-
NonceStatus
private NonceStatus()
-
-
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
-