Record Class EnrollmentRuntimeConfiguration.ActiveCredential
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentRuntimeConfiguration.ActiveCredential
- Record Components:
protocol- protocol family- exact authority scopecredentialId- configured immutable set identity
- Enclosing class:
EnrollmentRuntimeConfiguration
public static record EnrollmentRuntimeConfiguration.ActiveCredential(EnrollmentRuntimeConfiguration.Protocol protocol, String authorityId, String credentialId)
extends Record
Selection for newly admitted transactions; retained transactions keep their ID.
-
Constructor Summary
ConstructorsConstructorDescriptionActiveCredential(EnrollmentRuntimeConfiguration.Protocol protocol, String authorityId, String credentialId) Validates the selection identities. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityIdrecord component.Returns the value of thecredentialIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.protocol()Returns the value of theprotocolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActiveCredential
public ActiveCredential(EnrollmentRuntimeConfiguration.Protocol protocol, String authorityId, String credentialId) Validates the selection identities.
-
-
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). -
protocol
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
credentialId
Returns the value of thecredentialIdrecord component.- Returns:
- the value of the
credentialIdrecord component
-