Package org.ondc

Class EncryptionUtil.EncryptionPayload

java.lang.Object
org.ondc.EncryptionUtil.EncryptionPayload
Enclosing class:
EncryptionUtil

public static class EncryptionUtil.EncryptionPayload extends Object
The POJO class for Encrypted Data.
  • Constructor Details

    • EncryptionPayload

      public EncryptionPayload()
  • Method Details

    • getEncrypedData

      public String getEncrypedData()
      Gets the Encrypted Data
      Returns:
      The Encrypted Data.
    • getNonce

      public String getNonce()
      Gets the Nonce.
      Returns:
      The Nonce.
    • getHmac

      public String getHmac()
      Gets the HMAC.
      Returns:
      The HMAC.
    • toBase64String

      public String toBase64String()
      A Method to convert this instance of a class to base64 string.
      Returns:
      Base64 Encoded string of the object.