Package io.moov.sdk

Class EndToEndEncryption


  • public class EndToEndEncryption
    extends java.lang.Object
    • 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