public class CertificateManagementAdminServiceImpl extends Object implements CertificateManagementAdminService
SCOPE| Constructor and Description |
|---|
CertificateManagementAdminServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addCertificate(EnrollmentCertificate[] enrollmentCertificates)
Save a list of certificates and relevant information in the database.
|
javax.ws.rs.core.Response |
getAllCertificates(int offset,
int limit,
String ifModifiedSince)
Get all certificates in a paginated manner.
|
javax.ws.rs.core.Response |
getCertificate(String serialNumber,
String ifModifiedSince)
Get a certificate when the serial number is given.
|
javax.ws.rs.core.Response |
removeCertificate(String serialNumber) |
javax.ws.rs.core.Response |
verifyCertificate(String type,
EnrollmentCertificate certificate)
Verify Certificate for the API security filter
|
public CertificateManagementAdminServiceImpl()
public javax.ws.rs.core.Response addCertificate(EnrollmentCertificate[] enrollmentCertificates)
addCertificate in interface CertificateManagementAdminServiceenrollmentCertificates - List of all the certificates which includes the tenant id, certificate as
a pem and a serial number.public javax.ws.rs.core.Response getCertificate(String serialNumber, @HeaderParam(value="If-Modified-Since") String ifModifiedSince)
getCertificate in interface CertificateManagementAdminServiceserialNumber - serial of the certificate needed.public javax.ws.rs.core.Response getAllCertificates(int offset,
int limit,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
getAllCertificates in interface CertificateManagementAdminServiceoffset - index of the first record to be fetchedlimit - number of records to be fetched starting from the start index.public javax.ws.rs.core.Response removeCertificate(String serialNumber)
removeCertificate in interface CertificateManagementAdminServicepublic javax.ws.rs.core.Response verifyCertificate(String type, EnrollmentCertificate certificate)
CertificateManagementAdminServiceverifyCertificate in interface CertificateManagementAdminServicecertificate - to be verified as a StringCopyright © 2017 WSO2. All rights reserved.