Package io.moov.sdk
Class EndToEndEncryption
- java.lang.Object
-
- io.moov.sdk.EndToEndEncryption
-
public class EndToEndEncryption extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateEndToEndKeyRequestBuildergenerateKey()Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.GenerateEndToEndKeyResponsegenerateKeyDirect()Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.TestEndToEndTokenRequestBuildertestEncryptedToken()Allows for testing a JWE token to ensure it's acceptable by Moov.TestEndToEndTokenResponsetestEncryptedToken(java.lang.String token)Allows for testing a JWE token to ensure it's acceptable by Moov.
-
-
-
Method Detail
-
testEncryptedToken
public TestEndToEndTokenRequestBuilder testEncryptedToken()
Allows for testing a JWE token to ensure it's acceptable by Moov.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/ping.read` scope.
- Returns:
- The call builder
-
testEncryptedToken
public TestEndToEndTokenResponse testEncryptedToken(java.lang.String token) throws java.lang.Exception
Allows for testing a JWE token to ensure it's acceptable by Moov.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/ping.read` scope.
- Parameters:
token-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
generateKey
public GenerateEndToEndKeyRequestBuilder generateKey()
Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.- Returns:
- The call builder
-
generateKeyDirect
public GenerateEndToEndKeyResponse generateKeyDirect() throws java.lang.Exception
Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-