Show / Hide Table of Contents

# Class CMSSignatureOptions

Optional data for CMS creation.

##### Inheritance

object
CMSSignatureOptions

##### Implements

IDisposable

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class CMSSignatureOptions : IDisposable

### Constructors

#### CMSSignatureOptions()

Constructor

##### Declaration

    public CMSSignatureOptions()

#### CMSSignatureOptions(IntPtr)

##### Declaration

    public CMSSignatureOptions(IntPtr impl_ptr)

##### Parameters

Type | Name | Description
--- | --- | ---
IntPtr | impl_ptr |

### Methods

#### AddTimestampToken(byte[])

Add a timestamp token to the CMS.

##### Declaration

    public void AddTimestampToken(byte[] token_buf)

##### Parameters

Type | Name | Description
--- | --- | ---
byte[] | token_buf | The timestamp token.

#### CreateInternal(IntPtr)

##### Declaration

    public static CMSSignatureOptions CreateInternal(IntPtr imp)

##### Parameters

Type | Name | Description
--- | --- | ---
IntPtr | imp |

##### Returns

Type | Description
--- | ---
CMSSignatureOptions |

#### Destroy()

##### Declaration

    public void Destroy()

#### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

##### Declaration

    public void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool disposing)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | disposing |

#### ~CMSSignatureOptions()

##### Declaration

    protected ~CMSSignatureOptions()

### Implements

IDisposable