Record Class EnrollmentTransaction.Source
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentTransaction.Source
- Record Components:
protocol- wire protocollabel- stable configured endpoint label or ACME directory aliasrecordId- exact persisted endpoint/directory identityrevision- positive revisioncommitment- complete endpoint record commitmentenrollmentProfileId- explicit enrollment policy identityenrollmentCommitment- complete enrollment policy commitmentcredentialId- selected immutable protocol credential set, where required
- Enclosing class:
EnrollmentTransaction
public static record EnrollmentTransaction.Source(EnrollmentTransaction.Protocol protocol, String label, String recordId, long revision, String commitment, String enrollmentProfileId, String enrollmentCommitment, Optional<String> credentialId)
extends Record
Frozen endpoint identity. The replay namespace uses label; recordId and
revision are immutable admission preconditions, never replay-key inputs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecommitmentrecord component.Returns the value of thecredentialIdrecord component.Returns the value of theenrollmentCommitmentrecord component.Returns the value of theenrollmentProfileIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.protocol()Returns the value of theprotocolrecord component.recordId()Returns the value of therecordIdrecord component.longrevision()Returns the value of therevisionrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Source
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
protocol
-
label
-
recordId
-
revision
-
commitment
Returns the value of thecommitmentrecord component.- Returns:
- the value of the
commitmentrecord component
-
enrollmentProfileId
Returns the value of theenrollmentProfileIdrecord component.- Returns:
- the value of the
enrollmentProfileIdrecord component
-
enrollmentCommitment
Returns the value of theenrollmentCommitmentrecord component.- Returns:
- the value of the
enrollmentCommitmentrecord component
-
credentialId
Returns the value of thecredentialIdrecord component.- Returns:
- the value of the
credentialIdrecord component
-