public class PdfSignDigitalOptions extends SignDigitalOptions
Represents the Digital Signature Options for PDF Documents.
DEFAULT_PPM, imageBorderData
Constructor and Description |
---|
PdfSignDigitalOptions()
Initializes a new instance of the PdfSignDigitalOptions class with default values.
|
PdfSignDigitalOptions(FileDescription certificateFileDescription)
Deprecated.
|
PdfSignDigitalOptions(FileDescription certificateFileName,
String appearenceImageGuid)
Deprecated.
|
PdfSignDigitalOptions(InputStream certificateStream)
Initializes a new instance of the PdfSignDigitalOptions class with certificate stream.
|
PdfSignDigitalOptions(InputStream certificateStream,
InputStream appearenceImageStream)
Initializes a new instance of the PdfSignDigitalOptions class with certificate stream and image stream.
|
PdfSignDigitalOptions(InputStream certificateStream,
String appearenceImageGuid)
Initializes a new instance of the PdfSignDigitalOptions class with certificate stream and image file.
|
PdfSignDigitalOptions(String certificateGuid)
Initializes a new instance of the PdfSignDigitalOptions class with certificate file.
|
PdfSignDigitalOptions(String certificateGuid,
InputStream appearenceImageStream)
Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image stream.
|
PdfSignDigitalOptions(String certificateGuid,
String appearenceImageGuid)
Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image file.
|
Modifier and Type | Method and Description |
---|---|
String |
getContact()
Gets or sets the signature contact.
|
String |
getLocation()
Gets or sets the signature location.
|
com.aspose.pdf.PKCS1 |
getPksc1()
Gets PKCS1 object.
|
String |
getReason()
Gets or sets the reason of signature.
|
int |
getRotationAngle()
Deprecated.
|
boolean |
getVisible()
Gets or sets the visibility of signature.
|
boolean |
isCertificate()
Deprecated.
|
void |
setCertificate(boolean value)
Deprecated.
|
void |
setContact(String value)
Gets or sets the signature contact.
|
void |
setLocation(String value)
Gets or sets the signature location.
|
void |
setReason(String value)
Gets or sets the reason of signature.
|
void |
setRotationAngle(int value)
Deprecated.
|
void |
setVisible(boolean value)
Gets or sets the visibility of signature.
|
getAsposeDigitalSignature, getCertificateGuid, getCertificateStream, getDigitalCertificate, getPassword, getSignature, release, setCertificateGuid, setCertificateStream, setDigitalCertificate, setPassword, setSignature, toString
getHeight, getHorizontalAlignment, getImageBorder, getImageFileName, getImageGuid, getImageHelper, getImageStream, getImageStreamInternal, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getOpacity, getRectangle, getSignAllPages, getSignPages, getSizeMeasureType, getStream, getTop, getVerticalAlignment, getWidth, hasImage, isHorizontalAlignmentSet, isVerticalAlignmentSet, setHeight, setHorizontalAlignment, setImage, setImage, setImageFileName, setImageGuid, setImageInternal, setImageStream, setImageStreamInternal, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setOpacity, setSignAllPages, setSizeMeasureType, setTop, setVerticalAlignment, setWidth
getAppearance, getDocumentPageNumber, getDocumentPPM, getPagesSetup, getPropertyOrDefault, getPropertyOrDefault, getSignatureConfig, getSignPagesQueue, getSpecificRectangle, isRotationChanged, onError, setAppearance, setDocumentPageNumber, setPagesSetup, setRotationChanged, setSignatureConfig, setSpecificRectangle
@Deprecated public PdfSignDigitalOptions(FileDescription certificateFileDescription) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate file.
certificateFileDescription
- Digital certificate File DescriptionException
@Deprecated public PdfSignDigitalOptions(FileDescription certificateFileName, String appearenceImageGuid) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image file.
certificateFileName
- Digital certificate file descriptionappearenceImageGuid
- Signature Appearance image file GUIDException
public PdfSignDigitalOptions() throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with default values.
Exception
public PdfSignDigitalOptions(String certificateGuid) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate file.
certificateGuid
- Digital certificate file GUIDException
public PdfSignDigitalOptions(InputStream certificateStream) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate stream.
certificateStream
- Digital Certificate streamException
public PdfSignDigitalOptions(String certificateGuid, String appearenceImageGuid) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image file.
certificateGuid
- Digital certificate file GUIDappearenceImageGuid
- Signature Appearance image file GUIDException
public PdfSignDigitalOptions(String certificateGuid, InputStream appearenceImageStream) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image stream.
certificateGuid
- Digital certificate file GUIDappearenceImageStream
- Stream of Signature Appearance imageException
public PdfSignDigitalOptions(InputStream certificateStream, String appearenceImageGuid) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate stream and image file.
certificateStream
- Digital Certificate streamappearenceImageGuid
- Signature Appearance image file GUIDException
public PdfSignDigitalOptions(InputStream certificateStream, InputStream appearenceImageStream) throws Exception
Initializes a new instance of the PdfSignDigitalOptions class with certificate stream and image stream.
certificateStream
- Digital Certificate streamappearenceImageStream
- Stream of Signature Appearance imageException
@Deprecated public int getRotationAngle()
Rotation angle of signature on document page (clockwise).
getRotationAngle
in interface IRotation
getRotationAngle
in class SignImageOptions
@Deprecated public void setRotationAngle(int value)
Rotation angle of signature on document page (clockwise).
setRotationAngle
in interface IRotation
setRotationAngle
in class SignImageOptions
@Deprecated public boolean isCertificate()
Indicates if Signature is Certificate or Approval.
@Deprecated public void setCertificate(boolean value)
Indicates if Signature is Certificate or Approval.
public String getReason()
Gets or sets the reason of signature.
public void setReason(String value)
Gets or sets the reason of signature.
public String getContact()
Gets or sets the signature contact.
public void setContact(String value)
Gets or sets the signature contact.
public String getLocation()
Gets or sets the signature location.
public void setLocation(String value)
Gets or sets the signature location.
public boolean getVisible()
Gets or sets the visibility of signature.
public void setVisible(boolean value)
Gets or sets the visibility of signature.
Copyright © 2017. All rights reserved.