public static interface EncryptedData.Decrypter
| Modifier and Type | Method and Description |
|---|---|
@NotEmpty byte[] |
decrypt(@NotNull EncryptedData encryptedData)
Decrypts the data using the information provided by the parameter.
|
@NotEmpty
@NotEmpty byte[] decrypt(@NotNull
@NotNull EncryptedData encryptedData)
throws EncryptionKeyIdUnknownException,
EncryptionKeyVersionUnknownException,
EncryptionIvVersionUnknownException,
DecryptionFailedException
encryptedData - Encrypted data and meta information about it.EncryptionKeyIdUnknownException - The given key identifier is unknown.EncryptionKeyVersionUnknownException - The given version of the key is unknown.EncryptionIvVersionUnknownException - The given initialization vector version is unknown.DecryptionFailedException - Decrypting the data using they key, version and (optional) IV version failed.Copyright © 2019 fuin.org (Germany). All Rights Reserved.