Class PublicKeyResponse


  • public class PublicKeyResponse
    extends Object
    PublicKeyResponse
    • Constructor Detail

      • PublicKeyResponse

        public PublicKeyResponse()
    • Method Detail

      • getPublicKey

        public String getPublicKey()
        The public key you need for encrypting a symmetric session key.
        Returns:
        publicKey
      • setPublicKey

        public void setPublicKey​(String publicKey)
        The public key you need for encrypting a symmetric session key.
        Parameters:
        publicKey -
      • getPublicKeyExpiryDate

        public String getPublicKeyExpiryDate()
        The expiry date of the public key.
        Returns:
        publicKeyExpiryDate
      • setPublicKeyExpiryDate

        public void setPublicKeyExpiryDate​(String publicKeyExpiryDate)
        The expiry date of the public key.
        Parameters:
        publicKeyExpiryDate -
      • equals

        public boolean equals​(Object o)
        Return true if this PublicKeyResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static PublicKeyResponse fromJson​(String jsonString)
                                          throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of PublicKeyResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PublicKeyResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to PublicKeyResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of PublicKeyResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException