SealOptionsBuilder

SealOptionsBuilder

new SealOptionsBuilder(certificateCredentialsnon-null, fieldOptionsnon-null)

Description:
Parameters:
Name Type Description
certificateCredentials CertificateCredentials

digital seal credential to be used for applying electronic seal

fieldOptions FieldOptions

seal field options to be used for applying electronic seal

Methods

withSignatureFormat(signatureFormat)

Description:
  • Sets the signature format.

Parameters:
Name Type Description
signatureFormat SignatureFormat

the signature format to be used for applying electronic seal

Returns:

this Builder instance to add any additional parameters

withAppearanceOptions(appearanceOptions)

Description:
  • Sets the seal appearance options.

Parameters:
Name Type Description
appearanceOptions AppearanceOptions

the seal appearance options;

Returns:

this Builder instance to add any additional parameters

build()

Description:
  • Returns a new SealOptions instance built from the current state of this builder.

Returns:

a new SealOptions instance