Package com.exoscale.sdk.model
Class DecryptResponse
java.lang.Object
com.exoscale.sdk.model.DecryptResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class DecryptResponse
extends Object
DecryptResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe encryption algorithm that was used to decrypt this ciphertext. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencryptionAlgorithm(DecryptResponse.EncryptionAlgorithmEnum encryptionAlgorithm) booleanReturn true if this decrypt-response object is equal to o.The encryption algorithm that was used to decrypt this ciphertext.byte[]The recovered Base64-encoded original plaintext payload.inthashCode()plaintext(byte[] plaintext) voidsetEncryptionAlgorithm(DecryptResponse.EncryptionAlgorithmEnum encryptionAlgorithm) voidsetPlaintext(byte[] plaintext) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PLAINTEXT
- See Also:
-
JSON_PROPERTY_ENCRYPTION_ALGORITHM
- See Also:
-
-
Constructor Details
-
DecryptResponse
public DecryptResponse()
-
-
Method Details
-
plaintext
-
getPlaintext
@Nonnull public byte[] getPlaintext()The recovered Base64-encoded original plaintext payload.- Returns:
- plaintext
-
setPlaintext
public void setPlaintext(byte[] plaintext) -
encryptionAlgorithm
public DecryptResponse encryptionAlgorithm(DecryptResponse.EncryptionAlgorithmEnum encryptionAlgorithm) -
getEncryptionAlgorithm
The encryption algorithm that was used to decrypt this ciphertext.- Returns:
- encryptionAlgorithm
-
setEncryptionAlgorithm
-
equals
Return true if this decrypt-response object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-