Class JwksParseResult
java.lang.Object
com.revetsec.jose.JwksParseResult
- Direct Known Subclasses:
JwksParseResult.Rejected, JwksParseResult.Succeeded
@Immutable
public abstract sealed class JwksParseResult
extends Object
permits JwksParseResult.Succeeded, JwksParseResult.Rejected
The outcome of parsing a JSON Web Key Set document with the default size and key-count limits.
Applications receive these outcomes from the corresponding operation; they cannot construct them. Value accessors exist only on the variant that owns a value. Diagnostic text contains no input or result data. A later release may add variants; consuming switches should include a rejecting default branch.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe input was rejected; this variant contains only a fixed reason.static final classA JSON Web Key Set document passed the structural and resource-limit checks. -
Method Summary
-
Method Details
-
toString
-