Enum Class RemoteSigningTransport.RemoteSigningState
java.lang.Object
java.lang.Enum<RemoteSigningTransport.RemoteSigningState>
zeroecho.pki.spi.crypto.remote.RemoteSigningTransport.RemoteSigningState
- All Implemented Interfaces:
Serializable, Comparable<RemoteSigningTransport.RemoteSigningState>, Constable
- Enclosing interface:
RemoteSigningTransport
public static enum RemoteSigningTransport.RemoteSigningState
extends Enum<RemoteSigningTransport.RemoteSigningState>
Technology-neutral state a remote signing service reports.
QUEUED is non-terminal (accepted, awaiting the service's decision,
possibly an external operator approval); SIGNED, DENIED, and
CANCELLED are terminal. Deadline expiry is enforced by the caller's
orchestration, not reported here.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe caller's cancellation was honoured.The signature was refused by policy or an operator.Accepted and awaiting signing or an external (typically human) decision.A signature has been produced.Remote service cannot currently determine whether the operation exists.Remote service guarantees the operation outcome cannot be recovered. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether this state is terminal.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUEUED
Accepted and awaiting signing or an external (typically human) decision. -
SIGNED
A signature has been produced. -
DENIED
The signature was refused by policy or an operator. -
CANCELLED
The caller's cancellation was honoured. -
UNKNOWN
Remote service cannot currently determine whether the operation exists. -
UNRECOVERABLE
Remote service guarantees the operation outcome cannot be recovered.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isTerminal
-