Class SecureVaultService
java.lang.Object
io.getlime.security.powerauth.rest.api.spring.service.SecureVaultService
Service implementing secure vault functionality.
PowerAuth protocol versions:
- 3.0
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
ConstructorsConstructorDescriptionSecureVaultService(com.wultra.security.powerauth.client.PowerAuthClient powerAuthClient, PowerAuthAuthenticationProvider authenticationProvider, HttpCustomizationService httpCustomizationService) Service constructor. -
Method Summary
Modifier and TypeMethodDescriptionio.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponsevaultUnlock(io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader header, io.getlime.security.powerauth.rest.api.model.request.EciesEncryptedRequest request, jakarta.servlet.http.HttpServletRequest httpServletRequest) Unlock secure vault.
-
Constructor Details
-
SecureVaultService
@Autowired public SecureVaultService(com.wultra.security.powerauth.client.PowerAuthClient powerAuthClient, PowerAuthAuthenticationProvider authenticationProvider, HttpCustomizationService httpCustomizationService) Service constructor.- Parameters:
powerAuthClient- PowerAuth client.authenticationProvider- Authentication provider.httpCustomizationService- HTTP customization service.
-
-
Method Details
-
vaultUnlock
public io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse vaultUnlock(io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader header, io.getlime.security.powerauth.rest.api.model.request.EciesEncryptedRequest request, jakarta.servlet.http.HttpServletRequest httpServletRequest) throws PowerAuthSecureVaultException, PowerAuthAuthenticationException Unlock secure vault.- Parameters:
header- PowerAuth signature HTTP header.request- ECIES encrypted vault unlock request.httpServletRequest- HTTP servlet request.- Returns:
- ECIES encrypted vault unlock response.
- Throws:
PowerAuthSecureVaultException- In case vault unlock request fails.PowerAuthAuthenticationException- In case authentication fails.
-