| Package | Description |
|---|---|
| net.shibboleth.utilities.java.support.security |
Helpers for common security related tasks.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DataExpiredException
Indicates the sealed data has expired.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
DataSealer.extractAndCheckDecryptedData(byte[] decryptedBytes)
Extract the GZIP'd data and test for expiration before returning it.
|
private void |
DataSealer.testEncryption(javax.crypto.SecretKey key)
Run a test over the configured bean properties.
|
java.lang.String |
DataSealer.unwrap(java.lang.String wrapped)
Decrypts and verifies an encrypted bundle created with
DataSealer.wrap(String, long). |
java.lang.String |
DataSealer.unwrap(java.lang.String wrapped,
java.lang.StringBuffer keyUsed)
Decrypts and verifies an encrypted bundle created with
DataSealer.wrap(String, long), optionally
returning the label of the key used to encrypt the data. |
java.lang.String |
DataSealer.wrap(java.lang.String data,
long 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
|