package cn.novalon.gym.manage.gateway.service;

import javax.crypto.SecretKey;

public interface JwtKeyService {
    
    SecretKey getCurrentSigningKey();
    
    SecretKey getSigningKeyByVersion(String version);
    
    String getCurrentKeyVersion();
    
    void rotateKey();
    
    boolean validateKeyStrength(String key);
    
    String generateSecureKey();
    
    String encryptKey(String key);
    
    String decryptKey(String encryptedKey);
}