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 |
---|---|
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.
|
String |
toString()
Override string conversion.
|
void |
validate()
Internal method to validate the options parameters.
|
addSignature, getAllPages, getAppearance, getExtensions, getPageNumber, getPagesSetup, setAllPages, setAppearance, setExtensions, setPageNumber, setPagesSetup
public MetadataSignOptions()
Initializes a new instance of the SignMetadataOptions class with default values.
public MetadataSignOptions(ArrayList<MetadataSignature> signatures)
Initializes a new instance of the SignMetadataOptions class with Metadata.
signatures
- Collection of Metadata Signatures MetadataSignature
.public final ImageMetadataSignature addImageSignature(int id, Object value)
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 valuepublic final PdfMetadataSignature addPdfSignature(String name, Object value, String tag)
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 signaturepublic 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 String toString()
Override string conversion.
toString
in class SignOptions
public void validate()
Internal method to validate the options parameters.
validate
in class SignOptions