public interface HmacKeyProvider extends KeyProvider<HmacKeyMetadata>
| Modifier and Type | Method and Description |
|---|---|
SecretKey |
getSecretKey()
Return the active secret key, or
null if no active key is available. |
SecretKey |
getSecretKey(String kid)
Return the secret key for the specified kid, or
null if the kid is unknown. |
default AlgorithmType |
getType()
Returns the algorithm type the keys can be used for
|
getKeyMetadata, getKiddefault AlgorithmType getType()
KeyProvidergetType in interface KeyProvider<HmacKeyMetadata>SecretKey getSecretKey()
null if no active key is available.Copyright © 2017 JBoss by Red Hat. All rights reserved.