Package org.xipki.ca.api.profile
Interface CertprofileFactory
-
public interface CertprofileFactoryCertprofile factory.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanCreateProfile(String type)Whether Certprofile of given type can be created.Set<String>getSupportedTypes()Retrieves the types of supported certificate profiles.CertprofilenewCertprofile(String type)Create new Certprofile of given type.
-
-
-
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 benull.- 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 benull.- Returns:
- the new created certificate profile.
- Throws:
org.xipki.util.exception.ObjectCreationException- if certificate profile could not be created.
-
-