| Package | Description |
|---|---|
| org.xipki.ca.api.mgmt |
| Modifier and Type | Method and Description |
|---|---|
void |
CaManager.addCa(MgmtEntry.Ca caEntry)
Adds a CA.
|
void |
CaManager.addCaAlias(String aliasName,
String caName)
Adds the alias
aliasName to the given CA caName. |
void |
CaManager.addCertprofile(MgmtEntry.Certprofile certprofileEntry)
Adds a certificate profile.
|
void |
CaManager.addCertprofileToCa(String profileName,
String caName)
Add the certificate profile
profileName the the CA caName. |
void |
CaManager.addPublisher(MgmtEntry.Publisher entry)
Adds a publisher.
|
void |
CaManager.addPublisherToCa(String publisherName,
String caName)
Adds publisher
publisherName to CA caName. |
void |
CaManager.addRequestor(MgmtEntry.Requestor requestorEntry)
Adds requstor.
|
void |
CaManager.addRequestorToCa(MgmtEntry.CaHasRequestor requestor,
String caName)
Adds the requestor
requestorName to the CA caName. |
void |
CaManager.addSigner(MgmtEntry.Signer signerEntry)
Adds a signer.
|
void |
CaManager.addUser(MgmtEntry.AddUser addUserEntry)
Adds a user.
|
void |
CaManager.addUserToCa(MgmtEntry.CaHasUser user,
String caName)
Adds the user
userName from the CA caName. |
void |
CaManager.changeCa(MgmtEntry.ChangeCa changeCaEntry)
Changes a CA.
|
void |
CaManager.changeCertprofile(String name,
String type,
String conf)
Changes the certificate profile
name. |
void |
CaManager.changePublisher(String name,
String type,
String conf)
Changes the publisher
name. |
void |
CaManager.changeRequestor(String name,
String type,
String conf)
Changes the requestor
name of type CERTIFCATE. |
void |
CaManager.changeSigner(String name,
String type,
String conf,
String base64Cert)
Changes the signer
name. |
void |
CaManager.changeUser(MgmtEntry.ChangeUser changeUserEntry)
Change the user.
|
void |
CaManager.clearPublishQueue(String caName,
List<String> publisherNames)
Clear the publish queue for the CA
caName and publishers publisherNames. |
InputStream |
CaManager.exportConf(List<String> caNames)
Exports the CA system configuration to a zip-stream.
|
org.xipki.security.X509Cert |
CaManager.generateCertificate(String caName,
String profileName,
byte[] encodedCsr,
Date notBefore,
Date notAfter)
CA
caName issues a new certificate. |
org.bouncycastle.cert.X509CRLHolder |
CaManager.generateCrlOnDemand(String caName)
Generates a new CRL for CA
caName. |
org.xipki.security.X509Cert |
CaManager.generateRootCa(MgmtEntry.Ca caEntry,
String certprofileName,
byte[] encodedCsr,
BigInteger serialNumber)
Generates a self-signed CA certificate.
|
Set<String> |
CaManager.getAliasesForCa(String caName)
Gets the aliases of the given CA
caName. |
MgmtEntry.Ca |
CaManager.getCa(String caName)
Gets the CA named
caName. |
Set<String> |
CaManager.getCaAliasNames() |
Map<String,MgmtEntry.CaHasUser> |
CaManager.getCaHasUsersForUser(String user)
Returns map between CA name an CaHasUserEntry for given user.
|
String |
CaManager.getCaNameForAlias(String aliasName)
Gets the CA name for the alias
aliasName. |
Set<String> |
CaManager.getCaNames() |
CaSystemStatus |
CaManager.getCaSystemStatus() |
CertWithRevocationInfo |
CaManager.getCert(String caName,
BigInteger serialNumber)
Returns certificate with status information for the CA
caName
and with serial number serialNumber. |
CertWithRevocationInfo |
CaManager.getCert(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serialNumber)
Returns certificate with revocation information for the
issuer
and with serial number serialNumber. |
MgmtEntry.Certprofile |
CaManager.getCertprofile(String profileName)
Returns the certificate profile named
profileName. |
Set<String> |
CaManager.getCertprofileNames() |
Set<String> |
CaManager.getCertprofilesForCa(String caName)
Returns the Certprofile names supported by the CA
caName. |
byte[] |
CaManager.getCertRequest(String caName,
BigInteger serialNumber)
Returns the request used to enroll the given certificate.
|
org.bouncycastle.cert.X509CRLHolder |
CaManager.getCrl(String caName,
BigInteger crlNumber)
Returns the CRL of CA
caName with the CRL number crlNumber. |
org.bouncycastle.cert.X509CRLHolder |
CaManager.getCurrentCrl(String caName)
Returns the latest CRL of CA
caName. |
Set<String> |
CaManager.getFailedCaNames() |
Set<String> |
CaManager.getInactiveCaNames() |
MgmtEntry.Publisher |
CaManager.getPublisher(String publisherName)
Returns the publisher.
|
Set<String> |
CaManager.getPublisherNames() |
List<MgmtEntry.Publisher> |
CaManager.getPublishersForCa(String caName)
Returns publishers for the CA
caName. |
MgmtEntry.Requestor |
CaManager.getRequestor(String name)
Returns the requestor named
name. |
Set<String> |
CaManager.getRequestorNames() |
Set<MgmtEntry.CaHasRequestor> |
CaManager.getRequestorsForCa(String caName)
Returns the Requests supported by the CA
caName. |
MgmtEntry.Signer |
CaManager.getSigner(String name)
Returns the signer named
name. |
Set<String> |
CaManager.getSignerNames() |
Set<String> |
CaManager.getSuccessfulCaNames() |
Set<String> |
CaManager.getSupportedCertprofileTypes()
Retrieves the types of supported certificate profiles.
|
Set<String> |
CaManager.getSupportedPublisherTypes()
Retrieves the types of supported publishers.
|
Set<String> |
CaManager.getSupportedSignerTypes()
Retrieves the types of supported signers.
|
MgmtEntry.User |
CaManager.getUser(String username)
Returns the user
username. |
List<CertListInfo> |
CaManager.listCertificates(String caName,
org.bouncycastle.asn1.x500.X500Name subjectPattern,
Date validFrom,
Date validTo,
CertListOrderBy orderBy,
int numEntries)
Returns a sorted list of certificate meta information.
|
Map<String,org.xipki.security.X509Cert> |
CaManager.loadConf(InputStream zippedConfStream)
Loads the CA system configuration.
|
void |
CaManager.notifyCaChange() |
void |
CaManager.refreshTokenForSignerType(String signerType) |
void |
CaManager.removeCa(String caName)
Removes the CA
caName from the system. |
void |
CaManager.removeCaAlias(String aliasName)
Remove the alias
aliasName. |
void |
CaManager.removeCertificate(String caName,
BigInteger serialNumber)
Removes a certificate with the serial number
serialNumber, and
issued by the CA caName. |
void |
CaManager.removeCertprofile(String profileName)
Removes the certificate profile
profileName. |
void |
CaManager.removeCertprofileFromCa(String profileName,
String caName)
Removes the support of the certprofile
profileName from the CA caName. |
void |
CaManager.removePublisher(String publisherName)
Removes the publisher
publisherName. |
void |
CaManager.removePublisherFromCa(String publisherName,
String caName)
Removes publisher
publisherName from the CA caName. |
void |
CaManager.removeRequestor(String requestorName)
Removes requestor named
requestorName. |
void |
CaManager.removeRequestorFromCa(String requestorName,
String caName)
Removes the requestor
requestorName from the CA caName. |
void |
CaManager.removeSigner(String name)
Removes the signer named
name. |
void |
CaManager.removeUser(String username)
Remove the name
username. |
void |
CaManager.removeUserFromCa(String userName,
String caName)
Removes the user
userName from the CA caName. |
void |
CaManager.republishCertificates(String caName,
List<String> publisherNames,
int numThreads)
Republishes certificates of the CA
caName to the publishers publisherNames. |
void |
CaManager.restartCa(String caName)
Restart the given CA.
|
void |
CaManager.restartCaSystem()
Restart the whole CA system.
|
void |
CaManager.revokeCa(String caName,
org.xipki.security.CertRevocationInfo revocationInfo)
Revokes the CA
caName. |
void |
CaManager.revokeCertificate(String caName,
BigInteger serialNumber,
org.xipki.security.CrlReason reason,
Date invalidityTime)
Revokes a certificate with the serial number
serialNumber, and
issued by the CA caName. |
void |
MgmtEntry.Ca.setCert(org.xipki.security.X509Cert cert) |
MgmtEntry.Ca |
MgmtMessage.CaEntryWrapper.toCaEntry() |
void |
CaManager.unlockCa() |
void |
CaManager.unrevokeCa(String caName)
Unrevokes the CA
caName. |
void |
CaManager.unrevokeCertificate(String caName,
BigInteger serialNumber)
Unrevokes a certificate with the serial number
serialNumber, and
issued by the CA caName. |
| Constructor and Description |
|---|
AddUser(NameId ident,
boolean active,
String password) |
CaConf(File confFile,
org.xipki.security.SecurityFactory securityFactory) |
CaConf(InputStream confFileZipStream,
org.xipki.security.SecurityFactory securityFactory) |
ChangeCa(NameId ident) |
ChangeUser(NameId ident) |
User(NameId ident,
boolean active,
String hashedPassword) |
Copyright © 2020. All rights reserved.