Record Class PkiServerConfiguration.ClientCertificateMapping
java.lang.Object
java.lang.Record
zeroecho.pki.server.PkiServerConfiguration.ClientCertificateMapping
- Record Components:
mappingId- stable mapping identityprincipalId- persisted server principal identitycertificateSha256- optional canonical certificate commitmentsubjectPublicKeyInfoSha256- optional canonical SPKI commitmentissuerSerialSha256- optional issuer-DER and positive-serial commitment
- Enclosing class:
PkiServerConfiguration
public static record PkiServerConfiguration.ClientCertificateMapping(String mappingId, String principalId, Optional<String> certificateSha256, Optional<String> subjectPublicKeyInfoSha256, Optional<String> issuerSerialSha256)
extends Record
One exact client-certificate mapping. All present commitments must match.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecertificateSha256record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theissuerSerialSha256record component.Returns the value of themappingIdrecord component.Returns the value of theprincipalIdrecord component.Returns the value of thesubjectPublicKeyInfoSha256record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClientCertificateMapping
-
-
Method Details
-
toString
-
hashCode
-
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). -
mappingId
-
principalId
Returns the value of theprincipalIdrecord component.- Returns:
- the value of the
principalIdrecord component
-
certificateSha256
Returns the value of thecertificateSha256record component.- Returns:
- the value of the
certificateSha256record component
-
subjectPublicKeyInfoSha256
Returns the value of thesubjectPublicKeyInfoSha256record component.- Returns:
- the value of the
subjectPublicKeyInfoSha256record component
-
issuerSerialSha256
Returns the value of theissuerSerialSha256record component.- Returns:
- the value of the
issuerSerialSha256record component
-