Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
B
- buildHttpHeader() - Method in class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Generate a valid PowerAuth Encryption header based on provided parameters.
- buildHttpHeader() - Method in class io.getlime.security.powerauth.http.PowerAuthHttpHeader
-
Return a string with the HTTP header value.
- buildHttpHeader() - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Generate a valid PowerAuth Authorization header based on provided parameters.
- buildHttpHeader() - Method in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
C
- canonizeGetParameters(String) - Static method in class io.getlime.security.powerauth.http.PowerAuthRequestCanonizationUtils
-
Take the GET request query string (for example, "param1=key1¶m2=key2") and convert it to the canonized form by sorting the key value pairs primarily by keys and by values in case the keys are equal.
F
- fromValue(String) - Method in class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Create PowerAuth encryption HTTP header model object from provided string.
- fromValue(String) - Method in class io.getlime.security.powerauth.http.PowerAuthHttpHeader
-
Return the instance of the current header type based on provided String value.
- fromValue(String) - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Create PowerAuth authorization HTTP header model object from provided string.
- fromValue(String) - Method in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Create PowerAuth token HTTP header model object from provided string.
G
- getActivationId() - Method in class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Get the activation ID.
- getActivationId() - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Get activation ID.
- getApplicationKey() - Method in class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Get the application key.
- getApplicationKey() - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Get application key.
- getNonce() - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Get nonce.
- getNonce() - Method in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Get nonce.
- getSignature() - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Get signature.
- getSignatureBaseString(String, String, byte[], byte[]) - Static method in class io.getlime.security.powerauth.http.PowerAuthHttpBody
-
Prepare signature base string ("data to be signed") using request parameters.
- getSignatureType() - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Get signature type.
- getTimestamp() - Method in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Get timestamp.
- getTokenDigest() - Method in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Get token digest.
- getTokenId() - Method in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Get token identifier.
- getVersion() - Method in class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Get PowerAuth protocol version.
- getVersion() - Method in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Get version.
- getVersion() - Method in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Get version.
H
- HEADER_NAME - Static variable in class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Name of the PowerAuth encryption header, "X-PowerAuth-Encryption".
- HEADER_NAME - Static variable in class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Name of the PowerAuth authorization header, "X-PowerAuth-Authorization".
- HEADER_NAME - Static variable in class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Name of the PowerAuth token header, "X-PowerAuth-Token".
- headerField(String, String) - Method in class io.getlime.security.powerauth.http.PowerAuthHttpHeader
-
Helper method to build key-value pair.
I
- InvalidPowerAuthHttpHeaderException - Exception Class in io.getlime.security.powerauth.http.validator
-
Exception thrown in case that provided PowerAuth-related HTTP header is invalid.
- InvalidPowerAuthHttpHeaderException(String) - Constructor for exception class io.getlime.security.powerauth.http.validator.InvalidPowerAuthHttpHeaderException
-
Exception constructor.
- io.getlime.security.powerauth.http - package io.getlime.security.powerauth.http
- io.getlime.security.powerauth.http.validator - package io.getlime.security.powerauth.http.validator
- isDecimalString(String, int, int) - Static method in class io.getlime.security.powerauth.http.validator.ValueTypeValidator
-
Check if the string is a decimal string of provided length range.
- isValidBase64OfLength(String, int) - Static method in class io.getlime.security.powerauth.http.validator.ValueTypeValidator
-
Validate provided string that is expected to be in Base64 encoding.
- isValidBase64OfLengthRange(String, int, int) - Static method in class io.getlime.security.powerauth.http.validator.ValueTypeValidator
-
Validate provided string that is expected to be in Base64 encoding.
- isValidProtocolVersion(String) - Static method in class io.getlime.security.powerauth.http.validator.ValueTypeValidator
-
Check if the provided version is a valid one.
- isValidSignatureType(String) - Static method in class io.getlime.security.powerauth.http.validator.ValueTypeValidator
-
Check if the provided signature type value is valid.
- isValidSignatureValue(String) - Static method in class io.getlime.security.powerauth.http.validator.ValueTypeValidator
-
Validate if the provided signature is of a correct format.
- isValidUuid(String) - Static method in class io.getlime.security.powerauth.http.validator.ValueTypeValidator
-
Check if provided string is a valid UUID.
K
- Key() - Constructor for class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader.Key
- Key() - Constructor for class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader.Key
- Key() - Constructor for class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader.Key
P
- parseHttpHeader(String) - Method in class io.getlime.security.powerauth.http.PowerAuthHttpHeader
-
Parse the PowerAuth authorization header and return map with values.
- POWERAUTH_PREFIX - Static variable in class io.getlime.security.powerauth.http.PowerAuthHttpHeader
-
PowerAuth HTTP header prefix.
- PowerAuthEncryptionHttpHeader - Class in io.getlime.security.powerauth.http
-
Class representing the PowerAuth HTTP encryption header "X-PowerAuth-Encryption".
- PowerAuthEncryptionHttpHeader() - Constructor for class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Default constructor.
- PowerAuthEncryptionHttpHeader(String, String) - Constructor for class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Constructor for application scope.
- PowerAuthEncryptionHttpHeader(String, String, String) - Constructor for class io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader
-
Constructor for activation scope.
- PowerAuthEncryptionHttpHeader.Key - Class in io.getlime.security.powerauth.http
-
Class with keys used in the underlying map.
- PowerAuthEncryptionHttpHeaderValidator - Class in io.getlime.security.powerauth.http.validator
-
Validator class for
PowerAuthEncryptionHttpHeader. - PowerAuthEncryptionHttpHeaderValidator() - Constructor for class io.getlime.security.powerauth.http.validator.PowerAuthEncryptionHttpHeaderValidator
- PowerAuthHttpBody - Class in io.getlime.security.powerauth.http
-
Helper class simplifying working with HTTP request body in context of PowerAuth protocol.
- PowerAuthHttpBody() - Constructor for class io.getlime.security.powerauth.http.PowerAuthHttpBody
- PowerAuthHttpHeader - Class in io.getlime.security.powerauth.http
-
Base class for processing any PowerAuth related HTTP headers.
- PowerAuthHttpHeader() - Constructor for class io.getlime.security.powerauth.http.PowerAuthHttpHeader
- PowerAuthRequestCanonizationUtils - Class in io.getlime.security.powerauth.http
-
Canonization utilities for PowerAuth requests.
- PowerAuthRequestCanonizationUtils() - Constructor for class io.getlime.security.powerauth.http.PowerAuthRequestCanonizationUtils
- PowerAuthSignatureHttpHeader - Class in io.getlime.security.powerauth.http
-
Class representing the PowerAuth HTTP Authorization header "X-PowerAuth-Authorization".
- PowerAuthSignatureHttpHeader() - Constructor for class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Default constructor.
- PowerAuthSignatureHttpHeader(String, String, String, String, String, String) - Constructor for class io.getlime.security.powerauth.http.PowerAuthSignatureHttpHeader
-
Constructor with all required parameters.
- PowerAuthSignatureHttpHeader.Key - Class in io.getlime.security.powerauth.http
-
Class with keys used in the underlying map.
- PowerAuthSignatureHttpHeaderValidator - Class in io.getlime.security.powerauth.http.validator
-
Validator class for
PowerAuthSignatureHttpHeader. - PowerAuthSignatureHttpHeaderValidator() - Constructor for class io.getlime.security.powerauth.http.validator.PowerAuthSignatureHttpHeaderValidator
- PowerAuthTokenHttpHeader - Class in io.getlime.security.powerauth.http
-
Class representing the PowerAuth HTTP Token header "X-PowerAuth-Token".
- PowerAuthTokenHttpHeader() - Constructor for class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Default constructor.
- PowerAuthTokenHttpHeader(String, String, String, String, String) - Constructor for class io.getlime.security.powerauth.http.PowerAuthTokenHttpHeader
-
Constructor with all required class attributes.
- PowerAuthTokenHttpHeader.Key - Class in io.getlime.security.powerauth.http
-
Class with keys used in the underlying map.
- PowerAuthTokenHttpHeaderValidator - Class in io.getlime.security.powerauth.http.validator
-
Validator class for
PowerAuthTokenHttpHeader. - PowerAuthTokenHttpHeaderValidator() - Constructor for class io.getlime.security.powerauth.http.validator.PowerAuthTokenHttpHeaderValidator
V
- validate(PowerAuthEncryptionHttpHeader, EncryptorScope) - Static method in class io.getlime.security.powerauth.http.validator.PowerAuthEncryptionHttpHeaderValidator
-
Validate PowerAuth encryption HTTP header.
- validate(PowerAuthSignatureHttpHeader) - Static method in class io.getlime.security.powerauth.http.validator.PowerAuthSignatureHttpHeaderValidator
-
Validate PowerAuth signature HTTP header.
- validate(PowerAuthTokenHttpHeader) - Static method in class io.getlime.security.powerauth.http.validator.PowerAuthTokenHttpHeaderValidator
-
Validate PowerAuth token HTTP header.
- ValueTypeValidator - Class in io.getlime.security.powerauth.http.validator
-
Utility class to validate various value types, such as UUID, base64 encoded data, etc.
- ValueTypeValidator() - Constructor for class io.getlime.security.powerauth.http.validator.ValueTypeValidator
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form