java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.v1.generated.model.Certificate
Record Components:
id - Identifier of the binding.
fingerprintSha256 - SHA-256 fingerprint of the DER form of the certificate, as lower case hexadecimal digits.
subjectDn - Subject distinguished name of the certificate, to tell the bindings apart.
createdAt - When the certificate was bound.

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2026-11-08T20:21:45.782821081Z[Etc/UTC]", comments="Generator version: 7.27.0") public record Certificate(@NotNull @Valid UUID id, @NotNull @Pattern(regexp="^[0-9a-f]{64}$") String fingerprintSha256, @NotNull String subjectDn, @NotNull @Valid Instant createdAt) extends Record
An X.509 client certificate bound to the account
  • Field Details

    • id

      @NotNull @Valid private final @NotNull @Valid UUID id
      The field for the id record component.
    • fingerprintSha256

      @NotNull @Pattern(regexp="^[0-9a-f]{64}$") private final @NotNull @Pattern(regexp="^[0-9a-f]{64}$") String fingerprintSha256
      The field for the fingerprintSha256 record component.
    • subjectDn

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

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

    • Certificate

      public Certificate(@NotNull @Valid @NotNull @Valid UUID id, @NotNull @Pattern(regexp="^[0-9a-f]{64}$") @NotNull @Pattern(regexp="^[0-9a-f]{64}$") String fingerprintSha256, @NotNull @NotNull String subjectDn, @DateTimeFormat(iso=DATE_TIME) @NotNull @Valid @NotNull @Valid Instant createdAt)
      Creates an instance of a Certificate record class.
      Parameters:
      id - the value for the id record component
      fingerprintSha256 - the value for the fingerprintSha256 record component
      subjectDn - the value for the subjectDn record component
      createdAt - the value for the createdAt 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.
    • id

      @NotNull @Valid public @NotNull @Valid UUID id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • fingerprintSha256

      @NotNull @Pattern(regexp="^[0-9a-f]{64}$") public @NotNull @Pattern(regexp="^[0-9a-f]{64}$") String fingerprintSha256()
      Returns the value of the fingerprintSha256 record component.
      Returns:
      the value of the fingerprintSha256 record component
    • subjectDn

      @NotNull public @NotNull String subjectDn()
      Returns the value of the subjectDn record component.
      Returns:
      the value of the subjectDn 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