Signature
Vue de l’ensemble
‘Signature’ est une classe dans Aspose.PDF FOSS pour Java.
Classes de base abstraites pour les types de signature numérique PDF (ISO 32000-1:2008, §12.8).
Cette classe fournit 16 méthodes pour travailler avec les objets de signature dans les programmes Java. Les méthodologies disponibles comprennent: ‘getCertificate’, ‘getCerttificatChain’, getContacteInfo', ‘getAppearance’, 'GetDate’, ‘GetaLocation’, ’getName’, getaPrivateKey’, ‚getReason’,‘getSubFilter’, ‘‘setContactInFO`, ‘setTestApearances’ et 4 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘certificates’, ’certifierChaine’, ‘’contactinfo’,‘‘customer’ , ‘date’, et plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
privateKey | PrivateKey | Read | Returns the private key from the loaded KeyStore. |
certificate | X509Certificate | Read | Returns the signer’s X.509 certificate from the loaded KeyStore. |
certificateChain | X509Certificate[] | Read | Returns the certificate chain from the loaded KeyStore. |
subFilter | String | Read | Returns the PDF sub-filter name for this signature type. |
reason | String | Read | Returns the signing reason. |
location | String | Read | Returns the signing location. |
contactInfo | String | Read | Returns the contact info. |
name | String | Read | Returns the signer name override. |
date | Date | Read | Returns the signing date. |
customAppearance | SignatureCustomAppearance | Read | Returns the custom appearance settings for the signature. |
méthodes
| Signature | Description |
|---|---|
getPrivateKey() → PrivateKey | Returns the private key from the loaded KeyStore. |
getCertificate() → X509Certificate | Returns the signer’s X.509 certificate from the loaded KeyStore. |
getCertificateChain() → X509Certificate[] | Returns the certificate chain from the loaded KeyStore. |
getSubFilter() → String | Returns the PDF sub-filter name for this signature type. |
getReason() → String | Returns the signing reason. |
setReason(reason: String) | Sets the signing reason. |
getLocation() → String | Returns the signing location. |
setLocation(location: String) | Sets the signing location. |
getContactInfo() → String | Returns the contact info. |
setContactInfo(contactInfo: String) | Sets the contact info. |
getName() → String | Returns the signer name override. |
setName(name: String) | Sets the signer name override. |
getDate() → Date | Returns the signing date. |
setDate(date: Date) | Sets the signing date. |
getCustomAppearance() → SignatureCustomAppearance | Returns the custom appearance settings for the signature. |
setCustomAppearance(appearance: SignatureCustomAppearance) | Sets the custom appearance settings for the signature. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise