# Uses of Class
net.shibboleth.shared.security.DataSealerException

Packages that use DataSealerException
Package
Description
net.shibboleth.shared.security
Helpers for common security related tasks.

## Uses of DataSealerException in net.shibboleth.shared.security

Subclasses of DataSealerException in net.shibboleth.shared.security
Modifier and Type
Class
Description
`class`
`DataExpiredException`
Indicates the sealed data has expired.
Methods in net.shibboleth.shared.security that throw DataSealerException
Modifier and Type
Method
Description
`private String`
DataSealer.`extractAndCheckDecryptedData(byte[] decryptedBytes, int decryptedOffset, int decryptedLen)`
Extract the GZIP'd data and test for expiration before returning it.
`private void`
DataSealer.`testEncryption(SecretKey key)`
Run a test over the configured bean properties.
`String`
DataSealer.`unwrap(String wrapped)`
Decrypts and verifies an encrypted bundle created with `DataSealer.wrap(String, Instant)`.
`String`
DataSealer.`unwrap(String wrapped, StringBuffer keyUsed)`
Decrypts and verifies an encrypted bundle created with `DataSealer.wrap(String, Instant)`, optionally returning the label of the key used to encrypt the data.
`String`
DataSealer.`wrap(String data)`
Equivalent to `DataSealer.wrap(String, Instant)` with expiration set to "never".
`String`
DataSealer.`wrap(String data, Instant exp)`
Encodes data into an AEAD-encrypted blob, gzip(exp|data) exp = expiration time of the data; 8 bytes; Big-endian data = the data; a UTF-8-encoded string