public class CaMgmtClient extends Object implements org.xipki.ca.api.mgmt.CaManager
| Constructor and Description |
|---|
CaMgmtClient(org.xipki.util.http.SslContextConf sslContextConf) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCa(org.xipki.ca.api.mgmt.entry.CaEntry caEntry) |
void |
addCaAlias(String aliasName,
String caName) |
void |
addCertprofile(org.xipki.ca.api.mgmt.entry.CertprofileEntry certprofileEntry) |
void |
addCertprofileToCa(String profileName,
String caName) |
void |
addDbSchema(String name,
String value) |
void |
addKeypairGen(org.xipki.ca.api.mgmt.entry.KeypairGenEntry keypairGenEntry) |
void |
addPublisher(org.xipki.ca.api.mgmt.entry.PublisherEntry entry) |
void |
addPublisherToCa(String publisherName,
String caName) |
void |
addRequestor(org.xipki.ca.api.mgmt.entry.RequestorEntry requestorEntry) |
void |
addRequestorToCa(org.xipki.ca.api.mgmt.entry.CaHasRequestorEntry requestor,
String caName) |
void |
addSigner(org.xipki.ca.api.mgmt.entry.SignerEntry signerEntry) |
void |
changeCa(org.xipki.ca.api.mgmt.entry.ChangeCaEntry changeCaEntry) |
void |
changeCertprofile(String name,
String type,
String conf) |
void |
changeDbSchema(String name,
String value) |
void |
changeKeypairGen(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 |
clearPublishQueue(String caName,
List<String> publisherNames) |
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 |
generateCrossCertificate(String caName,
String profileName,
byte[] encodedCsr,
byte[] encodedTargetCert,
Date notBefore,
Date notAfter) |
org.xipki.security.KeyCertBytesPair |
generateKeyCert(String caName,
String profileName,
String subject,
Date notBefore,
Date notAfter) |
org.xipki.security.X509Cert |
generateRootCa(org.xipki.ca.api.mgmt.entry.CaEntry caEntry,
String certprofileName,
String subject,
String serialNumber,
Date notBefore,
Date notAfter) |
Set<String> |
getAliasesForCa(String caName) |
org.xipki.ca.api.mgmt.entry.CaEntry |
getCa(String caName) |
Set<String> |
getCaAliasNames() |
String |
getCaNameForAlias(String aliasName) |
Set<String> |
getCaNames() |
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.entry.CertprofileEntry |
getCertprofile(String profileName) |
Set<String> |
getCertprofileNames() |
Set<String> |
getCertprofilesForCa(String caName) |
org.bouncycastle.cert.X509CRLHolder |
getCrl(String caName,
BigInteger crlNumber) |
org.bouncycastle.cert.X509CRLHolder |
getCurrentCrl(String caName) |
Map<String,String> |
getDbSchemas() |
Set<String> |
getFailedCaNames() |
Set<String> |
getInactiveCaNames() |
org.xipki.ca.api.mgmt.entry.KeypairGenEntry |
getKeypairGen(String name) |
Set<String> |
getKeypairGenNames() |
org.xipki.ca.api.mgmt.entry.PublisherEntry |
getPublisher(String publisherName) |
Set<String> |
getPublisherNames() |
List<org.xipki.ca.api.mgmt.entry.PublisherEntry> |
getPublishersForCa(String caName) |
org.xipki.ca.api.mgmt.entry.RequestorEntry |
getRequestor(String name) |
Set<String> |
getRequestorNames() |
Set<org.xipki.ca.api.mgmt.entry.CaHasRequestorEntry> |
getRequestorsForCa(String caName) |
org.xipki.ca.api.mgmt.entry.SignerEntry |
getSigner(String name) |
Set<String> |
getSignerNames() |
Set<String> |
getSuccessfulCaNames() |
Set<String> |
getSupportedCertprofileTypes() |
Set<String> |
getSupportedPublisherTypes() |
Set<String> |
getSupportedSignerTypes() |
String |
getTokenInfoP11(String module,
Integer slotIndex,
boolean verbose) |
void |
initIfNotDone() |
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 |
removeCa(String caName) |
void |
removeCaAlias(String aliasName) |
void |
removeCertificate(String caName,
BigInteger serialNumber) |
void |
removeCertprofile(String profileName) |
void |
removeCertprofileFromCa(String profileName,
String caName) |
void |
removeDbSchema(String name) |
void |
removeKeypairGen(String name) |
void |
removePublisher(String publisherName) |
void |
removePublisherFromCa(String publisherName,
String caName) |
void |
removeRequestor(String requestorName) |
void |
removeRequestorFromCa(String requestorName,
String caName) |
void |
removeSigner(String name) |
void |
republishCertificates(String caName,
List<String> publisherNames,
int numThreads) |
void |
restartCa(String caName) |
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 |
setServerUrl(String serverUrl) |
void |
unlockCa() |
void |
unrevokeCa(String caName) |
void |
unsuspendCertificate(String caName,
BigInteger serialNumber) |
public CaMgmtClient(org.xipki.util.http.SslContextConf sslContextConf)
public void initIfNotDone()
throws org.xipki.ca.api.mgmt.CaMgmtException
org.xipki.ca.api.mgmt.CaMgmtExceptionpublic void setServerUrl(String serverUrl) throws MalformedURLException
MalformedURLExceptionpublic org.xipki.ca.api.mgmt.CaSystemStatus getCaSystemStatus()
throws org.xipki.ca.api.mgmt.CaMgmtException
getCaSystemStatus in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void unlockCa()
throws org.xipki.ca.api.mgmt.CaMgmtException
unlockCa 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 addDbSchema(String name, String value) throws org.xipki.ca.api.mgmt.CaMgmtException
addDbSchema in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changeDbSchema(String name, String value) throws org.xipki.ca.api.mgmt.CaMgmtException
changeDbSchema in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeDbSchema(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removeDbSchema in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Map<String,String> getDbSchemas() throws org.xipki.ca.api.mgmt.CaMgmtException
getDbSchemas 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 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 removeCa(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
removeCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void restartCa(String caName) 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 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 aliasName) throws org.xipki.ca.api.mgmt.CaMgmtException
removeCaAlias in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getAliasesForCa(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
getAliasesForCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic String getCaNameForAlias(String aliasName) throws org.xipki.ca.api.mgmt.CaMgmtException
getCaNameForAlias in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getCaAliasNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getCaAliasNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getCertprofileNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getCertprofileNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getKeypairGenNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getKeypairGenNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getPublisherNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getPublisherNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getRequestorNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getRequestorNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getSignerNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getSignerNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getCaNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getCaNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getSuccessfulCaNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getSuccessfulCaNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getFailedCaNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getFailedCaNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getInactiveCaNames() throws org.xipki.ca.api.mgmt.CaMgmtException
getInactiveCaNames in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addCa(org.xipki.ca.api.mgmt.entry.CaEntry 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.entry.CaEntry getCa(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
getCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changeCa(org.xipki.ca.api.mgmt.entry.ChangeCaEntry changeCaEntry)
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) throws org.xipki.ca.api.mgmt.CaMgmtException
getCertprofilesForCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<org.xipki.ca.api.mgmt.entry.CaHasRequestorEntry> getRequestorsForCa(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
getRequestorsForCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.entry.RequestorEntry getRequestor(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
getRequestor in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addRequestor(org.xipki.ca.api.mgmt.entry.RequestorEntry 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 requestorName) 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.entry.CaHasRequestorEntry requestor,
String caName)
throws org.xipki.ca.api.mgmt.CaMgmtException
addRequestorToCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.entry.KeypairGenEntry getKeypairGen(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
getKeypairGen in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeKeypairGen(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
removeKeypairGen in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void changeKeypairGen(String name, String type, String conf) throws org.xipki.ca.api.mgmt.CaMgmtException
changeKeypairGen in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void addKeypairGen(org.xipki.ca.api.mgmt.entry.KeypairGenEntry keypairGenEntry)
throws org.xipki.ca.api.mgmt.CaMgmtException
addKeypairGen in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.entry.CertprofileEntry getCertprofile(String profileName) throws org.xipki.ca.api.mgmt.CaMgmtException
getCertprofile in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removeCertprofile(String profileName) 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.entry.CertprofileEntry 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.entry.SignerEntry 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 org.xipki.ca.api.mgmt.entry.SignerEntry getSigner(String name) throws org.xipki.ca.api.mgmt.CaMgmtException
getSigner 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 void addPublisher(org.xipki.ca.api.mgmt.entry.PublisherEntry 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.entry.PublisherEntry> getPublishersForCa(String caName) throws org.xipki.ca.api.mgmt.CaMgmtException
getPublishersForCa in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.ca.api.mgmt.entry.PublisherEntry getPublisher(String publisherName) throws org.xipki.ca.api.mgmt.CaMgmtException
getPublisher in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void removePublisher(String publisherName) 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 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 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 unsuspendCertificate(String caName, BigInteger serialNumber) throws org.xipki.ca.api.mgmt.CaMgmtException
unsuspendCertificate 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 generateCrossCertificate(String caName, String profileName, byte[] encodedCsr, byte[] encodedTargetCert, Date notBefore, Date notAfter) throws org.xipki.ca.api.mgmt.CaMgmtException
generateCrossCertificate 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 org.xipki.security.KeyCertBytesPair generateKeyCert(String caName, String profileName, String subject, Date notBefore, Date notAfter) throws org.xipki.ca.api.mgmt.CaMgmtException
generateKeyCert in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic org.xipki.security.X509Cert generateRootCa(org.xipki.ca.api.mgmt.entry.CaEntry caEntry,
String certprofileName,
String subject,
String serialNumber,
Date notBefore,
Date notAfter)
throws org.xipki.ca.api.mgmt.CaMgmtException
generateRootCa 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 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 Map<String,org.xipki.security.X509Cert> loadConf(InputStream zippedConfStream) throws org.xipki.ca.api.mgmt.CaMgmtException, IOException
loadConf in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionIOExceptionpublic InputStream exportConf(List<String> caNames) throws org.xipki.ca.api.mgmt.CaMgmtException
exportConf 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 Set<String> getSupportedSignerTypes() throws org.xipki.ca.api.mgmt.CaMgmtException
getSupportedSignerTypes in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getSupportedCertprofileTypes() throws org.xipki.ca.api.mgmt.CaMgmtException
getSupportedCertprofileTypes in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic Set<String> getSupportedPublisherTypes() throws org.xipki.ca.api.mgmt.CaMgmtException
getSupportedPublisherTypes in interface org.xipki.ca.api.mgmt.CaManagerorg.xipki.ca.api.mgmt.CaMgmtExceptionCopyright © 2023. All rights reserved.