public interface IDigitalSignatureCollection extends IGenericCollection<IDigitalSignature>
Represents a collection of digital signatures attached to a document.
Modifier and Type | Method and Description |
---|---|
void |
add(IDigitalSignature digitalSignature)
Adds the signature at the end of collection.
|
void |
clear()
Removes all signatures from collection.
|
IDigitalSignature |
get_Item(int index)
Returns the signature by index.
|
void |
removeAt(int index)
Removes the signature at the specified index.
|
iteratorJava
iterator
IDigitalSignature get_Item(int index)
Returns the signature by index.
void add(IDigitalSignature digitalSignature)
Adds the signature at the end of collection.
Presentation pres = new Presentation(); try { DigitalSignature signature = new DigitalSignature("testsignature1.pfx", "testpass1"); signature.setComments("Aspose.Slides digital signing test."); pres.getDigitalSignatures().add(signature); pres.save("SomePresentationSigned.pptx", SaveFormat.Pptx); } finally { if (pres != null) pres.dispose(); }
digitalSignature
- Signature to add.void removeAt(int index)
Removes the signature at the specified index.
index
- Index of the signature that should be deleted.void clear()
Removes all signatures from collection.