Record Class EnrollmentTransaction.ArtifactBinding
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentTransaction.ArtifactBinding
- Record Components:
artifactId- stable generation descriptor identitygenerationCommitment- complete original template and generation-policy commitmentciphertextSha256- exact encrypted body commitmentciphertextBytes- bounded encrypted body length
- Enclosing class:
EnrollmentTransaction
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactBinding(String artifactId, String generationCommitment, String ciphertextSha256, long ciphertextBytes) Validates bounded immutable references; grants no delivery permission. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.longReturns the value of theciphertextBytesrecord component.Returns the value of theciphertextSha256record component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegenerationCommitmentrecord component.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.
-
Constructor Details
-
ArtifactBinding
-
-
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. -
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
generationCommitment
Returns the value of thegenerationCommitmentrecord component.- Returns:
- the value of the
generationCommitmentrecord component
-
ciphertextSha256
Returns the value of theciphertextSha256record component.- Returns:
- the value of the
ciphertextSha256record component
-
ciphertextBytes
public long ciphertextBytes()Returns the value of theciphertextBytesrecord component.- Returns:
- the value of the
ciphertextBytesrecord component
-