Class PowerAuthEncryptionHttpHeaderValidator
java.lang.Object
io.getlime.security.powerauth.http.validator.PowerAuthEncryptionHttpHeaderValidator
Validator class for
PowerAuthEncryptionHttpHeader.- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(PowerAuthEncryptionHttpHeader header, EncryptorScope encryptorScope) Validate PowerAuth encryption HTTP header.
-
Constructor Details
-
PowerAuthEncryptionHttpHeaderValidator
public PowerAuthEncryptionHttpHeaderValidator()
-
-
Method Details
-
validate
public static void validate(PowerAuthEncryptionHttpHeader header, EncryptorScope encryptorScope) throws InvalidPowerAuthHttpHeaderException Validate PowerAuth encryption HTTP header.- Parameters:
header- PowerAuth encryption HTTP header.encryptorScope- Scope of the encryptor.- Throws:
InvalidPowerAuthHttpHeaderException- Thrown in case PowerAuth encryption HTTP header is invalid.
-