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 TypeMethodDescriptionboolean
int
hashCode()
static TransformCiphertext
Factory method to createTransformCiphertext
from the givenciphertext
.with
(VaultTransformContext context) Create a newTransformCiphertext
object from this ciphertext associated with the givenVaultTransformContext
.
-
Method Details
-
of
Factory method to createTransformCiphertext
from the givenciphertext
.- Parameters:
ciphertext
- the cipher text to decrypt, must not be null or empty.- Returns:
- the
TransformCiphertext
forciphertext
.
-
getCiphertext
-
getContext
-
with
Create a newTransformCiphertext
object from this ciphertext associated with the givenVaultTransformContext
.- Parameters:
context
- transit context, must not be null.- Returns:
- the new
TransformCiphertext
object.
-
equals
-
hashCode
public int hashCode()
-