Class IdentityKeyBindingServiceImpl
- java.lang.Object
-
- io.mosip.authentication.service.kyc.impl.IdentityKeyBindingServiceImpl
-
- All Implemented Interfaces:
IdentityKeyBindingService
@Service @Transactional public class IdentityKeyBindingServiceImpl extends Object implements IdentityKeyBindingService
The implementation of Identity Key Binding service which validates and creates certificate for key.- Author:
- Mahammed Taheer
-
-
Constructor Summary
Constructors Constructor Description IdentityKeyBindingServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createAndSaveKeyBindingCertificate(IdentityKeyBindingRequestDTO identityKeyBindingRequestDTO, Map<String,List<IdentityInfoDTO>> identityInfo, String token, String partnerId)
boolean
isPublicKeyBinded(String idVid, Map<String,Object> publicKeyJWK)
-
-
-
Method Detail
-
isPublicKeyBinded
public boolean isPublicKeyBinded(String idVid, Map<String,Object> publicKeyJWK) throws IdAuthenticationBusinessException
- Specified by:
isPublicKeyBinded
in interfaceIdentityKeyBindingService
- Throws:
IdAuthenticationBusinessException
-
createAndSaveKeyBindingCertificate
public String createAndSaveKeyBindingCertificate(IdentityKeyBindingRequestDTO identityKeyBindingRequestDTO, Map<String,List<IdentityInfoDTO>> identityInfo, String token, String partnerId) throws IdAuthenticationBusinessException
- Specified by:
createAndSaveKeyBindingCertificate
in interfaceIdentityKeyBindingService
- Throws:
IdAuthenticationBusinessException
-
-