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 StringcreateAndSaveKeyBindingCertificate(IdentityKeyBindingRequestDTO identityKeyBindingRequestDTO, Map<String,List<IdentityInfoDTO>> identityInfo, String token, String partnerId)booleanisPublicKeyBinded(String idVid, Map<String,Object> publicKeyJWK)
-
-
-
Method Detail
-
isPublicKeyBinded
public boolean isPublicKeyBinded(String idVid, Map<String,Object> publicKeyJWK) throws IdAuthenticationBusinessException
- Specified by:
isPublicKeyBindedin interfaceIdentityKeyBindingService- Throws:
IdAuthenticationBusinessException
-
createAndSaveKeyBindingCertificate
public String createAndSaveKeyBindingCertificate(IdentityKeyBindingRequestDTO identityKeyBindingRequestDTO, Map<String,List<IdentityInfoDTO>> identityInfo, String token, String partnerId) throws IdAuthenticationBusinessException
- Specified by:
createAndSaveKeyBindingCertificatein interfaceIdentityKeyBindingService- Throws:
IdAuthenticationBusinessException
-
-