Pc1
Vue de l’ensemble
‘PKCS1’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Signature.
PKCS#1 RSA signature pour PDF (ISO 32000-1:2008, §12.8.3.2).
Cette classe fournit 18 méthodes pour travailler avec des objets PKCS1 dans les programmes Java. Les méthodologies disponibles comprennent: ‘PKCS1, ‘getCertificate’, ‘getCerttificatChain’, getContactInfo', ‘getAppearance’, 'GetDate’, ‘GETLocation’, ’getName’, getsPrivateKey’, ‚getReason’, ‘‘getSubFilter’, ‘’setContactINFOet 5 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‘, 'contactInform', «customer'Aarances,date` locations, 4’ et plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
subFilter | String | Read | Gets the sub filter. |
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. |
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 |
|---|---|
PKCS1(pfxPath: String, password: String) | Creates a PKCS#1 RSA signature from a PFX/P12 file. |
PKCS1(pfxStream: InputStream, password: String) | Creates a PKCS#1 RSA signature from a PFX/P12 stream. |
getSubFilter() → String | Returns the sub filter. |
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. |
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