Class TransformCiphertext
java.lang.Object
org.springframework.vault.support.TransformCiphertext
Value object representing cipher text with an optional
VaultTransformContext.- Since:
- 2.3
- Author:
- Lauren Voswinkel
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static TransformCiphertextFactory method to createTransformCiphertextfrom the givenciphertext.with(VaultTransformContext context) Create a newTransformCiphertextobject from this ciphertext associated with the givenVaultTransformContext.
-
Method Details
-
of
Factory method to createTransformCiphertextfrom the givenciphertext.- Parameters:
ciphertext- the cipher text to decrypt, must not be null or empty.- Returns:
- the
TransformCiphertextforciphertext.
-
getCiphertext
-
getContext
-
with
Create a newTransformCiphertextobject from this ciphertext associated with the givenVaultTransformContext.- Parameters:
context- transit context, must not be null.- Returns:
- the new
TransformCiphertextobject.
-
equals
-
hashCode
public int hashCode()
-