Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AUTH_HEADER_DELIMITER - Static variable in class com.mdsol.mauth.util.MAuthHeadersHelper
B
- build() - Method in class com.mdsol.mauth.MAuthRequest.Builder
-
Construct a MAuthRequest object If mauthHeaders are provided, get the value of the highest protocol version to construct object
- Builder() - Constructor for class com.mdsol.mauth.MAuthRequest.Builder
C
- com.mdsol.mauth - package com.mdsol.mauth
- com.mdsol.mauth.exceptions - package com.mdsol.mauth.exceptions
- com.mdsol.mauth.util - package com.mdsol.mauth.util
- createAuthenticationHeaderValue(UUID, String) - Static method in class com.mdsol.mauth.util.MAuthHeadersHelper
- createAuthenticationHeaderValue(UUID, String, String) - Static method in class com.mdsol.mauth.util.MAuthHeadersHelper
- createSequenceInputStreamV1(UUID, String, String, InputStream, String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.
- createTimeHeaderValue(long) - Static method in class com.mdsol.mauth.util.MAuthHeadersHelper
- CurrentEpochTimeProvider - Class in com.mdsol.mauth.util
-
Basic implementation of
EpochTimeProviderfor getting the current time in seconds. - CurrentEpochTimeProvider() - Constructor for class com.mdsol.mauth.util.CurrentEpochTimeProvider
D
- decryptSignature(PublicKey, String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.
E
- encryptSignature(PrivateKey, byte[]) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.This is used for Mauth V1 protocol, replaced by
MAuthSignatureHelper.encryptSignatureRSA(PrivateKey privateKey, String unencryptedString)for Mauth V2 protocol - encryptSignature(PrivateKey, InputStream) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.This is used for Mauth V1 protocol, replaced by
MAuthSignatureHelper.encryptSignatureRSA(PrivateKey privateKey, String unencryptedString)for Mauth V2 protocol - encryptSignature(PrivateKey, String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.This is used for Mauth V1 protocol, replaced by
MAuthSignatureHelper.encryptSignatureRSA(PrivateKey privateKey, String unencryptedString)for Mauth V2 protocol - encryptSignatureRSA(PrivateKey, String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Generate base64 encoded signature using SHA516 with RSA
- EpochTimeProvider - Interface in com.mdsol.mauth.util
-
Basic interface to get the time in seconds.
G
- generateDigestedMessageV1(MAuthRequest) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.
- generateEncryptedQueryParams(String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
generate the query parameters for Mauth V2
- generateStringToSignV2(MAuthRequest) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Generate string_to_sign for Mauth V2 protocol
- generateStringToSignV2(UUID, String, String, String, byte[], String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Generate string_to_sign for Mauth V2 protocol
- generateStringToSignV2(UUID, String, String, String, InputStream, String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Generate string_to_sign for Mauth V2 protocol
- generateUnencryptedSignature(UUID, String, String, byte[], String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.This is used for Mauth V1 protocol, replaced by
MAuthSignatureHelper.generateStringToSignV2(UUID appUUID, String httpMethod, String resourceUrl, String queryParameters, byte[] requestBody, String epochTime)for Mauth V2 protocol - generateUnencryptedSignature(UUID, String, String, String, String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Deprecated.This is used for Mauth V1 protocol, replaced by
MAuthSignatureHelper.generateStringToSignV2(UUID appUUID, String httpMethod, String resourceUrl, String queryParameters, byte[] requestBody, String epochTime)for Mauth V2 protocol - get() - Static method in class com.mdsol.mauth.MAuthRequest.Builder
- getAppUUID() - Method in class com.mdsol.mauth.MAuthRequest
- getAppUUIDFromAuthenticationHeader(String) - Static method in class com.mdsol.mauth.util.MAuthHeadersHelper
- getBodyInputStream() - Method in class com.mdsol.mauth.MAuthRequest
- getHexEncodedDigestedString(byte[]) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
- getHexEncodedDigestedString(InputStream) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
- getHexEncodedDigestedString(String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
- getHttpMethod() - Method in class com.mdsol.mauth.MAuthRequest
- getMauthVersion() - Method in class com.mdsol.mauth.MAuthRequest
- getMauthVersion(String) - Static method in class com.mdsol.mauth.util.MAuthHeadersHelper
- getMessagePayload() - Method in class com.mdsol.mauth.MAuthRequest
- getPrivateKeyFromString(String) - Static method in class com.mdsol.mauth.util.MAuthKeysHelper
- getPublicKeyFromString(String) - Static method in class com.mdsol.mauth.util.MAuthKeysHelper
- getQueryParameters() - Method in class com.mdsol.mauth.MAuthRequest
- getRequestSignature() - Method in class com.mdsol.mauth.MAuthRequest
- getRequestTime() - Method in class com.mdsol.mauth.MAuthRequest
- getRequestTimeFromTimeHeader(String) - Static method in class com.mdsol.mauth.util.MAuthHeadersHelper
- getResourcePath() - Method in class com.mdsol.mauth.MAuthRequest
- getSignatureFromAuthenticationHeader(String) - Static method in class com.mdsol.mauth.util.MAuthHeadersHelper
- getValue() - Method in enum class com.mdsol.mauth.MAuthVersion
- getXmwsSignature() - Method in class com.mdsol.mauth.MAuthRequest
- getXmwsTime() - Method in class com.mdsol.mauth.MAuthRequest
I
- inSeconds() - Method in class com.mdsol.mauth.util.CurrentEpochTimeProvider
- inSeconds() - Method in interface com.mdsol.mauth.util.EpochTimeProvider
M
- MAuthConfiguration - Interface in com.mdsol.mauth
- MAuthHeadersHelper - Class in com.mdsol.mauth.util
- MAuthHeadersHelper() - Constructor for class com.mdsol.mauth.util.MAuthHeadersHelper
- MAuthKeyException - Exception Class in com.mdsol.mauth.exceptions
- MAuthKeyException() - Constructor for exception class com.mdsol.mauth.exceptions.MAuthKeyException
- MAuthKeyException(String) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthKeyException
- MAuthKeyException(String, Throwable) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthKeyException
- MAuthKeyException(String, Throwable, boolean, boolean) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthKeyException
- MAuthKeyException(Throwable) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthKeyException
- MAuthKeysHelper - Class in com.mdsol.mauth.util
- MAuthKeysHelper() - Constructor for class com.mdsol.mauth.util.MAuthKeysHelper
- MAuthRequest - Class in com.mdsol.mauth
-
Wrapper for an incoming MAuth request data necessary to authenticate it.
- MAuthRequest(String, byte[], String, String, String) - Constructor for class com.mdsol.mauth.MAuthRequest
-
Deprecated.This is used for Mauth V1 protocol, replaced by
MAuthRequest(String authenticationHeaderValue, byte[] messagePayload, String httpMethod, String timeHeaderValue, String resourcePath, String queryParameters)for Mauth V2 protocol - MAuthRequest(String, byte[], String, String, String, String) - Constructor for class com.mdsol.mauth.MAuthRequest
-
Create a Mauth request
- MAuthRequest(String, InputStream, String, String, String, String) - Constructor for class com.mdsol.mauth.MAuthRequest
-
Create a Mauth request
- MAuthRequest.Builder - Class in com.mdsol.mauth
- MAuthSignatureHelper - Class in com.mdsol.mauth.util
- MAuthSignatureHelper() - Constructor for class com.mdsol.mauth.util.MAuthSignatureHelper
- MAuthSigningException - Exception Class in com.mdsol.mauth.exceptions
- MAuthSigningException() - Constructor for exception class com.mdsol.mauth.exceptions.MAuthSigningException
- MAuthSigningException(String) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthSigningException
- MAuthSigningException(String, Throwable) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthSigningException
- MAuthSigningException(String, Throwable, boolean, boolean) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthSigningException
- MAuthSigningException(Throwable) - Constructor for exception class com.mdsol.mauth.exceptions.MAuthSigningException
- MAuthVersion - Enum Class in com.mdsol.mauth
- MCC_AUTHENTICATION_HEADER_NAME - Static variable in class com.mdsol.mauth.MAuthRequest
- MCC_TIME_HEADER_NAME - Static variable in class com.mdsol.mauth.MAuthRequest
- MWS - Enum constant in enum class com.mdsol.mauth.MAuthVersion
- MWSV2 - Enum constant in enum class com.mdsol.mauth.MAuthVersion
N
- normalizePath(String) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
normalize url-encoded path string
S
- setXmwsSignature(String) - Method in class com.mdsol.mauth.MAuthRequest
- setXmwsTime(String) - Method in class com.mdsol.mauth.MAuthRequest
V
- validateNotBlank(String, String) - Method in interface com.mdsol.mauth.MAuthConfiguration
- validateNotNull(Object, String) - Method in interface com.mdsol.mauth.MAuthConfiguration
- VALIDATION_EXCEPTION_MESSAGE_TEMPLATE - Static variable in interface com.mdsol.mauth.MAuthConfiguration
- valueOf(String) - Static method in enum class com.mdsol.mauth.MAuthVersion
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.mdsol.mauth.MAuthVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyRSA(String, String, PublicKey) - Static method in class com.mdsol.mauth.util.MAuthSignatureHelper
-
Verify SHA512-RSA signature
W
- withAuthenticationHeaderValue(String) - Method in class com.mdsol.mauth.MAuthRequest.Builder
- withBodyInputStream(InputStream) - Method in class com.mdsol.mauth.MAuthRequest.Builder
- withHttpMethod(String) - Method in class com.mdsol.mauth.MAuthRequest.Builder
- withMauthHeaders(Map<String, String>) - Method in class com.mdsol.mauth.MAuthRequest.Builder
-
Set Mauth headers (it may include the both sets of Mauth V1 and V2)
- withMessagePayload(byte[]) - Method in class com.mdsol.mauth.MAuthRequest.Builder
- withQueryParameters(String) - Method in class com.mdsol.mauth.MAuthRequest.Builder
- withResourcePath(String) - Method in class com.mdsol.mauth.MAuthRequest.Builder
- withTimeHeaderValue(String) - Method in class com.mdsol.mauth.MAuthRequest.Builder
X
- X_MWS_AUTHENTICATION_HEADER_NAME - Static variable in class com.mdsol.mauth.MAuthRequest
- X_MWS_TIME_HEADER_NAME - Static variable in class com.mdsol.mauth.MAuthRequest
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
MAuthSignatureHelper.verifyRSA(String plainText, String signature, PublicKey publicKey)for Mauth V2 protocol