@RestController(value="secureVaultControllerV3") @RequestMapping(value="/pa/v3/vault") public class SecureVaultController extends Object
PowerAuth protocol versions:
| Constructor and Description |
|---|
SecureVaultController() |
| Modifier and Type | Method and Description |
|---|---|
void |
setSecureVaultServiceV3(SecureVaultService secureVaultServiceV3) |
io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse |
unlockVault(String signatureHeader,
io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
javax.servlet.http.HttpServletRequest httpServletRequest)
Request the vault unlock key.
|
@Autowired public void setSecureVaultServiceV3(SecureVaultService secureVaultServiceV3)
@RequestMapping(value="unlock",
method=POST)
public io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse unlockVault(@RequestHeader(value="X-PowerAuth-Authorization",defaultValue="unknown")
String signatureHeader,
@RequestBody
io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
javax.servlet.http.HttpServletRequest httpServletRequest)
throws PowerAuthAuthenticationException,
PowerAuthSecureVaultException
signatureHeader - PowerAuth HTTP signature header.request - Request object encrypted by ECIES.httpServletRequest - HTTP servlet request.PowerAuthAuthenticationException - In case authentication fails.PowerAuthSecureVaultException - In case unlocking the vault fails.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.