public class CredentialsConfidentialKey extends ConfidentialKey
ConfidentialKey
that stores a SecretKey
for shared-secret cryptography (AES).Constructor and Description |
---|
CredentialsConfidentialKey(Class owner,
String shortName)
Constructor.
|
CredentialsConfidentialKey(String id) |
Modifier and Type | Method and Description |
---|---|
Cipher |
decrypt(byte[] salt)
Returns a
Cipher object for decrypting with this key. |
Cipher |
encrypt(byte[] salt)
Returns a
Cipher object for encrypting with this key. |
getId, load, store
Copyright © 2016–2021. All rights reserved.