Record Class AcmeState.Directory
java.lang.Object
java.lang.Record
zeroecho.pki.server.acme.AcmeState.Directory
- Record Components:
directoryId- stable directory identifieralias- unique public directory aliasrevision- positive policy revisionrealmId- owning security realm- exact logical authorityprofile- frozen certificate profile referenceenrollmentProfileId- mandatory enrollment admission policy identityissuerId- exact issuer generationissuancePathId- exact issuance chain pathissuancePathCommitment- expected chain-path commitmentidentifierTypes- accepted identifier typesdnsNamespaces- permitted DNS namespace suffixesmaximumValidity- maximum issued credential validitypublicKeyAlgorithms- accepted public-key algorithm identifiersx509BindingPolicies- accepted X.509 binding-policy identifierschallengeTypes- enabled proof challenge typeschallengeProviderIds- enabled challenge-provider identifierseabProviderId- optional external-account-binding providereabRequired- whether new accounts require external account bindingconfirmationPolicy- credential-confirmation policyconfirmationPolicyCommitment- expected confirmation-policy commitmentstatus- directory lifecycle statepolicyCommitment- commitment to protocol policycreatedAt- server-authoritative creation timecommitment- commitment to the complete record
- Enclosing class:
AcmeState
public static record AcmeState.Directory(String directoryId, String alias, int revision, RealmId realmId, PkiId authorityId, CertificateProfileRef profile, String enrollmentProfileId, PkiId issuerId, PkiId issuancePathId, String issuancePathCommitment, Set<AcmeState.IdentifierType> identifierTypes, Set<String> dnsNamespaces, Duration maximumValidity, Set<String> publicKeyAlgorithms, Set<String> x509BindingPolicies, Set<AcmeState.ChallengeType> challengeTypes, Set<String> challengeProviderIds, Optional<String> eabProviderId, boolean eabRequired, CredentialConfirmationPolicy confirmationPolicy, String confirmationPolicyCommitment, AcmeState.DirectoryStatus status, String policyCommitment, Instant createdAt, String commitment)
extends Record
Immutable directory policy revision bound to one exact PKI authority.
-
Constructor Summary
ConstructorsConstructorDescriptionDirectory(String directoryId, String alias, int revision, RealmId realmId, PkiId authorityId, CertificateProfileRef profile, String enrollmentProfileId, PkiId issuerId, PkiId issuancePathId, String issuancePathCommitment, Set<AcmeState.IdentifierType> identifierTypes, Set<String> dnsNamespaces, Duration maximumValidity, Set<String> publicKeyAlgorithms, Set<String> x509BindingPolicies, Set<AcmeState.ChallengeType> challengeTypes, Set<String> challengeProviderIds, Optional<String> eabProviderId, boolean eabRequired, CredentialConfirmationPolicy confirmationPolicy, String confirmationPolicyCommitment, AcmeState.DirectoryStatus status, String policyCommitment, Instant createdAt, String commitment) Validates the complete frozen directory revision. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.Returns the value of theauthorityIdrecord component.Returns the value of thechallengeProviderIdsrecord component.Returns the value of thechallengeTypesrecord component.Returns the value of thecommitmentrecord component.Returns the value of theconfirmationPolicyrecord component.Returns the value of theconfirmationPolicyCommitmentrecord component.Returns the value of thecreatedAtrecord component.Returns the value of thedirectoryIdrecord component.Returns the value of thednsNamespacesrecord component.Returns the value of theeabProviderIdrecord component.booleanReturns the value of theeabRequiredrecord component.Returns the value of theenrollmentProfileIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierTypesrecord component.Returns the value of theissuancePathCommitmentrecord component.Returns the value of theissuancePathIdrecord component.issuerId()Returns the value of theissuerIdrecord component.Returns the value of themaximumValidityrecord component.Returns the value of thepolicyCommitmentrecord component.profile()Returns the value of theprofilerecord component.Returns the value of thepublicKeyAlgorithmsrecord component.realmId()Returns the value of therealmIdrecord component.intrevision()Returns the value of therevisionrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thex509BindingPoliciesrecord component.
-
Constructor Details
-
Directory
public Directory(String directoryId, String alias, int revision, RealmId realmId, PkiId authorityId, CertificateProfileRef profile, String enrollmentProfileId, PkiId issuerId, PkiId issuancePathId, String issuancePathCommitment, Set<AcmeState.IdentifierType> identifierTypes, Set<String> dnsNamespaces, Duration maximumValidity, Set<String> publicKeyAlgorithms, Set<String> x509BindingPolicies, Set<AcmeState.ChallengeType> challengeTypes, Set<String> challengeProviderIds, Optional<String> eabProviderId, boolean eabRequired, CredentialConfirmationPolicy confirmationPolicy, String confirmationPolicyCommitment, AcmeState.DirectoryStatus status, String policyCommitment, Instant createdAt, String commitment) Validates the complete frozen directory revision.
-
-
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. -
directoryId
Returns the value of thedirectoryIdrecord component.- Returns:
- the value of the
directoryIdrecord component
-
alias
-
revision
-
realmId
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
profile
-
enrollmentProfileId
Returns the value of theenrollmentProfileIdrecord component.- Returns:
- the value of the
enrollmentProfileIdrecord component
-
issuerId
-
issuancePathId
Returns the value of theissuancePathIdrecord component.- Returns:
- the value of the
issuancePathIdrecord component
-
issuancePathCommitment
Returns the value of theissuancePathCommitmentrecord component.- Returns:
- the value of the
issuancePathCommitmentrecord component
-
identifierTypes
Returns the value of theidentifierTypesrecord component.- Returns:
- the value of the
identifierTypesrecord component
-
dnsNamespaces
Returns the value of thednsNamespacesrecord component.- Returns:
- the value of the
dnsNamespacesrecord component
-
maximumValidity
Returns the value of themaximumValidityrecord component.- Returns:
- the value of the
maximumValidityrecord component
-
publicKeyAlgorithms
Returns the value of thepublicKeyAlgorithmsrecord component.- Returns:
- the value of the
publicKeyAlgorithmsrecord component
-
x509BindingPolicies
Returns the value of thex509BindingPoliciesrecord component.- Returns:
- the value of the
x509BindingPoliciesrecord component
-
challengeTypes
Returns the value of thechallengeTypesrecord component.- Returns:
- the value of the
challengeTypesrecord component
-
challengeProviderIds
Returns the value of thechallengeProviderIdsrecord component.- Returns:
- the value of the
challengeProviderIdsrecord component
-
eabProviderId
Returns the value of theeabProviderIdrecord component.- Returns:
- the value of the
eabProviderIdrecord component
-
eabRequired
public boolean eabRequired()Returns the value of theeabRequiredrecord component.- Returns:
- the value of the
eabRequiredrecord component
-
confirmationPolicy
Returns the value of theconfirmationPolicyrecord component.- Returns:
- the value of the
confirmationPolicyrecord component
-
confirmationPolicyCommitment
Returns the value of theconfirmationPolicyCommitmentrecord component.- Returns:
- the value of the
confirmationPolicyCommitmentrecord component
-
status
-
policyCommitment
Returns the value of thepolicyCommitmentrecord component.- Returns:
- the value of the
policyCommitmentrecord component
-
createdAt
-
commitment
Returns the value of thecommitmentrecord component.- Returns:
- the value of the
commitmentrecord component
-