public class CaManagerImpl extends Object implements org.xipki.ca.server.mgmt.api.CaManager, org.xipki.ca.server.api.ResponderManager
| Constructor and Description |
|---|
CaManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCa(org.xipki.ca.server.mgmt.api.CaEntry caEntry) |
void |
addCaAlias(String aliasName,
String caName) |
void |
addCertprofile(org.xipki.ca.server.mgmt.api.CertprofileEntry dbEntry) |
void |
addCertprofileToCa(String profileName,
String caName) |
void |
addPublisher(org.xipki.ca.server.mgmt.api.PublisherEntry dbEntry) |
void |
addPublisherToCa(String publisherName,
String caName) |
void |
addRequestor(org.xipki.ca.server.mgmt.api.RequestorEntry dbEntry) |
void |
addRequestorToCa(org.xipki.ca.server.mgmt.api.CaHasRequestorEntry requestor,
String caName) |
void |
addSigner(org.xipki.ca.server.mgmt.api.SignerEntry dbEntry) |
void |
addUser(org.xipki.ca.server.mgmt.api.AddUserEntry userEntry) |
void |
addUserToCa(org.xipki.ca.server.mgmt.api.CaHasUserEntry user,
String caName) |
void |
changeCa(org.xipki.ca.server.mgmt.api.ChangeCaEntry entry) |
void |
changeCertprofile(String name,
String type,
String conf) |
void |
changePublisher(String name,
String type,
String conf) |
void |
changeRequestor(String name,
String type,
String conf) |
void |
changeSigner(String name,
String type,
String conf,
String base64Cert) |
void |
changeUser(org.xipki.ca.server.mgmt.api.ChangeUserEntry userEntry) |
void |
clearPublishQueue(String caName,
List<String> publisherNames) |
void |
commitNextCrlNo(org.xipki.ca.api.NameId ca,
long nextCrlNo) |
ByUserRequestorInfo |
createByUserRequestor(org.xipki.ca.server.mgmt.api.CaHasUserEntry caHasUser) |
void |
exportConf(String zipFilename,
List<String> caNames) |
X509Certificate |
generateCertificate(String caName,
String profileName,
byte[] encodedCsr,
Date notBefore,
Date notAfter) |
X509CRL |
generateCrlOnDemand(String caName) |
X509Certificate |
generateRootCa(org.xipki.ca.server.mgmt.api.CaEntry caEntry,
String profileName,
byte[] encodedCsr,
BigInteger serialNumber) |
Set<String> |
getAliasesForCa(String caName) |
org.xipki.ca.server.mgmt.api.CaEntry |
getCa(String name) |
Set<String> |
getCaAliasNames() |
org.xipki.security.X509Cert |
getCaCert(String caName) |
Properties |
getCaConfProperties() |
Map<String,org.xipki.ca.server.mgmt.api.CaHasUserEntry> |
getCaHasUsersForUser(String user) |
String |
getCaNameForAlias(String aliasName) |
Set<String> |
getCaNames() |
org.xipki.ca.server.mgmt.api.CaSystemStatus |
getCaSystemStatus() |
org.xipki.ca.server.mgmt.api.CertWithRevocationInfo |
getCert(String caName,
BigInteger serialNumber) |
org.xipki.ca.server.mgmt.api.CertWithRevocationInfo |
getCert(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serialNumber) |
org.xipki.ca.server.mgmt.api.CertprofileEntry |
getCertprofile(String name) |
Set<String> |
getCertprofileNames() |
Set<String> |
getCertprofilesForCa(String caName) |
byte[] |
getCertRequest(String caName,
BigInteger serialNumber) |
X509CRL |
getCrl(String caName,
BigInteger crlNumber) |
X509CRL |
getCurrentCrl(String caName) |
org.xipki.datasource.DataSourceFactory |
getDataSourceFactory() |
Set<String> |
getFailedCaNames() |
org.xipki.ca.server.impl.IdentifiedCertprofile |
getIdentifiedCertprofile(String profileName) |
List<org.xipki.ca.server.impl.IdentifiedCertPublisher> |
getIdentifiedPublishersForCa(String caName) |
Set<String> |
getInactiveCaNames() |
org.xipki.ca.server.mgmt.api.PublisherEntry |
getPublisher(String name) |
Set<String> |
getPublisherNames() |
List<org.xipki.ca.server.mgmt.api.PublisherEntry> |
getPublishersForCa(String caName) |
org.xipki.ca.server.mgmt.api.RequestorEntry |
getRequestor(String name) |
Set<String> |
getRequestorNames() |
Set<org.xipki.ca.server.mgmt.api.CaHasRequestorEntry> |
getRequestorsForCa(String caName) |
RequestorEntryWrapper |
getRequestorWrapper(String name) |
org.xipki.ca.server.api.RestResponder |
getRestResponder() |
org.xipki.ca.server.api.ScepResponder |
getScepResponder(String name) |
ScheduledThreadPoolExecutor |
getScheduledThreadPoolExecutor() |
org.xipki.security.SecurityFactory |
getSecurityFactory() |
org.xipki.ca.server.mgmt.api.SignerEntry |
getSigner(String name) |
Set<String> |
getSignerNames() |
SignerEntryWrapper |
getSignerWrapper(String name) |
Set<String> |
getSuccessfulCaNames() |
Set<String> |
getSupportedCertprofileTypes() |
Set<String> |
getSupportedPublisherTypes() |
Set<String> |
getSupportedSignerTypes() |
org.xipki.ca.server.mgmt.api.UserEntry |
getUser(String username) |
X509Ca |
getX509Ca(org.xipki.ca.api.NameId ident) |
X509Ca |
getX509Ca(String name) |
org.xipki.ca.server.api.CmpResponder |
getX509CaResponder(String name) |
boolean |
isMasterMode() |
List<org.xipki.ca.server.mgmt.api.CertListInfo> |
listCertificates(String caName,
org.bouncycastle.asn1.x500.X500Name subjectPattern,
Date validFrom,
Date validTo,
org.xipki.ca.server.mgmt.api.CertListOrderBy orderBy,
int numEntries) |
void |
loadConf(org.xipki.ca.server.mgmt.api.conf.CaConf conf) |
void |
notifyCaChange() |
void |
removeCa(String name) |
void |
removeCaAlias(String name) |
void |
removeCertificate(String caName,
BigInteger serialNumber) |
void |
removeCertprofile(String name) |
void |
removeCertprofileFromCa(String profileName,
String caName) |
void |
removePublisher(String name) |
void |
removePublisherFromCa(String publisherName,
String caName) |
void |
removeRequestor(String name) |
void |
removeRequestorFromCa(String requestorName,
String caName) |
void |
removeSigner(String name) |
void |
removeUser(String username) |
void |
removeUserFromCa(String userName,
String caName) |
void |
republishCertificates(String caName,
List<String> publisherNames,
int numThreads) |
void |
restartCaSystem() |
void |
revokeCa(String caName,
org.xipki.security.CertRevocationInfo revocationInfo) |
void |
revokeCertificate(String caName,
BigInteger serialNumber,
org.xipki.security.CrlReason reason,
Date invalidityTime) |
void |
setAuditServiceRegister(org.xipki.audit.AuditServiceRegister register) |
void |
setCaConfFile(String caConfFile) |
void |
setCaConfProperties(Properties caConfProperties) |
void |
setCertprofileFactoryRegister(org.xipki.ca.api.profile.CertprofileFactoryRegister register) |
void |
setCertPublisherFactoryRegister(org.xipki.ca.api.publisher.CertPublisherFactoryRegister register) |
void |
setSecurityFactory(org.xipki.security.SecurityFactory securityFactory) |
void |
shutdown() |
void |
startCaSystem() |
void |
unlockCa() |
void |
unrevokeCa(String caName) |
void |
unrevokeCertificate(String caName,
BigInteger serialNumber) |
public static final String ENV_EPOCH
public CaManagerImpl()
throws org.xipki.util.InvalidConfException
org.xipki.util.InvalidConfExceptionpublic org.xipki.security.SecurityFactory getSecurityFactory()
public void setSecurityFactory(org.xipki.security.SecurityFactory securityFactory)
public org.xipki.datasource.DataSourceFactory getDataSourceFactory()
public boolean isMasterMode()
public Set<String> getSupportedSignerTypes()
getSupportedSignerTypes in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getSupportedCertprofileTypes()
getSupportedCertprofileTypes in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getSupportedPublisherTypes()
getSupportedPublisherTypes in interface org.xipki.ca.server.mgmt.api.CaManagerpublic org.xipki.ca.server.mgmt.api.CaSystemStatus getCaSystemStatus()
getCaSystemStatus in interface org.xipki.ca.server.mgmt.api.CaManagerpublic void unlockCa()
throws org.xipki.ca.server.mgmt.api.CaMgmtException
unlockCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void restartCaSystem()
throws org.xipki.ca.server.mgmt.api.CaMgmtException
restartCaSystem in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void notifyCaChange()
throws org.xipki.ca.server.mgmt.api.CaMgmtException
notifyCaChange in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void startCaSystem()
public void shutdown()
public org.xipki.ca.server.api.CmpResponder getX509CaResponder(String name)
getX509CaResponder in interface org.xipki.ca.server.api.ResponderManagerpublic ScheduledThreadPoolExecutor getScheduledThreadPoolExecutor()
public Set<String> getCertprofileNames()
getCertprofileNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getPublisherNames()
getPublisherNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getRequestorNames()
getRequestorNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getSignerNames()
getSignerNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getCaNames()
getCaNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getSuccessfulCaNames()
getSuccessfulCaNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getFailedCaNames()
getFailedCaNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getInactiveCaNames()
getInactiveCaNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic void commitNextCrlNo(org.xipki.ca.api.NameId ca,
long nextCrlNo)
throws org.xipki.ca.api.OperationException
org.xipki.ca.api.OperationExceptionpublic ByUserRequestorInfo createByUserRequestor(org.xipki.ca.server.mgmt.api.CaHasUserEntry caHasUser)
public void addCa(org.xipki.ca.server.mgmt.api.CaEntry caEntry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic org.xipki.ca.server.mgmt.api.CaEntry getCa(String name)
getCa in interface org.xipki.ca.server.mgmt.api.CaManagerpublic void changeCa(org.xipki.ca.server.mgmt.api.ChangeCaEntry entry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
changeCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeCertprofileFromCa(String profileName, String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeCertprofileFromCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void addCertprofileToCa(String profileName, String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
addCertprofileToCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removePublisherFromCa(String publisherName, String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removePublisherFromCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void addPublisherToCa(String publisherName, String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
addPublisherToCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic Set<String> getCertprofilesForCa(String caName)
getCertprofilesForCa in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<org.xipki.ca.server.mgmt.api.CaHasRequestorEntry> getRequestorsForCa(String caName)
getRequestorsForCa in interface org.xipki.ca.server.mgmt.api.CaManagerpublic org.xipki.ca.server.mgmt.api.RequestorEntry getRequestor(String name)
getRequestor in interface org.xipki.ca.server.mgmt.api.CaManagerpublic RequestorEntryWrapper getRequestorWrapper(String name)
public void addRequestor(org.xipki.ca.server.mgmt.api.RequestorEntry dbEntry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addRequestor in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeRequestor(String name) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeRequestor in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void changeRequestor(String name, String type, String conf) throws org.xipki.ca.server.mgmt.api.CaMgmtException
changeRequestor in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeRequestorFromCa(String requestorName, String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeRequestorFromCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void addRequestorToCa(org.xipki.ca.server.mgmt.api.CaHasRequestorEntry requestor,
String caName)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addRequestorToCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeUserFromCa(String userName, String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeUserFromCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void addUserToCa(org.xipki.ca.server.mgmt.api.CaHasUserEntry user,
String caName)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addUserToCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic Map<String,org.xipki.ca.server.mgmt.api.CaHasUserEntry> getCaHasUsersForUser(String user) throws org.xipki.ca.server.mgmt.api.CaMgmtException
getCaHasUsersForUser in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic org.xipki.ca.server.mgmt.api.CertprofileEntry getCertprofile(String name)
getCertprofile in interface org.xipki.ca.server.mgmt.api.CaManagerpublic void removeCertprofile(String name) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeCertprofile in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void changeCertprofile(String name, String type, String conf) throws org.xipki.ca.server.mgmt.api.CaMgmtException
changeCertprofile in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void addCertprofile(org.xipki.ca.server.mgmt.api.CertprofileEntry dbEntry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addCertprofile in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void addSigner(org.xipki.ca.server.mgmt.api.SignerEntry dbEntry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addSigner in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeSigner(String name) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeSigner in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void changeSigner(String name, String type, String conf, String base64Cert) throws org.xipki.ca.server.mgmt.api.CaMgmtException
changeSigner in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic org.xipki.ca.server.mgmt.api.SignerEntry getSigner(String name)
getSigner in interface org.xipki.ca.server.mgmt.api.CaManagerpublic SignerEntryWrapper getSignerWrapper(String name)
public void addPublisher(org.xipki.ca.server.mgmt.api.PublisherEntry dbEntry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addPublisher in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic List<org.xipki.ca.server.mgmt.api.PublisherEntry> getPublishersForCa(String caName)
getPublishersForCa in interface org.xipki.ca.server.mgmt.api.CaManagerpublic org.xipki.ca.server.mgmt.api.PublisherEntry getPublisher(String name)
getPublisher in interface org.xipki.ca.server.mgmt.api.CaManagerpublic void removePublisher(String name) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removePublisher in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void changePublisher(String name, String type, String conf) throws org.xipki.ca.server.mgmt.api.CaMgmtException
changePublisher in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic Properties getCaConfProperties()
public void setCaConfProperties(Properties caConfProperties)
public void setCaConfFile(String caConfFile)
public void addCaAlias(String aliasName, String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
addCaAlias in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeCaAlias(String name) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeCaAlias in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic String getCaNameForAlias(String aliasName)
getCaNameForAlias in interface org.xipki.ca.server.api.ResponderManagergetCaNameForAlias in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getAliasesForCa(String caName)
getAliasesForCa in interface org.xipki.ca.server.mgmt.api.CaManagerpublic Set<String> getCaAliasNames()
getCaAliasNames in interface org.xipki.ca.server.mgmt.api.CaManagerpublic org.xipki.security.X509Cert getCaCert(String caName)
getCaCert in interface org.xipki.ca.server.api.ResponderManagerpublic void removeCa(String name) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void republishCertificates(String caName, List<String> publisherNames, int numThreads) throws org.xipki.ca.server.mgmt.api.CaMgmtException
republishCertificates in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void revokeCa(String caName, org.xipki.security.CertRevocationInfo revocationInfo) throws org.xipki.ca.server.mgmt.api.CaMgmtException
revokeCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void unrevokeCa(String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
unrevokeCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void setCertprofileFactoryRegister(org.xipki.ca.api.profile.CertprofileFactoryRegister register)
public void setCertPublisherFactoryRegister(org.xipki.ca.api.publisher.CertPublisherFactoryRegister register)
public void setAuditServiceRegister(org.xipki.audit.AuditServiceRegister register)
public void clearPublishQueue(String caName, List<String> publisherNames) throws org.xipki.ca.server.mgmt.api.CaMgmtException
clearPublishQueue in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void revokeCertificate(String caName, BigInteger serialNumber, org.xipki.security.CrlReason reason, Date invalidityTime) throws org.xipki.ca.server.mgmt.api.CaMgmtException
revokeCertificate in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void unrevokeCertificate(String caName, BigInteger serialNumber) throws org.xipki.ca.server.mgmt.api.CaMgmtException
unrevokeCertificate in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeCertificate(String caName, BigInteger serialNumber) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeCertificate in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic X509Certificate generateCertificate(String caName, String profileName, byte[] encodedCsr, Date notBefore, Date notAfter) throws org.xipki.ca.server.mgmt.api.CaMgmtException
generateCertificate in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic X509Ca getX509Ca(String name) throws org.xipki.ca.server.mgmt.api.CaMgmtException
org.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic X509Ca getX509Ca(org.xipki.ca.api.NameId ident) throws org.xipki.ca.server.mgmt.api.CaMgmtException
org.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic org.xipki.ca.server.impl.IdentifiedCertprofile getIdentifiedCertprofile(String profileName)
public List<org.xipki.ca.server.impl.IdentifiedCertPublisher> getIdentifiedPublishersForCa(String caName)
public X509Certificate generateRootCa(org.xipki.ca.server.mgmt.api.CaEntry caEntry, String profileName, byte[] encodedCsr, BigInteger serialNumber) throws org.xipki.ca.server.mgmt.api.CaMgmtException
generateRootCa in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void addUser(org.xipki.ca.server.mgmt.api.AddUserEntry userEntry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
addUser in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void changeUser(org.xipki.ca.server.mgmt.api.ChangeUserEntry userEntry)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
changeUser in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void removeUser(String username) throws org.xipki.ca.server.mgmt.api.CaMgmtException
removeUser in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic org.xipki.ca.server.mgmt.api.UserEntry getUser(String username) throws org.xipki.ca.server.mgmt.api.CaMgmtException
getUser in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic X509CRL generateCrlOnDemand(String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
generateCrlOnDemand in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic X509CRL getCrl(String caName, BigInteger crlNumber) throws org.xipki.ca.server.mgmt.api.CaMgmtException
getCrl in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic X509CRL getCurrentCrl(String caName) throws org.xipki.ca.server.mgmt.api.CaMgmtException
getCurrentCrl in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic org.xipki.ca.server.api.ScepResponder getScepResponder(String name)
getScepResponder in interface org.xipki.ca.server.api.ResponderManagerpublic org.xipki.ca.server.mgmt.api.CertWithRevocationInfo getCert(String caName, BigInteger serialNumber) throws org.xipki.ca.server.mgmt.api.CaMgmtException
getCert in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic org.xipki.ca.server.mgmt.api.CertWithRevocationInfo getCert(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serialNumber)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
getCert in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic byte[] getCertRequest(String caName, BigInteger serialNumber) throws org.xipki.ca.server.mgmt.api.CaMgmtException
getCertRequest in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic List<org.xipki.ca.server.mgmt.api.CertListInfo> listCertificates(String caName, org.bouncycastle.asn1.x500.X500Name subjectPattern, Date validFrom, Date validTo, org.xipki.ca.server.mgmt.api.CertListOrderBy orderBy, int numEntries) throws org.xipki.ca.server.mgmt.api.CaMgmtException
listCertificates in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void loadConf(org.xipki.ca.server.mgmt.api.conf.CaConf conf)
throws org.xipki.ca.server.mgmt.api.CaMgmtException
loadConf in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionpublic void exportConf(String zipFilename, List<String> caNames) throws org.xipki.ca.server.mgmt.api.CaMgmtException, IOException
exportConf in interface org.xipki.ca.server.mgmt.api.CaManagerorg.xipki.ca.server.mgmt.api.CaMgmtExceptionIOExceptionpublic org.xipki.ca.server.api.RestResponder getRestResponder()
getRestResponder in interface org.xipki.ca.server.api.ResponderManagerCopyright © 2018. All rights reserved.