com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class DKIMSignatureInfo



  • public class DKIMSignatureInfo
    extends Object

    Represents DKIM signature information.

    • Constructor Detail

      • DKIMSignatureInfo

        public DKIMSignatureInfo(String publicKeyDnsSelector,
                         String publicKeyDnsDomain)

        Creates new instance of DKIMSignatureInfo.

        Parameters:
        publicKeyDnsSelector - DNS public key domain selector.
        publicKeyDnsDomain - DNS public key domain.
    • Method Detail

      • getBodyCanonicalization

        public int getBodyCanonicalization()

        Gets or sets body canonicalization (c=).

        Returns:
        a int.
      • setBodyCanonicalization

        public void setBodyCanonicalization(int value)

        Gets or sets body canonicalization (c=).

        Parameters:
        value - a int.
      • getHeaderCanonicalization

        public int getHeaderCanonicalization()

        Gets or sets header canonicalization (c=).

        Returns:
        a int.
      • setHeaderCanonicalization

        public void setHeaderCanonicalization(int value)

        Gets or sets header canonicalization (c=).

        Parameters:
        value - a int.
      • getSelector

        public String getSelector()

        Gets or sets public key DNS selector (s=).

        Returns:
        a String object.
      • setSelector

        public void setSelector(String value)

        Gets or sets public key DNS selector (s=).

        Parameters:
        value - a String object.
      • getDomain

        public String getDomain()

        Gets or sets public key DNS domain (d=).

        Returns:
        a String object.
      • setDomain

        public void setDomain(String value)

        Gets or sets public key DNS domain (d=).

        Parameters:
        value - a String object.
      • getTime

        public com.aspose.ms.System.DateTime getTime()

        Gets or sets the signature timestamp - the time that this signature was created (t=). Default (null) is an unknown creation time.

        Returns:
        a DateTime object.
      • setTime

        public void setTime(com.aspose.ms.System.DateTime value)

        Gets or sets the signature timestamp - the time that this signature was created (t=). Default (null) is an unknown creation time.

        Parameters:
        value - a DateTime object.
      • getHashAlgorithm

        public int getHashAlgorithm()

        Gets or sets hash algorithm (a=).

        Returns:
        a int.
      • setHashAlgorithm

        public void setHashAlgorithm(int value)

        Gets or sets hash algorithm (a=).

        Parameters:
        value - a int.
      • getHeaders

        public HeaderList getHeaders()

        Headers that are included in the signature (h=).

        Returns:
        a HeaderList object.