Interface PartnerCertificateManagerService
- All Known Implementing Classes:
PartnerCertificateManagerServiceImpl
public interface PartnerCertificateManagerService
This interface provides the methods for Partner Certificate Management Service.
- Since:
- 1.1.2
- Author:
- Mahammed Taheer
-
Method Summary
Modifier and TypeMethodDescriptiongetCaCertificateChain(CaCertTypeListRequestDto certListRequestDto) Function to list the Certificate Based on certificate type.getCACertificateTrustPath(CACertificateTrustPathRequestDto caCertificateTrustPathRequestDto) Function to Download p7b file for CA Certificates along with trustgetPartnerCertificate(PartnerCertDownloadRequestDto certDownloadRequestDto) Function to Download Partner certificatesgetPartnerSignedCertificate(PartnerCertDownloadRequestDto certDownloadRequestDto) Function to Download Partner CA Signed certificates invalid input: '&' MOSIP CA Signed Certificate.voidpurgeTrustStoreCache(String partnerDomain) Function to Purge trust store cache for the provided partner domain.uploadCACertificate(CACertificateRequestDto caCertResponseDto) Function to Upload CA/Sub-CA certificatesuploadPartnerCertificate(PartnerCertificateRequestDto partnerCertResponseDto) Function to Upload Partner certificatesverifyCertificateTrust(CertificateTrustRequestDto certificateTrustRequestDto) Function to verify partner certificates trust.
-
Method Details
-
uploadCACertificate
Function to Upload CA/Sub-CA certificates- Parameters:
CACertificateRequestDto- caCertResponseDto- Returns:
CACertificateResponseDtoinstance
-
uploadPartnerCertificate
PartnerCertificateResponseDto uploadPartnerCertificate(PartnerCertificateRequestDto partnerCertResponseDto) Function to Upload Partner certificates- Parameters:
PartnerCertificateRequestDto- partnerCertResponseDto- Returns:
PartnerCertificateResponseDtoinstance
-
getPartnerCertificate
PartnerCertDownloadResponeDto getPartnerCertificate(PartnerCertDownloadRequestDto certDownloadRequestDto) Function to Download Partner certificates- Parameters:
PartnerCertDownloadRequestDto- certDownloadRequestDto- Returns:
PartnerCertDownloadResponeDtoinstance
-
verifyCertificateTrust
CertificateTrustResponeDto verifyCertificateTrust(CertificateTrustRequestDto certificateTrustRequestDto) Function to verify partner certificates trust.- Parameters:
CertificateTrustRequestDto- certificateTrustRequestDto- Returns:
CertificateTrustResponeDtoinstance
-
purgeTrustStoreCache
Function to Purge trust store cache for the provided partner domain.- Parameters:
String- partnerDomain
-
getPartnerSignedCertificate
PartnerSignedCertDownloadResponseDto getPartnerSignedCertificate(PartnerCertDownloadRequestDto certDownloadRequestDto) Function to Download Partner CA Signed certificates invalid input: '&' MOSIP CA Signed Certificate.- Parameters:
PartnerCertDownloadRequestDto- certDownloadRequestDto- Returns:
PartnerCertDownloadResponeDtoinstance
-
getCaCertificateChain
Function to list the Certificate Based on certificate type.- Parameters:
CaCertTypeListRequestDto- certListRequestDto- Returns:
CaCertificateChainResponseDtoresponse
-
getCACertificateTrustPath
CACertificateTrustPathResponseDto getCACertificateTrustPath(CACertificateTrustPathRequestDto caCertificateTrustPathRequestDto) Function to Download p7b file for CA Certificates along with trust- Parameters:
caCertificateTrustPathRequestDto- p7bFileDownloadRequestDto- Returns:
CACertificateTrustPathResponseDtorespponse
-