Record Class CorrelatedIssuancePreparation.Prepared
java.lang.Object
java.lang.Record
zeroecho.pki.api.issuance.CorrelatedIssuancePreparation.Prepared
- Record Components:
prepared- opaque preparation exclusively owning its staged candidate
- All Implemented Interfaces:
CorrelatedIssuancePreparation
- Enclosing interface:
CorrelatedIssuancePreparation
public static record CorrelatedIssuancePreparation.Prepared(PreparedSemanticSigningRequest prepared)
extends Record
implements CorrelatedIssuancePreparation
Immutable carrier of one unused preparation. Its single-use custody must
be accepted or discarded through the preparing session's semantic service.
Preparation is not durable acceptance and does not reserve the correlation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface CorrelatedIssuancePreparation
CorrelatedIssuancePreparation.Existing, CorrelatedIssuancePreparation.Prepared -
Constructor Summary
ConstructorsConstructorDescriptionPrepared(PreparedSemanticSigningRequest prepared) Creates a custody carrier. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.prepared()Returns the value of thepreparedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Prepared
Creates a custody carrier.- Throws:
NullPointerException- if the preparation is null
-
-
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). -
prepared
-