public class MetadataSignOptions extends SignOptions
Represents Metadata signature options.
| Constructor and Description |
|---|
MetadataSignOptions()
Initializes a new instance of the SignMetadataOptions class with default values.
|
MetadataSignOptions(ArrayList<MetadataSignature> signatures)
Initializes a new instance of the SignMetadataOptions class with Metadata.
|
| Modifier and Type | Method and Description |
|---|---|
MetadataSignOptions |
add(MetadataSignature metadataSignature)
Add existing MetadataSignature instance to collection.
|
ImageMetadataSignature |
addImageSignature(int id,
Object value)
Creates new ImageMetadataSignature with passed arguments and adds it to collection.
|
PdfMetadataSignature |
addPdfSignature(String name,
Object value,
String tag)
Creates new PdfMetadataSignature with passed arguments and adds it to collection.
|
IDataEncryption |
getDataEncryption()
Gets or sets implementation of
IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties. |
MetadataSignatureCollection |
getSignatures()
Gets or sets the Metadata of signature.
|
void |
setDataEncryption(IDataEncryption value)
Gets or sets implementation of
IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties. |
void |
setSignatures(MetadataSignatureCollection value)
Gets or sets the Metadata of signature.
|
BaseSignature |
signature() |
String |
toString()
Override string conversion.
|
void |
validate()
Internal method to validate the options parameters.
|
addSignature, getAllPages, getAppearance, getDocumentType, getExtensions, getPageNumber, getPagesSetup, getSignatureType, getZOrder, setAllPages, setAppearance, setDocumentType, setExtensions, setPageNumber, setPagesSetup, setZOrderpublic MetadataSignOptions()
Initializes a new instance of the SignMetadataOptions class with default values.
public MetadataSignOptions(ArrayList<MetadataSignature> signatures) throws Exception
Initializes a new instance of the SignMetadataOptions class with Metadata.
signatures - Collection of Metadata Signatures MetadataSignature.Exceptionpublic final MetadataSignOptions add(MetadataSignature metadataSignature)
Add existing MetadataSignature instance to collection.
metadataSignature - The existing MetadataSignature instance to be addedpublic final ImageMetadataSignature addImageSignature(int id, Object value) throws Exception
Creates new ImageMetadataSignature with passed arguments and adds it to collection.
id - Unique identifier Image Metadata Signature name. See references for Exif tags specifications for possible id valuesvalue - Metadata valueExceptionpublic final PdfMetadataSignature addPdfSignature(String name, Object value, String tag) throws Exception
Creates new PdfMetadataSignature with passed arguments and adds it to collection.
name - Name of Metadata signature objectvalue - Value of Metadata signaturetag - Prefix tag of Metadata signatureExceptionpublic final IDataEncryption getDataEncryption()
Gets or sets implementation of IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties.
public final MetadataSignatureCollection getSignatures()
Gets or sets the Metadata of signature.
public final void setDataEncryption(IDataEncryption value)
Gets or sets implementation of IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties.
public final void setSignatures(MetadataSignatureCollection value)
Gets or sets the Metadata of signature.
public BaseSignature signature()
signature in class SignOptionspublic String toString()
Override string conversion.
toString in class SignOptionspublic void validate()
Internal method to validate the options parameters.
validate in class SignOptionsCopyright © 2024. All rights reserved.