Uses of Class
net.shibboleth.utilities.java.support.security.DataSealerException
Packages that use DataSealerException
Package
Description
Helpers for common security related tasks.
-
Uses of DataSealerException in net.shibboleth.utilities.java.support.security
Subclasses of DataSealerException in net.shibboleth.utilities.java.support.securityModifier and TypeClassDescriptionclass
Indicates the sealed data has expired.Methods in net.shibboleth.utilities.java.support.security that throw DataSealerExceptionModifier and TypeMethodDescriptionprivate String
DataSealer.extractAndCheckDecryptedData
(byte[] decryptedBytes) 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.Decrypts and verifies an encrypted bundle created withDataSealer.wrap(String, Instant)
.DataSealer.unwrap
(String wrapped, StringBuffer keyUsed) Decrypts and verifies an encrypted bundle created withDataSealer.wrap(String, Instant)
, optionally returning the label of the key used to encrypt the data.Equivalent toDataSealer.wrap(String, Instant)
with expiration set to "never".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