Package es.caib.seycon.ng.sync.servei
Interface CertificateEnrollService
-
public interface CertificateEnrollServiceService CertificateEnrollService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcreateRequest(String tenant, String user, String password, String domain, String hostName, X509Certificate cert)Operation createRequestlongcreateRequest(String tenant, String user, String password, String domain, String hostName, PublicKey key)Operation createRequestX509CertificategetCertificate(String tenant, String user, String password, String domain, String hostName, Long request)Operation getCertificateX509CertificategetCertificate(String tenant, String user, String password, String domain, String hostName, Long request, boolean remote)Operation getCertificateList<X509Certificate>getCertificates()Operation getCertificatesX509CertificategetRootCertificate()Operation getRootCertificateStringgetServerList()Operation getServerListintgetServerPort()Operation getServerPort
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getServerPort
int getServerPort() throws InternalErrorException, InternalErrorExceptionOperation getServerPort- Returns:
- Throws:
InternalErrorException
-
getServerList
String getServerList() throws InternalErrorException, InternalErrorException
Operation getServerList- Returns:
- Throws:
InternalErrorException
-
getCertificate
X509Certificate getCertificate(String tenant, String user, String password, String domain, String hostName, Long request) throws InternalErrorException, InternalErrorException, CertificateEnrollDenied, CertificateEnrollWaitingForAproval
Operation getCertificate- Parameters:
tenant-user-password-domain-hostName-request-- Returns:
- Throws:
InternalErrorExceptionCertificateEnrollDeniedCertificateEnrollWaitingForAproval
-
getCertificate
X509Certificate getCertificate(String tenant, String user, String password, String domain, String hostName, Long request, boolean remote) throws InternalErrorException, InternalErrorException, CertificateEnrollDenied, CertificateEnrollWaitingForAproval
Operation getCertificate- Parameters:
tenant-user-password-domain-hostName-request-remote-- Returns:
- Throws:
InternalErrorExceptionCertificateEnrollDeniedCertificateEnrollWaitingForAproval
-
getRootCertificate
X509Certificate getRootCertificate() throws InternalErrorException, InternalErrorException
Operation getRootCertificate- Returns:
- Throws:
InternalErrorException
-
getCertificates
List<X509Certificate> getCertificates() throws InternalErrorException, InternalErrorException
Operation getCertificates- Returns:
- Throws:
InternalErrorException
-
createRequest
long createRequest(String tenant, String user, String password, String domain, String hostName, PublicKey key) throws InternalErrorException, InternalErrorException
Operation createRequest- Parameters:
tenant-user-password-domain-hostName-key-- Returns:
- Throws:
InternalErrorException
-
createRequest
long createRequest(String tenant, String user, String password, String domain, String hostName, X509Certificate cert) throws InternalErrorException, InternalErrorException
Operation createRequest- Parameters:
tenant-user-password-domain-hostName-cert-- Returns:
- Throws:
InternalErrorException
-
-