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
From interface java.lang.AutoCloseable

Public Constructors

public CMSSignatureOptions (long impl_ptr)

public CMSSignatureOptions ()

Constructor

Public Methods

public long __GetHandle ()

public void addTimestampToken (byte[] token_buf)

Add a timestamp token to the CMS.

Parameters
token_buf The timestamp token.

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.

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.