Interface KeyStore

All Known Implementing Classes:
DummyKeyStore, FileKeyStore

public interface KeyStore
秘钥存储组件
Since:
1.0.0
Version:
1.0.0
Author:
Coufran
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    加载秘钥
    void
    save(byte[] key)
    存储秘钥
  • Method Details

    • save

      void save(byte[] key)
      存储秘钥
      Parameters:
      key - 秘钥
    • load

      byte[] load()
      加载秘钥
      Returns:
      秘钥,无秘钥返回null