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(java.lang.String type)Whether Certprofile of given type can be created.java.util.Set<java.lang.String>getSupportedTypes()Retrieves the types of supported certificate profiles.CertprofilenewCertprofile(java.lang.String type)Create new Certprofile of given type.
-
-
-
Method Detail
-
getSupportedTypes
java.util.Set<java.lang.String> getSupportedTypes()
Retrieves the types of supported certificate profiles.- Returns:
- types of supported certificate profiles, never
null.
-
canCreateProfile
boolean canCreateProfile(java.lang.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(java.lang.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.
-
-