Record Class HybridCertificateMode.TwinCertificate
java.lang.Object
java.lang.Record
zeroecho.pki.api.hybrid.HybridCertificateMode.TwinCertificate
- All Implemented Interfaces:
HybridCertificateMode
- Enclosing interface:
HybridCertificateMode
public static record HybridCertificateMode.TwinCertificate()
extends Record
implements HybridCertificateMode
Twin-certificate mode: two parallel CA hierarchies, one classical and one
post-quantum, are maintained and cross-referenced at the deployment level.
Each individual certificate in the hierarchy is a standard single-algorithm X.509 certificate; the twin relationship is a deployment-level configuration, not a per-certificate property. Profiles using this mode carry no additional extensions beyond the primary algorithm fields. The mode is a semantic marker in the profile that tooling can use to coordinate twin deployments.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface HybridCertificateMode
HybridCertificateMode.AltSignature, HybridCertificateMode.Composite, HybridCertificateMode.None, HybridCertificateMode.TwinCertificate -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HybridCertificateMode.TwinCertificateSingleton instance. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
TwinCertificate
public TwinCertificate()Creates an instance of aTwinCertificaterecord class.
-
-
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.
-