Class EnrollmentCoordinator.KeygenGeneration
java.lang.Object
zeroecho.pki.server.enrollment.EnrollmentCoordinator.KeygenGeneration
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
EnrollmentCoordinator
Exclusive generation claim. No raw private key is accepted by this handle;
the adapter encrypts it for the frozen recipient before attachment.
-
Method Summary
Modifier and TypeMethodDescriptionattach(X509EnrollmentPayload generated, byte[] ciphertext) Stores the proved generated CSR and publishes encrypted bytes before one atomic descriptor/enrollment attachment.voidclose()Releases generation capacity.Returns immutable original template, policy and resource reservation.
-
Method Details
-
descriptor
Returns immutable original template, policy and resource reservation.- Returns:
- immutable original template, policy and resource reservation
-
attach
Stores the proved generated CSR and publishes encrypted bytes before one atomic descriptor/enrollment attachment. Any uncertain publication fences this coordinator. The generated request must preserve every template subject and SAN and satisfy the frozen key and proof policy.- Parameters:
generated- exact proved generated PKCS#10 requestciphertext- already client-encrypted PKCS#8 CMS delivery bytes- Returns:
- durable approval or approved enrollment
-
close
public void close()Releases generation capacity. A confirmed unattached generation is terminalized before deletion; uncertain state is left for startup recovery.- Specified by:
closein interfaceAutoCloseable
-