Interface SymmetricSigningCryptoStore
- All Superinterfaces:
CryptoStore
A crypto store containing symmetric key material for making signatures.
- Since:
- 3.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.data.CryptoStore
CryptoStore.ExportableAsKeyStore -
Method Summary
Modifier and TypeMethodDescriptionGets the secret key contained by this crypto store.getSecretKey(String algorithm) Gets the secret key contained by this crypto store, if one exists.
-
Method Details
-
getSecretKey
SecretKey getSecretKey()Gets the secret key contained by this crypto store.- Returns:
- a
SecretKey
-
getSecretKey
Gets the secret key contained by this crypto store, if one exists. An attempt will be made to return a key with the givenalgorithm, andnullis returned if unsuccessful.- Parameters:
algorithm- the algorithm of the returned key- Returns:
- a
SecretKey, ornull
-