Record Class Certificate
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull @Valid InstantThe field for thecreatedAtrecord component.private final @NotNull @Pattern(regexp="^[0-9a-f]{64}$") StringThe field for thefingerprintSha256record component.private final @NotNull @Valid UUIDThe field for theidrecord component.private final @NotNull StringThe field for thesubjectDnrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCertificate(@NotNull @Valid UUID id, @NotNull @Pattern(regexp="^[0-9a-f]{64}$") String fingerprintSha256, @NotNull String subjectDn, @NotNull @Valid Instant createdAt) Creates an instance of aCertificaterecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull @Valid InstantReturns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.@NotNull @Pattern(regexp="^[0-9a-f]{64}$") StringReturns the value of thefingerprintSha256record component.final inthashCode()Returns a hash code value for this object.@NotNull @Valid UUIDid()Returns the value of theidrecord component.@NotNull StringReturns the value of thesubjectDnrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
fingerprintSha256
@NotNull @Pattern(regexp="^[0-9a-f]{64}$") private final @NotNull @Pattern(regexp="^[0-9a-f]{64}$") String fingerprintSha256The field for thefingerprintSha256record component. -
subjectDn
The field for thesubjectDnrecord component. -
createdAt
The field for thecreatedAtrecord 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 aCertificaterecord class.- Parameters:
id- the value for theidrecord componentfingerprintSha256- the value for thefingerprintSha256record componentsubjectDn- the value for thesubjectDnrecord componentcreatedAt- the value for thecreatedAtrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
fingerprintSha256
@NotNull @Pattern(regexp="^[0-9a-f]{64}$") public @NotNull @Pattern(regexp="^[0-9a-f]{64}$") String fingerprintSha256()Returns the value of thefingerprintSha256record component.- Returns:
- the value of the
fingerprintSha256record component
-
subjectDn
Returns the value of thesubjectDnrecord component.- Returns:
- the value of the
subjectDnrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-