Record Class EnrollmentTransaction.Intent
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentTransaction.Intent
- Record Components:
realmId- exact realmsource- endpoint and credential selectionrequester- original authenticated actortransactionId- protocol transaction commitment, never secret/raw nonce dataoperation- requested operation kindrequestId- exact immutable domain request referencerequestKind- original syntaxrequestSha256- exact original DER SHA-256requestBytes- original request size charged to retained capacity- logical issuing authorityprofile- frozen exact certificate profileissuerId- selected issuer generationpathId- selected chain pathpathCommitment- exact selected chain commitmentvalidity- requested validity overridepredecessorId- renewal or replacement predecessor, absent for issuancepredecessorSha256- exact predecessor digest, present for lifecycle operationsapprovalCategory- effective issuance approval categoryapprovalPolicy- complete frozen approval policy when requiredartifact- immutable encrypted delivery binding for attached server-keygen workcreatedAt- admission timeexpiresAt- deadline for a fresh dispatch claim
- Enclosing class:
EnrollmentTransaction
public static record EnrollmentTransaction.Intent(RealmId realmId, EnrollmentTransaction.Source source, EnrollmentTransaction.Requester requester, String transactionId, EnrollmentTransaction.Operation operation, PkiId requestId, X509EnrollmentPayload.Kind requestKind, String requestSha256, int requestBytes, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId pathId, String pathCommitment, Optional<Validity> validity, Optional<PkiId> predecessorId, Optional<String> predecessorSha256, OperationSecurityDescriptors.ApprovalCategory approvalCategory, Optional<ApprovalService.Policy> approvalPolicy, Optional<EnrollmentTransaction.ArtifactBinding> artifact, Instant createdAt, Instant expiresAt)
extends Record
Frozen verified original request reference and complete issuance selection.
-
Constructor Summary
ConstructorsConstructorDescriptionIntent(RealmId realmId, EnrollmentTransaction.Source source, EnrollmentTransaction.Requester requester, String transactionId, EnrollmentTransaction.Operation operation, PkiId requestId, X509EnrollmentPayload.Kind requestKind, String requestSha256, int requestBytes, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId pathId, String pathCommitment, Optional<Validity> validity, Optional<PkiId> predecessorId, Optional<String> predecessorSha256, OperationSecurityDescriptors.ApprovalCategory approvalCategory, Optional<ApprovalService.Policy> approvalPolicy, Optional<EnrollmentTransaction.ArtifactBinding> artifact, Instant createdAt, Instant expiresAt) Validates complete, bounded, internally consistent admission references. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapprovalCategoryrecord component.Returns the value of theapprovalPolicyrecord component.artifact()Returns the value of theartifactrecord component.Returns the value of theauthorityIdrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.issuerId()Returns the value of theissuerIdrecord component.Returns the value of theoperationrecord component.Returns the value of thepathCommitmentrecord component.pathId()Returns the value of thepathIdrecord component.Returns the value of thepredecessorIdrecord component.Returns the value of thepredecessorSha256record component.profile()Returns the value of theprofilerecord component.realmId()Returns the value of therealmIdrecord component.intReturns the value of therequestBytesrecord component.Returns the value of therequesterrecord component.Returns the value of therequestIdrecord component.Returns the value of therequestKindrecord component.Returns the value of therequestSha256record component.source()Returns the value of thesourcerecord component.toString()Returns a string representation of this record class.Returns the value of thetransactionIdrecord component.validity()Returns the value of thevalidityrecord component.
-
Constructor Details
-
Intent
public Intent(RealmId realmId, EnrollmentTransaction.Source source, EnrollmentTransaction.Requester requester, String transactionId, EnrollmentTransaction.Operation operation, PkiId requestId, X509EnrollmentPayload.Kind requestKind, String requestSha256, int requestBytes, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId pathId, String pathCommitment, Optional<Validity> validity, Optional<PkiId> predecessorId, Optional<String> predecessorSha256, OperationSecurityDescriptors.ApprovalCategory approvalCategory, Optional<ApprovalService.Policy> approvalPolicy, Optional<EnrollmentTransaction.ArtifactBinding> artifact, Instant createdAt, Instant expiresAt) Validates complete, bounded, internally consistent admission references.
-
-
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. -
realmId
-
source
-
requester
-
transactionId
Returns the value of thetransactionIdrecord component.- Returns:
- the value of the
transactionIdrecord component
-
operation
-
requestId
-
requestKind
Returns the value of therequestKindrecord component.- Returns:
- the value of the
requestKindrecord component
-
requestSha256
Returns the value of therequestSha256record component.- Returns:
- the value of the
requestSha256record component
-
requestBytes
public int requestBytes()Returns the value of therequestBytesrecord component.- Returns:
- the value of the
requestBytesrecord component
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
profile
-
issuerId
-
pathId
-
pathCommitment
Returns the value of thepathCommitmentrecord component.- Returns:
- the value of the
pathCommitmentrecord component
-
validity
-
predecessorId
Returns the value of thepredecessorIdrecord component.- Returns:
- the value of the
predecessorIdrecord component
-
predecessorSha256
Returns the value of thepredecessorSha256record component.- Returns:
- the value of the
predecessorSha256record component
-
approvalCategory
Returns the value of theapprovalCategoryrecord component.- Returns:
- the value of the
approvalCategoryrecord component
-
approvalPolicy
Returns the value of theapprovalPolicyrecord component.- Returns:
- the value of the
approvalPolicyrecord component
-
artifact
-
createdAt
-
expiresAt
-