Interface CertprofileFactory


  • public interface CertprofileFactory
    Certprofile factory.
    Since:
    2.0.0
    Author:
    Lijun Liao (xipki)
    • Method Detail

      • getSupportedTypes

        Set<String> getSupportedTypes()
        Retrieves the types of supported certificate profiles.
        Returns:
        types of supported certificate profiles, never null.
      • canCreateProfile

        boolean canCreateProfile​(String type)
        Whether Certprofile of given type can be created.
        Parameters:
        type - Type of the certificate profile. Must not be null.
        Returns:
        whether certificate profile of this type can be created.
      • newCertprofile

        Certprofile newCertprofile​(String type)
                            throws org.xipki.util.exception.ObjectCreationException
        Create new Certprofile of given type.
        Parameters:
        type - Type of the certificate profile. Must not be null.
        Returns:
        the new created certificate profile.
        Throws:
        org.xipki.util.exception.ObjectCreationException - if certificate profile could not be created.