@ProviderType
public interface EnrollmentService
| Modifier and Type | Method and Description |
|---|---|
void |
enroll()
Perform the enrollment of the system with a configured Certificate Authority.
|
void |
forceCACertificateRollover()
Force the update of Certificate Authority certificate if a newest is available.
|
java.security.cert.CertStore |
getCACertificates()
Get the list of the Certificate Authority certificates stored in the relative
KeystoreService |
java.security.cert.Certificate |
getClientCertificate()
Get the Client certificate stored in the relative
KeystoreService |
boolean |
isEnrolled()
Check if the system in enrolled or not, that is the presence or not of the client certificate.
|
void |
rekey()
Renew the client certificate creating a new keypair and a new CSR submitted to the CA.
|
void |
renew()
Renew the client certificate submitting the certificate previously issued by the CA.
|
void enroll()
throws KuraException
KuraException - if it is impossible to enroll the system.void renew()
throws KuraException
KuraException - if it is impossible to renew the system certificatevoid rekey()
throws KuraException
KuraException - if it is impossible to renew the system certificatejava.security.cert.CertStore getCACertificates()
throws KuraException
KeystoreServiceCertStoreKuraException - if it is impossible to retrieve the certificate store.java.security.cert.Certificate getClientCertificate()
throws KuraException
KeystoreServiceCertificate obtained by the Certificate
AuthorityKuraException - if it is impossible to retrieve the certificate.void forceCACertificateRollover()
throws KuraException
KuraException - if it is impossible to perform the request to the server.boolean isEnrolled()
throws KuraException
KuraException - if it is impossible to query the keystore for the certificate availability.