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 Details

    • kid

      @NotNull private final @NotNull String kid
      The field for the kid record component.
    • alg

      @NotNull private final @NotNull String alg
      The field for the alg record component.
    • status

      @NotNull private final @NotNull String status
      The field for the status record component.
    • createdAt

      @DateTimeFormat(iso=DATE_TIME) @NotNull @Valid private final @NotNull @Valid Instant createdAt
      The field for the createdAt record component.
    • activatedAt

      @DateTimeFormat(iso=DATE_TIME) @Valid @Nullable private final @Valid Instant activatedAt
      The field for the activatedAt record component.
    • retiredAt

      @DateTimeFormat(iso=DATE_TIME) @Valid @Nullable private final @Valid Instant retiredAt
      The field for the retiredAt record component.
    • publicJwk

      @NotNull private final @NotNull String publicJwk
      The field for the publicJwk record 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 a SigningKeyResponse record class.
      Parameters:
      kid - the value for the kid record component
      alg - the value for the alg record component
      status - the value for the status record component
      createdAt - the value for the createdAt record component
      activatedAt - the value for the activatedAt record component
      retiredAt - the value for the retiredAt record component
      publicJwk - the value for the publicJwk record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • kid

      @NotNull public @NotNull String kid()
      Returns the value of the kid record component.
      Returns:
      the value of the kid record component
    • alg

      @NotNull public @NotNull String alg()
      Returns the value of the alg record component.
      Returns:
      the value of the alg record component
    • status

      @NotNull public @NotNull String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • createdAt

      @DateTimeFormat(iso=DATE_TIME) @NotNull @Valid public @NotNull @Valid Instant createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component
    • activatedAt

      @DateTimeFormat(iso=DATE_TIME) @Valid @Nullable public @Valid Instant activatedAt()
      Returns the value of the activatedAt record component.
      Returns:
      the value of the activatedAt record component
    • retiredAt

      @DateTimeFormat(iso=DATE_TIME) @Valid @Nullable public @Valid Instant retiredAt()
      Returns the value of the retiredAt record component.
      Returns:
      the value of the retiredAt record component
    • publicJwk

      @NotNull public @NotNull String publicJwk()
      Returns the value of the publicJwk record component.
      Returns:
      the value of the publicJwk record component