PKCS1
Overview
PKCS1 is a class in Aspose.Pdf FOSS for Java.
Inherits from: Signature.
PKCS#1 RSA signature for PDF (ISO 32000-1:2008, §12.8.3.2).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
subFilter | String | Read | |
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. |
Methods
| 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 | |
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. |