Interface SymmetricSigningCryptoStore

All Superinterfaces:
CryptoStore

public interface SymmetricSigningCryptoStore extends CryptoStore
A crypto store containing symmetric key material for making signatures.
Since:
3.0.0
  • Method Details

    • getSecretKey

      SecretKey getSecretKey()
      Gets the secret key contained by this crypto store.
      Returns:
      a SecretKey
    • getSecretKey

      @Nullable @Nullable SecretKey getSecretKey(String algorithm)
      Gets the secret key contained by this crypto store, if one exists. An attempt will be made to return a key with the given algorithm, and null is returned if unsuccessful.
      Parameters:
      algorithm - the algorithm of the returned key
      Returns:
      a SecretKey, or null