Package | Description |
---|---|
org.nuxeo.ecm.platform.signature.api.pki |
Public Key Infrastructure services.
|
org.nuxeo.ecm.platform.signature.api.user |
User information services required for certificate generation and keystore persistance for specific users.
|
org.nuxeo.ecm.platform.signature.core.pki |
PKI services implementation.
|
org.nuxeo.ecm.platform.signature.core.user |
Certificate user services implementation.
|
org.nuxeo.ecm.platform.signature.web.sign |
Web controls and actions related to signature generation
|
Modifier and Type | Method and Description |
---|---|
X509Certificate |
CertService.getCertificate(KeyStore keystore,
String certificateAlias)
Retrieves an existing certificate from a keystore using keystore's certificate alias.
|
String |
CertService.getCertificateEmail(X509Certificate certificate)
Extracts the email address from a certificate
|
KeyPair |
CertService.getKeyPair(KeyStore ks,
String keyAlias,
String certificateAlias,
String keyPassword)
Retrieves existing private and public key from a KeyStore.
|
KeyStore |
CertService.getKeyStore(InputStream keystoreIS,
String password)
Retrieves a KeyStore object from a supplied InputStream.
|
X509Certificate |
CertService.getRootCertificate()
Retrieves the root certificate.
|
InputStream |
RootService.getRootKeystoreIS() |
byte[] |
RootService.getRootPublicCertificate() |
KeyStore |
CertService.initializeUser(UserInfo userInfo,
String keyPassword)
Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a
UserInfo parameter.
|
void |
CertService.setRootService(RootService rootService)
Sets up a root service to be used for CA-related services like certificate request signing and certificate
revocation.
|
void |
CertService.storeCertificate(KeyStore keystore,
OutputStream os,
String keystorePassword)
Wraps a certificate object into an OutputStream object secured by a keystore password
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CUserService.createCertificate(DocumentModel user,
String userKeyPassword)
Generates user certificate and user keys, saves them to a user store, and persists the store in the directory.
|
void |
CUserService.deleteCertificate(String userID)
Deletes user entry from the certificate directory.
|
String |
CUserService.getUserCertInfo(DocumentModel user,
String userKeyPassword)
Returns simplified textual representation of a certificate's contents.
|
UserInfo |
CUserService.getUserInfo(DocumentModel userModel)
Retrieves a UserInfo object containing information needed for certificate generation.
|
KeyStore |
CUserService.getUserKeystore(String userID,
String userKeyPassword)
Retrieves user keystore from the directory.
|
boolean |
CUserService.hasCertificate(String userID)
Checks if the user is present in the certificate directory.
|
void |
UserInfo.verify(Map<CNField,String> userFields)
Verifies that all required X500 Principal field values have been set on this object
|
Constructor and Description |
---|
UserInfo(Map<CNField,String> userDNFields)
The fields provided as a parameter to the constructor.
|
Modifier and Type | Method and Description |
---|---|
protected X509Certificate |
CertServiceImpl.createCertificateFromCSR(org.bouncycastle.jce.PKCS10CertificationRequest csr) |
protected org.bouncycastle.asn1.pkcs.CertificationRequest |
CertServiceImpl.generateCSR(KeyPair keyPair,
UserInfo userInfo) |
protected X509Certificate |
CertServiceImpl.getCertificate(KeyPair keyPair,
UserInfo userInfo) |
protected X509Certificate |
RootServiceImpl.getCertificate(KeyStore ks,
String certificateAlias) |
X509Certificate |
CertServiceImpl.getCertificate(KeyStore ks,
String certificateAlias) |
String |
CertServiceImpl.getCertificateEmail(X509Certificate certificate) |
KeyPair |
CertServiceImpl.getKeyPair(KeyStore ks,
String keyAlias,
String certAlias,
String keyPassword) |
KeyStore |
RootServiceImpl.getKeyStore(InputStream keystoreIS,
String password) |
KeyStore |
CertServiceImpl.getKeyStore(InputStream keystoreIS,
String password) |
X509Certificate |
CertServiceImpl.getRootCertificate() |
InputStream |
RootServiceImpl.getRootKeystoreIS() |
byte[] |
RootServiceImpl.getRootPublicCertificate()
Public certificate for the CA root.
|
protected RootService |
CertServiceImpl.getRootService() |
protected void |
RootServiceImpl.initializeRoot() |
KeyStore |
CertServiceImpl.initializeUser(UserInfo userInfo,
String suppliedPassword) |
void |
RootServiceImpl.registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
CertServiceImpl.storeCertificate(KeyStore keystore,
OutputStream os,
String keystorePassword) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CUserServiceImpl.createCertificate(DocumentModel user,
String userKeyPassword) |
void |
CUserServiceImpl.deleteCertificate(String userID) |
String |
CUserServiceImpl.getUserCertInfo(DocumentModel user,
String userKeyPassword) |
UserInfo |
CUserServiceImpl.getUserInfo(DocumentModel userModel) |
KeyStore |
CUserServiceImpl.getUserKeystore(String userID,
String userKeystorePassword) |
boolean |
CUserServiceImpl.hasCertificate(String userID) |
Modifier and Type | Method and Description |
---|---|
void |
CertActions.downloadRootCertificate() |
Copyright © 2015 Nuxeo SA. All rights reserved.