Class SignatureController


  • @RestController("signatureControllerV3")
    @RequestMapping("/pa/v3/signature")
    public class SignatureController
    extends java.lang.Object
    End-point for validating signatures.

    PowerAuth protocol versions:

    • 3.0
    Author:
    Roman Strobl, roman.strobl@wultra.com
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.getlime.core.rest.model.base.response.Response validateSignature​(io.getlime.security.powerauth.rest.api.base.authentication.PowerAuthApiAuthentication auth)
      Validate signature by validating any data sent in request to this end-point.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SignatureController

        public SignatureController()
    • Method Detail

      • validateSignature

        @RequestMapping(value="validate",
                        method={GET,POST,PUT,DELETE})
        public io.getlime.core.rest.model.base.response.Response validateSignature​(io.getlime.security.powerauth.rest.api.base.authentication.PowerAuthApiAuthentication auth)
                                                                            throws io.getlime.security.powerauth.rest.api.base.exception.PowerAuthAuthenticationException
        Validate signature by validating any data sent in request to this end-point.
        Parameters:
        auth - Automatically injected PowerAuth authentication object.
        Returns:
        API response with success.
        Throws:
        io.getlime.security.powerauth.rest.api.base.exception.PowerAuthAuthenticationException - In case any error occurs, including signature validation errors.