public class CaManagerImpl extends Object implements org.xipki.ca.api.mgmt.CaManager, Closeable
| Constructor and Description |
|---|
CaManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCa(org.xipki.ca.api.mgmt.MgmtEntry.Ca caEntry) |
void |
addCaAlias(String aliasName,
String caName) |
void |
addCertprofile(org.xipki.ca.api.mgmt.MgmtEntry.Certprofile certprofileEntry) |
void |
addCertprofileToCa(String profileName,
String caName) |
void |
addPublisher(org.xipki.ca.api.mgmt.MgmtEntry.Publisher entry) |
void |
addPublisherToCa(String publisherName,
String caName) |
void |
addRequestor(org.xipki.ca.api.mgmt.MgmtEntry.Requestor requestorEntry) |
void |
addRequestorToCa(org.xipki.ca.api.mgmt.MgmtEntry.CaHasRequestor requestor,
String caName) |
void |
addSigner(org.xipki.ca.api.mgmt.MgmtEntry.Signer signerEntry) |
void |
addUser(org.xipki.ca.api.mgmt.MgmtEntry.AddUser addUserEntry) |
void |
addUserToCa(org.xipki.ca.api.mgmt.MgmtEntry.CaHasUser user,
String caName) |
void |
changeCa(org.xipki.ca.api.mgmt.MgmtEntry.ChangeCa 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.api.mgmt.MgmtEntry.ChangeUser changeUserEntry) |
void |
clearPublishQueue(String caName,
List<String> publisherNames) |
void |
close() |
void |
commitNextCrlNo(org.xipki.ca.api.NameId ca,
long nextCrlNo) |
org.xipki.ca.api.mgmt.RequestorInfo.ByUserRequestorInfo |
createByUserRequestor(org.xipki.ca.api.mgmt.MgmtEntry.CaHasUser caHasUser) |
InputStream |
exportConf(List<String> caNames) |
org.xipki.security.X509Cert |
generateCertificate(String caName,
String profileName,
byte[] encodedCsr,
Date notBefore,
Date notAfter) |
org.bouncycastle.cert.X509CRLHolder |
generateCrlOnDemand(String caName) |
org.xipki.security.X509Cert |
generateRootCa(org.xipki.ca.api.mgmt.MgmtEntry.Ca caEntry,
String profileName,
byte[] encodedCsr,
BigInteger serialNumber) |
Set<String> |
getAliasesForCa(String caName) |
org.xipki.ca.api.mgmt.MgmtEntry.Ca |
getCa(String name) |
Set<String> |
getCaAliasNames() |
org.xipki.security.X509Cert |
getCaCert(String caName) |
List<org.xipki.security.X509Cert> |
getCaCertchain(String caName) |
Map<String,org.xipki.ca.api.mgmt.MgmtEntry.CaHasUser> |
getCaHasUsersForUser(String user) |
String |
getCaNameForAlias(String aliasName) |
Set<String> |
getCaNames() |
CaServerConf |
getCaServerConf() |
org.xipki.ca.api.mgmt.CaSystemStatus |
getCaSystemStatus() |
org.xipki.ca.api.mgmt.CertWithRevocationInfo |
getCert(String caName,
BigInteger serialNumber) |
org.xipki.ca.api.mgmt.CertWithRevocationInfo |
getCert(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serialNumber) |
org.xipki.ca.api.mgmt.MgmtEntry.Certprofile |
getCertprofile(String name) |
Set<String> |
getCertprofileNames() |
Set<String> |
getCertprofilesForCa(String caName) |
byte[] |
getCertRequest(String caName,
BigInteger serialNumber) |
org.bouncycastle.cert.X509CRLHolder |
getCrl(String caName,
BigInteger crlNumber) |
CtLogPublicKeyFinder |
getCtLogPublicKeyFinder() |
org.bouncycastle.cert.X509CRLHolder |
getCurrentCrl(String caName) |
org.xipki.datasource.DataSourceFactory |
getDataSourceFactory() |
Set<String> |
getFailedCaNames() |
org.xipki.ca.server.IdentifiedCertprofile |
getIdentifiedCertprofile(String profileName) |
List<org.xipki.ca.server.IdentifiedCertPublisher> |
getIdentifiedPublishersForCa(String caName) |
Set<String> |
getInactiveCaNames() |
org.xipki.ca.api.mgmt.MgmtEntry.Publisher |
getPublisher(String name) |
Set<String> |
getPublisherNames() |
List<org.xipki.ca.api.mgmt.MgmtEntry.Publisher> |
getPublishersForCa(String caName) |
org.xipki.ca.api.mgmt.MgmtEntry.Requestor |
getRequestor(String name) |
Set<String> |
getRequestorNames() |
Set<org.xipki.ca.api.mgmt.MgmtEntry.CaHasRequestor> |
getRequestorsForCa(String caName) |
RequestorEntryWrapper |
getRequestorWrapper(String name) |
RestResponder |
getRestResponder() |
ScepResponder |
getScepResponder(String name) |
ScheduledThreadPoolExecutor |
getScheduledThreadPoolExecutor() |
org.xipki.security.SecurityFactory |
getSecurityFactory() |
org.xipki.ca.api.mgmt.MgmtEntry.Signer |
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.api.mgmt.MgmtEntry.User |
getUser(String username) |
X509Ca |
getX509Ca(org.xipki.ca.api.NameId ident) |
X509Ca |
getX509Ca(String name) |
CmpResponder |
getX509CaResponder(String name) |
boolean |
isMasterMode() |
List<org.xipki.ca.api.mgmt.CertListInfo> |
listCertificates(String caName,
org.bouncycastle.asn1.x500.X500Name subjectPattern,
Date validFrom,
Date validTo,
org.xipki.ca.api.mgmt.CertListOrderBy orderBy,
int numEntries) |
Map<String,org.xipki.security.X509Cert> |
loadConf(InputStream zippedConfStream) |
void |
notifyCaChange() |
void |
refreshTokenForSignerType(String signerType) |
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 |
restartCa(String name) |
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 |
setCaServerConf(CaServerConf caServerConf) |
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 |
startCaSystem() |
void |
unlockCa() |
void |
unrevokeCa(String caName) |
void |
unrevokeCertificate(String caName,
BigInteger serialNumber) |
public 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.api.mgmt.CaManagerpublic Set<String> getSupportedCertprofileTypes()
getSupportedCertprofileTypes in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getSupportedPublisherTypes()
getSupportedPublisherTypes in interface org.xipki.ca.api.mgmt.CaManagerpublic org.xipki.ca.api.mgmt.CaSystemStatus getCaSystemStatus()
getCaSystemStatus in interface org.xipki.ca.api.mgmt.CaManagerpublic void unlockCa()
throws org.xipki.ca.api.mgmt.CaMgmtException
unlockCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void restartCa(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
restartCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void restartCaSystem()
throws org.xipki.ca.api.mgmt.CaMgmtException
restartCaSystem in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void notifyCaChange()
throws org.xipki.ca.api.mgmt.CaMgmtException
notifyCaChange in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void startCaSystem()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic CmpResponder getX509CaResponder(String name)
public ScheduledThreadPoolExecutor getScheduledThreadPoolExecutor()
public Set<String> getCertprofileNames()
getCertprofileNames in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getPublisherNames()
getPublisherNames in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getRequestorNames()
getRequestorNames in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getSignerNames()
getSignerNames in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getCaNames()
getCaNames in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getSuccessfulCaNames()
getSuccessfulCaNames in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getFailedCaNames()
getFailedCaNames in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getInactiveCaNames()
getInactiveCaNames in interface org.xipki.ca.api.mgmt.CaManagerpublic void commitNextCrlNo(org.xipki.ca.api.NameId ca,
long nextCrlNo)
throws org.xipki.ca.api.OperationException
org.xipki.ca.api.OperationExceptionpublic org.xipki.ca.api.mgmt.RequestorInfo.ByUserRequestorInfo createByUserRequestor(org.xipki.ca.api.mgmt.MgmtEntry.CaHasUser caHasUser)
public void addCa(org.xipki.ca.api.mgmt.MgmtEntry.Ca caEntry)
throws org.xipki.ca.api.mgmt.CaMgmtException
addCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.MgmtEntry.Ca getCa(String name)
getCa in interface org.xipki.ca.api.mgmt.CaManagerpublic void changeCa(org.xipki.ca.api.mgmt.MgmtEntry.ChangeCa entry)
throws org.xipki.ca.api.mgmt.CaMgmtException
changeCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeCertprofileFromCa(String profileName, String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
removeCertprofileFromCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addCertprofileToCa(String profileName, String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
addCertprofileToCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removePublisherFromCa(String publisherName, String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
removePublisherFromCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addPublisherToCa(String publisherName, String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
addPublisherToCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getCertprofilesForCa(String caName)
getCertprofilesForCa in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<org.xipki.ca.api.mgmt.MgmtEntry.CaHasRequestor> getRequestorsForCa(String caName)
getRequestorsForCa in interface org.xipki.ca.api.mgmt.CaManagerpublic org.xipki.ca.api.mgmt.MgmtEntry.Requestor getRequestor(String name)
getRequestor in interface org.xipki.ca.api.mgmt.CaManagerpublic RequestorEntryWrapper getRequestorWrapper(String name)
public void addRequestor(org.xipki.ca.api.mgmt.MgmtEntry.Requestor requestorEntry)
throws org.xipki.ca.api.mgmt.CaMgmtException
addRequestor in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeRequestor(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removeRequestor in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changeRequestor(String name, String type, String conf) throws org.xipki.ca.api.mgmt.CaMgmtException
changeRequestor in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeRequestorFromCa(String requestorName, String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
removeRequestorFromCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addRequestorToCa(org.xipki.ca.api.mgmt.MgmtEntry.CaHasRequestor requestor,
String caName)
throws org.xipki.ca.api.mgmt.CaMgmtException
addRequestorToCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeUserFromCa(String userName, String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
removeUserFromCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addUserToCa(org.xipki.ca.api.mgmt.MgmtEntry.CaHasUser user,
String caName)
throws org.xipki.ca.api.mgmt.CaMgmtException
addUserToCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Map<String,org.xipki.ca.api.mgmt.MgmtEntry.CaHasUser> getCaHasUsersForUser(String user) throws org.xipki.ca.api.mgmt.CaMgmtException
getCaHasUsersForUser in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.MgmtEntry.Certprofile getCertprofile(String name)
getCertprofile in interface org.xipki.ca.api.mgmt.CaManagerpublic void removeCertprofile(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removeCertprofile in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changeCertprofile(String name, String type, String conf) throws org.xipki.ca.api.mgmt.CaMgmtException
changeCertprofile in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addCertprofile(org.xipki.ca.api.mgmt.MgmtEntry.Certprofile certprofileEntry)
throws org.xipki.ca.api.mgmt.CaMgmtException
addCertprofile in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addSigner(org.xipki.ca.api.mgmt.MgmtEntry.Signer signerEntry)
throws org.xipki.ca.api.mgmt.CaMgmtException
addSigner in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeSigner(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removeSigner in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changeSigner(String name, String type, String conf, String base64Cert) throws org.xipki.ca.api.mgmt.CaMgmtException
changeSigner in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.MgmtEntry.Signer getSigner(String name)
getSigner in interface org.xipki.ca.api.mgmt.CaManagerpublic SignerEntryWrapper getSignerWrapper(String name)
public void addPublisher(org.xipki.ca.api.mgmt.MgmtEntry.Publisher entry)
throws org.xipki.ca.api.mgmt.CaMgmtException
addPublisher in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic List<org.xipki.ca.api.mgmt.MgmtEntry.Publisher> getPublishersForCa(String caName)
getPublishersForCa in interface org.xipki.ca.api.mgmt.CaManagerpublic org.xipki.ca.api.mgmt.MgmtEntry.Publisher getPublisher(String name)
getPublisher in interface org.xipki.ca.api.mgmt.CaManagerpublic void removePublisher(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removePublisher in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changePublisher(String name, String type, String conf) throws org.xipki.ca.api.mgmt.CaMgmtException
changePublisher in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic CaServerConf getCaServerConf()
public void setCaServerConf(CaServerConf caServerConf)
public void addCaAlias(String aliasName, String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
addCaAlias in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeCaAlias(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removeCaAlias in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic String getCaNameForAlias(String aliasName)
getCaNameForAlias in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getAliasesForCa(String caName)
getAliasesForCa in interface org.xipki.ca.api.mgmt.CaManagerpublic Set<String> getCaAliasNames()
getCaAliasNames in interface org.xipki.ca.api.mgmt.CaManagerpublic org.xipki.security.X509Cert getCaCert(String caName)
public void removeCa(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removeCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void republishCertificates(String caName, List<String> publisherNames, int numThreads) throws org.xipki.ca.api.mgmt.CaMgmtException
republishCertificates in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void revokeCa(String caName, org.xipki.security.CertRevocationInfo revocationInfo) throws org.xipki.ca.api.mgmt.CaMgmtException
revokeCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void unrevokeCa(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
unrevokeCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void setCertprofileFactoryRegister(org.xipki.ca.api.profile.CertprofileFactoryRegister register)
public void setCertPublisherFactoryRegister(org.xipki.ca.api.publisher.CertPublisherFactoryRegister register)
public void clearPublishQueue(String caName, List<String> publisherNames) throws org.xipki.ca.api.mgmt.CaMgmtException
clearPublishQueue in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void revokeCertificate(String caName, BigInteger serialNumber, org.xipki.security.CrlReason reason, Date invalidityTime) throws org.xipki.ca.api.mgmt.CaMgmtException
revokeCertificate in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void unrevokeCertificate(String caName, BigInteger serialNumber) throws org.xipki.ca.api.mgmt.CaMgmtException
unrevokeCertificate in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeCertificate(String caName, BigInteger serialNumber) throws org.xipki.ca.api.mgmt.CaMgmtException
removeCertificate in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.security.X509Cert generateCertificate(String caName, String profileName, byte[] encodedCsr, Date notBefore, Date notAfter) throws org.xipki.ca.api.mgmt.CaMgmtException
generateCertificate in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic X509Ca getX509Ca(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
org.xipki.ca.api.mgmt.CaMgmtExceptionpublic X509Ca getX509Ca(org.xipki.ca.api.NameId ident) throws org.xipki.ca.api.mgmt.CaMgmtException
org.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.server.IdentifiedCertprofile getIdentifiedCertprofile(String profileName)
public List<org.xipki.ca.server.IdentifiedCertPublisher> getIdentifiedPublishersForCa(String caName)
public org.xipki.security.X509Cert generateRootCa(org.xipki.ca.api.mgmt.MgmtEntry.Ca caEntry,
String profileName,
byte[] encodedCsr,
BigInteger serialNumber)
throws org.xipki.ca.api.mgmt.CaMgmtException
generateRootCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addUser(org.xipki.ca.api.mgmt.MgmtEntry.AddUser addUserEntry)
throws org.xipki.ca.api.mgmt.CaMgmtException
addUser in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changeUser(org.xipki.ca.api.mgmt.MgmtEntry.ChangeUser changeUserEntry)
throws org.xipki.ca.api.mgmt.CaMgmtException
changeUser in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeUser(String username) throws org.xipki.ca.api.mgmt.CaMgmtException
removeUser in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.MgmtEntry.User getUser(String username) throws org.xipki.ca.api.mgmt.CaMgmtException
getUser in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.bouncycastle.cert.X509CRLHolder generateCrlOnDemand(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
generateCrlOnDemand in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.bouncycastle.cert.X509CRLHolder getCrl(String caName, BigInteger crlNumber) throws org.xipki.ca.api.mgmt.CaMgmtException
getCrl in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.bouncycastle.cert.X509CRLHolder getCurrentCrl(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
getCurrentCrl in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic ScepResponder getScepResponder(String name)
public org.xipki.ca.api.mgmt.CertWithRevocationInfo getCert(String caName, BigInteger serialNumber) throws org.xipki.ca.api.mgmt.CaMgmtException
getCert in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.CertWithRevocationInfo getCert(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serialNumber)
throws org.xipki.ca.api.mgmt.CaMgmtException
getCert in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic byte[] getCertRequest(String caName, BigInteger serialNumber) throws org.xipki.ca.api.mgmt.CaMgmtException
getCertRequest in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic List<org.xipki.ca.api.mgmt.CertListInfo> listCertificates(String caName, org.bouncycastle.asn1.x500.X500Name subjectPattern, Date validFrom, Date validTo, org.xipki.ca.api.mgmt.CertListOrderBy orderBy, int numEntries) throws org.xipki.ca.api.mgmt.CaMgmtException
listCertificates in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void refreshTokenForSignerType(String signerType) throws org.xipki.ca.api.mgmt.CaMgmtException
refreshTokenForSignerType in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Map<String,org.xipki.security.X509Cert> loadConf(InputStream zippedConfStream) throws org.xipki.ca.api.mgmt.CaMgmtException
loadConf in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic InputStream exportConf(List<String> caNames) throws org.xipki.ca.api.mgmt.CaMgmtException, IOException
exportConf in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionIOExceptionpublic CtLogPublicKeyFinder getCtLogPublicKeyFinder()
public RestResponder getRestResponder()
Copyright © 2020. All rights reserved.