[]
Use this interface to read signature metadata returned by ISignature.getDetails(), including the signature image or text, certificate information, and the values shown in the Signature Details and Additional Information dialogs. This interface exposes the persisted signature data without allowing it to be modified.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String signatureText = details.getSignatureText();
X509Certificate certificate = details.getSignatureCertificate();
byte[]getCity()intintintbyte[]intUse this method to read the persisted signature image bytes from the signature metadata returned by ISignature.getDetails(). The returned value represents the image that was used when signing the document and may be null if the signature does not contain an image.
workbook.open(getSignedImageWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
byte[] signatureImage = details.getSignatureImage();
null if the signature does not contain an image.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String signatureText = details.getSignatureText();
Use this method to read the public certificate stored in the signature metadata returned by ISignature.getDetails(). The returned certificate does not include the private key material.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
X509Certificate certificate = details.getSignatureCertificate();
null if the signature details do not contain certificate information.This value is part of the signature metadata exposed by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String address1 = details.getAddress1();
null if this field is not stored in the signature details.Use this method to read the second address line stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String address2 = details.getAddress2();
Use this method to read the application version stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String applicationVersion = details.getApplicationVersion();
Returns the city value stored in the signature details.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String city = details.getCity();
Use this method to read the signer role stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String claimedRole = details.getClaimedRole();
null if this field is not stored in the signature details.This value is part of the signature details metadata shown in the additional information dialog for a digital signature.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
int colorDepth = details.getColorDepth();
This value corresponds to the commitment type qualifier stored in the signature details.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String commitmentTypeQualifier = details.getCommitmentTypeQualifier();
Use this method to read the country name stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String countryName = details.getCountryName();
null if this field is not stored in the signature details.Use this method to read the commitment type description stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String commitmentTypeDescription = details.getCommitmentTypeDescription();
Use this method to read the horizontal display resolution stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
int horizontalResolution = details.getHorizontalResolution();
Use this method to read the number of monitors recorded in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
int monitors = details.getMonitors();
Use this method to read the Office version stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String officeVersion = details.getOfficeVersion();
Use this method to read the postal code stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String postalCode = details.getPostalCode();
null if this field is not stored in the signature details.Use this method to read the signature comments stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String signatureComments = details.getSignatureComments();
null if this field is not stored in the signature details.Use this method to read the state or province stored in the signature metadata returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String stateOrProvince = details.getStateOrProvince();
null if this field is not stored in the signature details.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
int verticalResolution = details.getVerticalResolution();
Use this method to read the Windows version metadata stored in the signature details returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String windowsVersion = details.getWindowsVersion();
null if this field is not stored in the signature details.Use this method to read the digest algorithm name stored with the certificate checksum in the signature details returned by ISignature.getDetails().
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String certificateDigestMethod = details.getCertificateDigestMethod();
Use this method to read the certificate checksum bytes stored in the signature details returned by ISignature.getDetails(). Use getCertificateDigestMethod() to determine the digest algorithm associated with this checksum.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
byte[] certificateDigestValue = details.getCertificateDigestValue();
Returns the issuer name from the certificate associated with this signature's read-only details.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String issuerName = details.getCertificateIssuerName();
This method returns the serial number from the certificate associated with the signature details.
workbook.open(getSignedWorkbookStream());
ISignature signature = workbook.getSignatures().get(0);
IReadOnlySignatureDetails details = signature.getDetails();
String certificateSerialNumber = details.getCertificateSerialNumber();