public abstract class SignDigitalOptions extends SignImageOptions
Represents the Digital Signature Options.
DEFAULT_PPM, imageBorderData
Constructor and Description |
---|
SignDigitalOptions()
Initializes a new instance of the SignDigitalOptions class with default values.
|
SignDigitalOptions(InputStream certificateStream)
Initializes a new instance of the SignDigitalOptions class with certificate stream.
|
SignDigitalOptions(InputStream certificateStream,
InputStream appearenceImageStream)
Initializes a new instance of the SignDigitalOptions class with certificate stream and image stream.
|
SignDigitalOptions(InputStream certificateStream,
String appearenceImageGuid)
Initializes a new instance of the SignDigitalOptions class with certificate stream and image file.
|
SignDigitalOptions(String certificateGuid)
Initializes a new instance of the SignDigitalOptions class with certificate file.
|
SignDigitalOptions(String certificateGuid,
InputStream appearenceImageStream)
Initializes a new instance of the SignDigitalOptions class with certificate file and image stream.
|
SignDigitalOptions(String certificateGuid,
String appearenceImageGuid)
Initializes a new instance of the SignDigitalOptions class with certificate file and image file.
|
Modifier and Type | Method and Description |
---|---|
com.aspose.cells.DigitalSignature |
getAsposeDigitalSignature()
Gets ASPOSE cells DigitalSignature.
|
String |
getCertificateGuid()
Gets or sets the digital certificate file GUID.
|
InputStream |
getCertificateStream()
Gets or sets digital certificate stream.
|
FileDescription |
getDigitalCertificate()
Deprecated.
|
String |
getPassword()
Gets or sets the password of digital certificate.
|
DigitalSignature |
getSignature()
Gets or sets properties of document digital signature.
|
void |
release()
Override method to clean up resources after each signing.
|
void |
setCertificateGuid(String value)
Gets or sets the digital certificate file GUID.
|
void |
setCertificateStream(InputStream value)
Gets or sets digital certificate stream.
|
void |
setDigitalCertificate(FileDescription value)
Deprecated.
|
void |
setPassword(String value)
Gets or sets the password of digital certificate.
|
void |
setSignature(DigitalSignature value)
Gets or sets properties of document digital signature.
|
String |
toString()
Override string conversion.
|
getHeight, getHorizontalAlignment, getImageBorder, getImageFileName, getImageGuid, getImageStream, getImageStreamInternal, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getOpacity, getRectangle, getRotationAngle, getSignAllPages, getSignPages, getSizeMeasureType, getStream, getTop, getVerticalAlignment, getWidth, hasImage, isHorizontalAlignmentSet, isVerticalAlignmentSet, setHeight, setHorizontalAlignment, setImage, setImage, setImageFileName, setImageGuid, setImageInternal, setImageStream, setImageStreamInternal, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setOpacity, setRotationAngle, setSignAllPages, setSizeMeasureType, setTop, setVerticalAlignment, setWidth
getAppearance, getDocumentPageNumber, getDocumentPPM, getPagesSetup, getPropertyOrDefault, getPropertyOrDefault, getSignatureConfig, getSignPagesQueue, isRotationChanged, onError, setAppearance, setDocumentPageNumber, setPagesSetup, setRotationChanged, setSignatureConfig
public SignDigitalOptions() throws Exception
Initializes a new instance of the SignDigitalOptions class with default values.
Exception
public SignDigitalOptions(String certificateGuid) throws Exception
Initializes a new instance of the SignDigitalOptions class with certificate file.
certificateGuid
- Digital certificate file GUIDException
public SignDigitalOptions(InputStream certificateStream) throws Exception
Initializes a new instance of the SignDigitalOptions class with certificate stream.
certificateStream
- Digital Certificate streamException
public SignDigitalOptions(String certificateGuid, String appearenceImageGuid) throws Exception
Initializes a new instance of the SignDigitalOptions class with certificate file and image file.
certificateGuid
- Digital certificate file GUIDappearenceImageGuid
- Signature Appearance image file GUIDException
public SignDigitalOptions(String certificateGuid, InputStream appearenceImageStream) throws Exception
Initializes a new instance of the SignDigitalOptions class with certificate file and image stream.
certificateGuid
- Digital certificate file GUIDappearenceImageStream
- Signature Appearance image streamException
public SignDigitalOptions(InputStream certificateStream, String appearenceImageGuid) throws Exception
Initializes a new instance of the SignDigitalOptions class with certificate stream and image file.
certificateStream
- Digital Certificate streamappearenceImageGuid
- Signature Appearance image file GUIDException
public SignDigitalOptions(InputStream certificateStream, InputStream appearenceImageStream) throws Exception
Initializes a new instance of the SignDigitalOptions class with certificate stream and image stream.
certificateStream
- Digital Certificate streamappearenceImageStream
- Signature Appearance image streamException
public String getPassword()
Gets or sets the password of digital certificate.
public void setPassword(String value)
Gets or sets the password of digital certificate.
public DigitalSignature getSignature()
Gets or sets properties of document digital signature.
public void setSignature(DigitalSignature value)
Gets or sets properties of document digital signature.
public String getCertificateGuid()
Gets or sets the digital certificate file GUID. This property is used only if CertificateStream is not specified.
public void setCertificateGuid(String value)
Gets or sets the digital certificate file GUID. This property is used only if CertificateStream is not specified.
public InputStream getCertificateStream()
Gets or sets digital certificate stream. If this property is specified it is always used instead CertificateGuid.
public void setCertificateStream(InputStream value)
Gets or sets digital certificate stream. If this property is specified it is always used instead CertificateGuid.
@Deprecated public FileDescription getDigitalCertificate()
Gets or sets the description of digital certificate.
@Deprecated public void setDigitalCertificate(FileDescription value)
Gets or sets the description of digital certificate.
public com.aspose.cells.DigitalSignature getAsposeDigitalSignature() throws Exception
Gets ASPOSE cells DigitalSignature.
Exception
public void release()
Override method to clean up resources after each signing.
release
in class SignImageOptions
public String toString()
Override string conversion.
toString
in class SignImageOptions
Copyright © 2017. All rights reserved.