public final class PKCS1 extends Signature
Represents signature object regarding PKCS#1 standard. RSA encryption algorithm and SHA-1 digest method are used for signing.
| Constructor and Description |
|---|
PKCS1()
Inititalizes new instance of the
PKCS1 class. |
PKCS1(InputStream image)
Initializes new instance of the
PKCS1 class. |
PKCS1(InputStream pfx,
String password)
Inititalizes new instance of the
PKCS1 class. |
PKCS1(String pfx,
String password)
Inititalizes new instance of the
PKCS1 class. |
close, getAuthority, getByteRange, getContactInfo, getCustomAppearance, getCustomSign, getCustomSignHash, getDate, getDefaultSignatureLength, getImageInternal, getLocation, getOcspSettings, getReason, getSignatureAlgorithmInfo, getSignatureReferences, getTimestampSettings, getUseLtv, isAvoidEstimatingSignatureLength, isShowProperties, setAuthority, setAvoidEstimatingSignatureLength, setContactInfo, setCustomAppearance, setCustomSign, setCustomSignHash, setDate, setDefaultSignatureLength, setImage, setImageInternal, setLocation, setOcspSettings, setReason, setShowProperties, setTimestampSettings, setUseLtv, verify, verify, verifypublic PKCS1(InputStream image)
Initializes new instance of the PKCS1 class.
image - This image will define signature appearance on the page.public PKCS1()
Inititalizes new instance of the PKCS1 class.
public PKCS1(String pfx, String password)
Inititalizes new instance of the PKCS1 class.
pfx - Pfx file which contains certificate for signing.password - Password for certificate.public PKCS1(InputStream pfx, String password)
Inititalizes new instance of the PKCS1 class.
pfx - Stream with certificate data organized as pfx.password - Password to get access to the private key in the certificate.Copyright © 2025 Aspose. All Rights Reserved.