Record Class AcmeService.DirectoryRegistration

java.lang.Object
java.lang.Record
zeroecho.pki.server.acme.AcmeService.DirectoryRegistration
Record Components:
alias - unique public directory alias
authorityId - exact logical authority identifier
profileId - active end-entity profile identifier
enrollmentProfileId - mandatory enrollment admission policy identity
dnsNamespaces - permitted DNS namespace suffixes
maximumValidity - maximum issued credential validity
publicKeyAlgorithms - accepted public-key algorithm identifiers
x509BindingPolicies - accepted X.509 binding-policy identifiers
challengeTypes - enabled challenge types
challengeProviderIds - enabled challenge-provider identifiers
eabProviderId - optional external-account-binding provider
eabRequired - 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 Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • alias

      public String alias()
      Returns the value of the alias record component.
      Returns:
      the value of the alias record component
    • authorityId

      public PkiId authorityId()
      Returns the value of the authorityId record component.
      Returns:
      the value of the authorityId record component
    • profileId

      public String profileId()
      Returns the value of the profileId record component.
      Returns:
      the value of the profileId record component
    • enrollmentProfileId

      public String enrollmentProfileId()
      Returns the value of the enrollmentProfileId record component.
      Returns:
      the value of the enrollmentProfileId record component
    • dnsNamespaces

      public Set<String> dnsNamespaces()
      Returns the value of the dnsNamespaces record component.
      Returns:
      the value of the dnsNamespaces record component
    • maximumValidity

      public Duration maximumValidity()
      Returns the value of the maximumValidity record component.
      Returns:
      the value of the maximumValidity record component
    • publicKeyAlgorithms

      public Set<String> publicKeyAlgorithms()
      Returns the value of the publicKeyAlgorithms record component.
      Returns:
      the value of the publicKeyAlgorithms record component
    • x509BindingPolicies

      public Set<String> x509BindingPolicies()
      Returns the value of the x509BindingPolicies record component.
      Returns:
      the value of the x509BindingPolicies record component
    • challengeTypes

      public Set<AcmeState.ChallengeType> challengeTypes()
      Returns the value of the challengeTypes record component.
      Returns:
      the value of the challengeTypes record component
    • challengeProviderIds

      public Set<String> challengeProviderIds()
      Returns the value of the challengeProviderIds record component.
      Returns:
      the value of the challengeProviderIds record component
    • eabProviderId

      public Optional<String> eabProviderId()
      Returns the value of the eabProviderId record component.
      Returns:
      the value of the eabProviderId record component
    • eabRequired

      public boolean eabRequired()
      Returns the value of the eabRequired record component.
      Returns:
      the value of the eabRequired record component