public final class PKCS7 extends Signature
Represents the PKCS#7 object that conform to the PKCS#7 specification in Internet RFC 2315, PKCS #7: Cryptographic Message Syntax, Version 1.5. The SHA1 digest of the document's byte range is encapsulated in the PKCS#7 SignedData field.
| Constructor and Description |
|---|
PKCS7()
Initializes new instance of the
PKCS7 class. |
PKCS7(InputStream pfx,
String password)
Inititalizes new instance of the
PKCS7 class. |
PKCS7(String pfx,
String password)
Initializes new instance of the
PKCS7 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 PKCS7()
Initializes new instance of the PKCS7 class.
public PKCS7(String pfx, String password)
Initializes new instance of the PKCS7 class.
pfx - Pfx file which contains certificate for signing.password - Password for certificate.public PKCS7(InputStream pfx, String password)
Inititalizes new instance of the PKCS7 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.