类 RSAConfiguration

  • 所有已实现的接口:
    org.springframework.beans.factory.InitializingBean

    @ConfigurationProperties(prefix="badger.encrypt")
    public class RSAConfiguration
    extends EncryptProvider
    implements org.springframework.beans.factory.InitializingBean
    The type Rsa configuration.
    从以下版本开始:
    : 1.0.0
    作者:
    : longfa
    • 构造器详细资料

      • RSAConfiguration

        public RSAConfiguration()
    • 方法详细资料

      • setPrivateKeyBase64

        public void setPrivateKeyBase64​(String privateKeyBase64)
        Sets private key base 64.
        参数:
        privateKeyBase64 - the private key base 64
      • setPublicKeyBase64

        public void setPublicKeyBase64​(String publicKeyBase64)
        Sets public key base 64.
        参数:
        publicKeyBase64 - the public key base 64
      • getPrivateKeyBase64

        public String getPrivateKeyBase64()
        Gets private key base 64.
        返回:
        the private key base 64
      • getPublicKeyBase64

        public String getPublicKeyBase64()
        Gets public key base 64.
        返回:
        the public key base 64
      • afterPropertiesSet

        public void afterPropertiesSet()
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean