public class VaultEncryptionResult extends AbstractResult<Ciphertext>
| Constructor and Description |
|---|
VaultEncryptionResult(Ciphertext cipherText)
Create
VaultEncryptionResult for a successfully encrypted
Ciphertext . |
VaultEncryptionResult(VaultException exception)
Create
VaultEncryptionResult for an error during encryption. |
| Modifier and Type | Method and Description |
|---|---|
protected Ciphertext |
get0() |
get, getCause, isSuccessfulpublic VaultEncryptionResult(Ciphertext cipherText)
VaultEncryptionResult for a successfully encrypted
Ciphertext .cipherText - must not be null.public VaultEncryptionResult(VaultException exception)
VaultEncryptionResult for an error during encryption.exception - must not be null.@Nullable protected Ciphertext get0()
get0 in class AbstractResult<Ciphertext>Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.