类 DKIMCfg

java.lang.Object
com.gdxsoft.easyweb.utils.Mail.DKIMCfg

public class DKIMCfg extends Object
DKIM签名配置 DKIM for JavaMail needs the private key in DER format, you can transform a PEM key openssl pkcs8 -topk8 -nocrypt -in private.key.pem -out private.key.der -outform der
作者:
admin
  • 构造器详细资料

    • DKIMCfg

      public DKIMCfg()
  • 方法详细资料

    • isDkim

      public boolean isDkim()
    • setDkim

      public void setDkim(boolean dkim)
    • getDomain

      public String getDomain()
      DKIM签名的域名
      返回:
      the domain_
    • setDomain

      public void setDomain(String domain)
      DKIM签名的域名
      参数:
      domain - the domain_ to set
    • getSelect

      public String getSelect()
      DKIM签名的选择域
      返回:
      the select_
    • setSelect

      public void setSelect(String select)
      DKIM签名的选择域
      参数:
      select - the select_ to set
    • getPrivateKeyPath

      public String getPrivateKeyPath()
      DKIM签名的私匙
      DKIM for JavaMail needs the private key in DER format, you can transform a PEM key
      openssl pkcs8 -topk8 -nocrypt -in private.key.pem -out private.key.der -outform der
      返回:
      the privateKeyPath_
    • setPrivateKeyPath

      public void setPrivateKeyPath(String privateKeyPath)
      DKIM签名的私匙
      DKIM for JavaMail needs the private key in DER format, you can transform a PEM key
      openssl pkcs8 -topk8 -nocrypt -in private.key.pem -out private.key.der -outform der
      参数:
      privateKeyPath - the privateKeyPath_ to set