RequestCipherProperties.java 494 B

1234567891011121314151617181920212223242526272829
  1. package com.izouma.nineth.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. @Data
  6. @ConfigurationProperties(prefix="request-cipher")
  7. public class RequestCipherProperties {
  8. /**
  9. * 私钥
  10. */
  11. private String privateKey;
  12. /**
  13. * 公钥
  14. *
  15. */
  16. private String publicKey;
  17. /**
  18. * 私钥加密时的密码
  19. */
  20. private String privateKeyPwd;
  21. }