Class EntryCandidateNames

java.lang.Object
com.isode.dsapi.util.EntryCandidateNames

public class EntryCandidateNames extends Object
Class to represent subjectAltNames and Extensions values derived from the Directory Entry
Author:
gb
  • Constructor Details

    • EntryCandidateNames

      public EntryCandidateNames(IsodeDirectorySession ds, Entry entry)
      Create an instance of this class by specifying a directory Entry
      Parameters:
      ds - IsodeDirectory session is required for doing a subtree search for a multi-domain subjectAltNames
      entry - - Entry whose attribute values will be used to generate names and extensions
  • Method Details

    • getCandidatesForExtensions

      public List<OtherName> getCandidatesForExtensions(OtherName.OTHER_NAME_TYPE type)
      Get the list of all attribute values from the Directory Entry which can be used as candidates for a type of extension.
      Parameters:
      type - type of extension
      Returns:
      list of candidate extension values of type
    • getCandidatesForSubjectAltNames

      public List<SubjectAltName> getCandidatesForSubjectAltNames()
      Get the list of all attribute values from the Directory Entry which can be used as candidates for subjectAltNames.
      Returns:
      list of candidate values for subjectAltNames