SignerContext

Inheritance: java.lang.Object, com.aspose.words.ProcessorContext

public class SignerContext extends ProcessorContext

Document signer context

Methods

MethodDescription
getCertificateHolder()CertificateHolder object with certificate that used to sign file.
getFontSettings()Font settings used by the processor.
getLayoutOptions()Document layout options used by the processor.
getSignOptions()SignOptions object with various signing options.
getWarningCallback()Warning callback used by the processor.
setCertificateHolder(CertificateHolder value)CertificateHolder object with certificate that used to sign file.
setFontSettings(FontSettings value)Font settings used by the processor.
setSignOptions(SignOptions value)SignOptions object with various signing options.
setWarningCallback(IWarningCallback value)Warning callback used by the processor.

getCertificateHolder()

public CertificateHolder getCertificateHolder()

CertificateHolder object with certificate that used to sign file.

Remarks:

The certificate in holder MUST contain private keys and have the X509KeyStorageFlags.Exportable flag set.

Returns: CertificateHolder - The corresponding CertificateHolder value.

getFontSettings()

public FontSettings getFontSettings()

Font settings used by the processor.

Returns: FontSettings - The corresponding FontSettings value.

getLayoutOptions()

public LayoutOptions getLayoutOptions()

Document layout options used by the processor.

Returns: LayoutOptions - The corresponding LayoutOptions value.

getSignOptions()

public SignOptions getSignOptions()

SignOptions object with various signing options.

Returns: SignOptions - The corresponding SignOptions value.

getWarningCallback()

public IWarningCallback getWarningCallback()

Warning callback used by the processor.

Returns: IWarningCallback - The corresponding IWarningCallback value.

setCertificateHolder(CertificateHolder value)

public void setCertificateHolder(CertificateHolder value)

CertificateHolder object with certificate that used to sign file.

Remarks:

The certificate in holder MUST contain private keys and have the X509KeyStorageFlags.Exportable flag set.

Parameters:

ParameterTypeDescription
valueCertificateHolderThe corresponding CertificateHolder value.

setFontSettings(FontSettings value)

public void setFontSettings(FontSettings value)

Font settings used by the processor.

Parameters:

ParameterTypeDescription
valueFontSettingsThe corresponding FontSettings value.

setSignOptions(SignOptions value)

public void setSignOptions(SignOptions value)

SignOptions object with various signing options.

Parameters:

ParameterTypeDescription
valueSignOptionsThe corresponding SignOptions value.

setWarningCallback(IWarningCallback value)

public void setWarningCallback(IWarningCallback value)

Warning callback used by the processor.

Parameters:

ParameterTypeDescription
valueIWarningCallbackThe corresponding IWarningCallback value.