DKIMSignatureInfo

Inheritance: java.lang.Object

public class DKIMSignatureInfo

Represents DKIM signature information.

Constructors

Constructor Description
DKIMSignatureInfo(String publicKeyDnsSelector, String publicKeyDnsDomain) Creates new instance of DKIMSignatureInfo.

Methods

Method Description
getBodyCanonicalization() Gets or sets body canonicalization (c=).
setBodyCanonicalization(int value) Gets or sets body canonicalization (c=).
getHeaderCanonicalization() Gets or sets header canonicalization (c=).
setHeaderCanonicalization(int value) Gets or sets header canonicalization (c=).
getSelector() Gets or sets public key DNS selector (s=).
setSelector(String value) Gets or sets public key DNS selector (s=).
getDomain() Gets or sets public key DNS domain (d=).
setDomain(String value) Gets or sets public key DNS domain (d=).
getTime() Gets or sets the signature timestamp - the time that this signature was created (t=).
setTime(System.DateTime value) Gets or sets the signature timestamp - the time that this signature was created (t=).
getHashAlgorithm() Gets or sets hash algorithm (a=).
setHashAlgorithm(int value) Gets or sets hash algorithm (a=).
getHeaders() Headers that are included in the signature (h=).

DKIMSignatureInfo(String publicKeyDnsSelector, String publicKeyDnsDomain)

public DKIMSignatureInfo(String publicKeyDnsSelector, String publicKeyDnsDomain)

Creates new instance of DKIMSignatureInfo.

Parameters:

Parameter Type Description
publicKeyDnsSelector java.lang.String DNS public key domain selector.
publicKeyDnsDomain java.lang.String DNS public key domain.

getBodyCanonicalization()

public final int getBodyCanonicalization()

Gets or sets body canonicalization (c=).

Returns: int

setBodyCanonicalization(int value)

public final void setBodyCanonicalization(int value)

Gets or sets body canonicalization (c=).

Parameters:

Parameter Type Description
value int

getHeaderCanonicalization()

public final int getHeaderCanonicalization()

Gets or sets header canonicalization (c=).

Returns: int

setHeaderCanonicalization(int value)

public final void setHeaderCanonicalization(int value)

Gets or sets header canonicalization (c=).

Parameters:

Parameter Type Description
value int

getSelector()

public final String getSelector()

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

Returns: java.lang.String

setSelector(String value)

public final void setSelector(String value)

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

Parameters:

Parameter Type Description
value java.lang.String

getDomain()

public final String getDomain()

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

Returns: java.lang.String

setDomain(String value)

public final void setDomain(String value)

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

Parameters:

Parameter Type Description
value java.lang.String

getTime()

public final 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: com.aspose.ms.System.DateTime

setTime(System.DateTime value)

public final void setTime(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:

Parameter Type Description
value com.aspose.ms.System.DateTime

getHashAlgorithm()

public int getHashAlgorithm()

Gets or sets hash algorithm (a=).

Returns: int

setHashAlgorithm(int value)

public final void setHashAlgorithm(int value)

Gets or sets hash algorithm (a=).

Parameters:

Parameter Type Description
value int

getHeaders()

public final HeaderList getHeaders()

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

Returns: HeaderList