Package com.exoscale.sdk.model
Class ReEncryptResponse
java.lang.Object
com.exoscale.sdk.model.ReEncryptResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ReEncryptResponse
extends Object
ReEncryptResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe encryption algorithm that was used to encrypt the destination ciphertext.static enumThe encryption algorithm that was used to decrypt the source ciphertext. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionciphertext(byte[] ciphertext) destinationEncryptionAlgorithm(ReEncryptResponse.DestinationEncryptionAlgorithmEnum destinationEncryptionAlgorithm) booleanReturn true if this re-encrypt-response object is equal to o.byte[]The new Base64-encoded ciphertext block safely wrapped by the chosen destination key parameters.The encryption algorithm that was used to encrypt the destination ciphertext.The encryption algorithm that was used to decrypt the source ciphertext.inthashCode()voidsetCiphertext(byte[] ciphertext) voidsetDestinationEncryptionAlgorithm(ReEncryptResponse.DestinationEncryptionAlgorithmEnum destinationEncryptionAlgorithm) voidsetSourceEncryptionAlgorithm(ReEncryptResponse.SourceEncryptionAlgorithmEnum sourceEncryptionAlgorithm) sourceEncryptionAlgorithm(ReEncryptResponse.SourceEncryptionAlgorithmEnum sourceEncryptionAlgorithm) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CIPHERTEXT
- See Also:
-
JSON_PROPERTY_SOURCE_ENCRYPTION_ALGORITHM
- See Also:
-
JSON_PROPERTY_DESTINATION_ENCRYPTION_ALGORITHM
- See Also:
-
-
Constructor Details
-
ReEncryptResponse
public ReEncryptResponse()
-
-
Method Details
-
ciphertext
-
getCiphertext
@Nonnull public byte[] getCiphertext()The new Base64-encoded ciphertext block safely wrapped by the chosen destination key parameters.- Returns:
- ciphertext
-
setCiphertext
public void setCiphertext(byte[] ciphertext) -
sourceEncryptionAlgorithm
public ReEncryptResponse sourceEncryptionAlgorithm(ReEncryptResponse.SourceEncryptionAlgorithmEnum sourceEncryptionAlgorithm) -
getSourceEncryptionAlgorithm
The encryption algorithm that was used to decrypt the source ciphertext.- Returns:
- sourceEncryptionAlgorithm
-
setSourceEncryptionAlgorithm
public void setSourceEncryptionAlgorithm(ReEncryptResponse.SourceEncryptionAlgorithmEnum sourceEncryptionAlgorithm) -
destinationEncryptionAlgorithm
public ReEncryptResponse destinationEncryptionAlgorithm(ReEncryptResponse.DestinationEncryptionAlgorithmEnum destinationEncryptionAlgorithm) -
getDestinationEncryptionAlgorithm
@Nonnull public ReEncryptResponse.DestinationEncryptionAlgorithmEnum getDestinationEncryptionAlgorithm()The encryption algorithm that was used to encrypt the destination ciphertext.- Returns:
- destinationEncryptionAlgorithm
-
setDestinationEncryptionAlgorithm
public void setDestinationEncryptionAlgorithm(ReEncryptResponse.DestinationEncryptionAlgorithmEnum destinationEncryptionAlgorithm) -
equals
Return true if this re-encrypt-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
-