com.aspose.cells.DigitalSignature.html Maven / Gradle / Ivy
DigitalSignature
com.aspose.cells
Class DigitalSignature
java.lang.Object
com.aspose.cells.DigitalSignature
public class DigitalSignature
- extends java.lang.Object
Property Getters/Setters Summary | ||
---|---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 | getCertificate() | |
Certificate object that was used to sign the document. | ||
java.lang.String | getComments() | |
void | setComments(java.lang.String) | |
The purpose to signature. | ||
java.util.UUID | getId() | |
void | setId(java.util.UUID) | |
Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid. | ||
byte[] | getImage() | |
void | setImage(byte[]) | |
Specifies an image for the digital signature. Default value is null. | ||
boolean | isValid() | |
If this digital signature is valid and the document has not been tampered with, this value will be true. | ||
java.util.UUID | getProviderId() | |
void | setProviderId(java.util.UUID) | |
Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid. | ||
com.aspose.cells.DateTime | getSignTime() | |
void | setSignTime(com.aspose.cells.DateTime) | |
The time when the document was signed. | ||
java.lang.String | getText() | |
void | setText(java.lang.String) | |
Specifies the text of actual signature in the digital signature. Default value is Empty. | ||
int | getXAdESType() | |
void | setXAdESType(int) | |
XAdES type. Default value is None(XAdES is off). The value of the property is XAdESType integer constant. |
Property Getters/Setters Detail |
---|
getCertificate | |
public System.Security.Cryptography.X509Certificates.X509Certificate2 getCertificate() |
Certificate object that was used to sign the document.
getComments/setComments | |
public java.lang.String getComments() / public void setComments(java.lang.String value) |
The purpose to signature.
getSignTime/setSignTime | |
public com.aspose.cells.DateTime getSignTime() / public void setSignTime(com.aspose.cells.DateTime value) |
The time when the document was signed.
getId/setId | |
public java.util.UUID getId() / public void setId(java.util.UUID value) |
Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid. When set, it associates SignatureLine with correspondingDigitalSignature .
getText/setText | |
public java.lang.String getText() / public void setText(java.lang.String value) |
Specifies the text of actual signature in the digital signature. Default value is Empty.
getImage/setImage | |
public byte[] getImage() / public void setImage(byte[] value) |
Specifies an image for the digital signature. Default value is null.
getProviderId/setProviderId | |
public java.util.UUID getProviderId() / public void setProviderId(java.util.UUID value) |
Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid. The cryptographic service provider (CSP) is an independent software module that actually performs cryptography algorithms for authentication, encoding, and encryption. Microsoft Office reserves the value of {00000000-0000-0000-0000-000000000000} for its default signature provider, and {000CD6A4-0000-0000-C000-000000000046} for its East Asian signature provider. The GUID of the additionally installed provider should be obtained from the documentation shipped with the provider.
isValid | |
public boolean isValid() |
If this digital signature is valid and the document has not been tampered with, this value will be true.
getXAdESType/setXAdESType | |
public int getXAdESType() / public void setXAdESType(int value) |
XAdES type. Default value is None(XAdES is off). The value of the property is XAdESType integer constant.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.