public interface KeyManager
ManagedKey
(s), e.g. javax.crypto.SecretKey
, java.security.PrivateKey
, java.security.PublicKey
, etc.ManagedKey
Modifier and Type | Method and Description |
---|---|
Set<ManagedKey> | findByAlgorithm(String algorithm) |
ManagedKey | findByKeyId(String keyId) |
Set<ManagedKey> | getKeys() Returns a Set of the ManagedKey (s). |
ManagedKey findByKeyId(String keyId)
keyId
- the key IDManagedKey
, or null
if not foundSet<ManagedKey> findByAlgorithm(String algorithm)
algorithm
- the key algorithmSet
of ManagedKey
(s), or an empty Set
if not foundSet<ManagedKey> getKeys()
Set
of the ManagedKey
(s).Set
of the ManagedKey
(s)