Record Class SigningKeyResponse
java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.v1.generated.model.SigningKeyResponse
- Record Components:
kid- Key identifier, the kid header of the tokens it signs.alg- JWS algorithm, for example RS256.status- Lifecycle state, NEXT, ACTIVE or RETIRED.createdAt- Creation instant.activatedAt- Instant at which the key started signing; null while it is the next key.retiredAt- Instant at which the key stopped signing; null until it is retired.publicJwk- The public key as a serialized JSON Web Key.
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2026-11-08T20:21:45.782821081Z[Etc/UTC]",
comments="Generator version: 7.27.0")
public record SigningKeyResponse(@NotNull String kid, @NotNull String alg, @NotNull String status, @NotNull @Valid Instant createdAt, @Valid Instant activatedAt, @Valid Instant retiredAt, @NotNull String publicJwk)
extends Record
A signing key, without its private half
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Valid InstantThe field for theactivatedAtrecord component.private final @NotNull StringThe field for thealgrecord component.private final @NotNull @Valid InstantThe field for thecreatedAtrecord component.private final @NotNull StringThe field for thekidrecord component.private final @NotNull StringThe field for thepublicJwkrecord component.private final @Valid InstantThe field for theretiredAtrecord component.private final @NotNull StringThe field for thestatusrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Valid InstantReturns the value of theactivatedAtrecord component.@NotNull Stringalg()Returns the value of thealgrecord component.@NotNull @Valid InstantReturns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull Stringkid()Returns the value of thekidrecord component.@NotNull StringReturns the value of thepublicJwkrecord component.@Valid InstantReturns the value of theretiredAtrecord component.@NotNull Stringstatus()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
kid
The field for thekidrecord component. -
alg
The field for thealgrecord component. -
status
The field for thestatusrecord component. -
createdAt
The field for thecreatedAtrecord component. -
activatedAt
The field for theactivatedAtrecord component. -
retiredAt
The field for theretiredAtrecord component. -
publicJwk
The field for thepublicJwkrecord component.
-
-
Constructor Details
-
SigningKeyResponse
public SigningKeyResponse(@NotNull @NotNull String kid, @NotNull @NotNull String alg, @NotNull @NotNull String status, @DateTimeFormat(iso=DATE_TIME) @NotNull @Valid @NotNull @Valid Instant createdAt, @DateTimeFormat(iso=DATE_TIME) @Valid @Nullable @Valid Instant activatedAt, @DateTimeFormat(iso=DATE_TIME) @Valid @Nullable @Valid Instant retiredAt, @NotNull @NotNull String publicJwk) Creates an instance of aSigningKeyResponserecord class.- Parameters:
kid- the value for thekidrecord componentalg- the value for thealgrecord componentstatus- the value for thestatusrecord componentcreatedAt- the value for thecreatedAtrecord componentactivatedAt- the value for theactivatedAtrecord componentretiredAt- the value for theretiredAtrecord componentpublicJwk- the value for thepublicJwkrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
kid
Returns the value of thekidrecord component.- Returns:
- the value of the
kidrecord component
-
alg
Returns the value of thealgrecord component.- Returns:
- the value of the
algrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
activatedAt
Returns the value of theactivatedAtrecord component.- Returns:
- the value of the
activatedAtrecord component
-
retiredAt
Returns the value of theretiredAtrecord component.- Returns:
- the value of the
retiredAtrecord component
-
publicJwk
Returns the value of thepublicJwkrecord component.- Returns:
- the value of the
publicJwkrecord component
-