Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class

# CMSSignatureOptions

extends Object
implements AutoCloseable

java.lang.Object
↳ | com.pdftron.pdf.CMSSignatureOptions

## Class Overview

Optional data for CMS creation.

## Summary

Public Constructors
| CMSSignatureOptions(long impl_ptr)
| CMSSignatureOptions() Constructor

Public Methods
long | __GetHandle()
void | addTimestampToken(byte[] token_buf) Add a timestamp token to the CMS.
void | close() Frees the native memory of the object.
void | destroy() Frees the native memory of the object.

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.lang.AutoCloseable
abstract void | close()

## Public Constructors

#### public CMSSignatureOptions (long impl_ptr)

#### public CMSSignatureOptions ()

Constructor

##### Throws

PDFNetException |

## Public Methods

#### public long __GetHandle ()

#### public void addTimestampToken (byte[] token_buf)

Add a timestamp token to the CMS.

##### Parameters

token_buf | The timestamp token.

##### Throws

PDFNetException |

#### public void close ()

Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

##### Throws

PDFNetException |

#### public void destroy ()

Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

##### Throws

PDFNetException |