Record Class AcmeService.DirectoryRegistration
java.lang.Object
java.lang.Record
zeroecho.pki.server.acme.AcmeService.DirectoryRegistration
- Record Components:
alias- unique public directory alias- exact logical authority identifierprofileId- active end-entity profile identifierenrollmentProfileId- mandatory enrollment admission policy identitydnsNamespaces- permitted DNS namespace suffixesmaximumValidity- maximum issued credential validitypublicKeyAlgorithms- accepted public-key algorithm identifiersx509BindingPolicies- accepted X.509 binding-policy identifierschallengeTypes- enabled challenge typeschallengeProviderIds- enabled challenge-provider identifierseabProviderId- optional external-account-binding providereabRequired- whether external account binding is mandatory
- Enclosing class:
AcmeService
public static record AcmeService.DirectoryRegistration(String alias, PkiId authorityId, String profileId, String enrollmentProfileId, Set<String> dnsNamespaces, Duration maximumValidity, Set<String> publicKeyAlgorithms, Set<String> x509BindingPolicies, Set<AcmeState.ChallengeType> challengeTypes, Set<String> challengeProviderIds, Optional<String> eabProviderId, boolean eabRequired)
extends Record
Safe immutable directory-registration input.
-
Constructor Summary
ConstructorsConstructorDescriptionDirectoryRegistration(String alias, PkiId authorityId, String profileId, String enrollmentProfileId, Set<String> dnsNamespaces, Duration maximumValidity, Set<String> publicKeyAlgorithms, Set<String> x509BindingPolicies, Set<AcmeState.ChallengeType> challengeTypes, Set<String> challengeProviderIds, Optional<String> eabProviderId, boolean eabRequired) Validates required registration input before PKI resolution. -
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 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 themaximumValidityrecord component.Returns the value of theprofileIdrecord component.Returns the value of thepublicKeyAlgorithmsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thex509BindingPoliciesrecord component.
-
Constructor Details
-
DirectoryRegistration
public DirectoryRegistration(String alias, PkiId authorityId, String profileId, String enrollmentProfileId, Set<String> dnsNamespaces, Duration maximumValidity, Set<String> publicKeyAlgorithms, Set<String> x509BindingPolicies, Set<AcmeState.ChallengeType> challengeTypes, Set<String> challengeProviderIds, Optional<String> eabProviderId, boolean eabRequired) Validates required registration input before PKI resolution.
-
-
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. -
alias
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
profileId
-
enrollmentProfileId
Returns the value of theenrollmentProfileIdrecord component.- Returns:
- the value of the
enrollmentProfileIdrecord 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
-