public class ExternalSignature extends Signature
Creates a detached PKCS#7Detached signature using a X509Certificate2. It supports usb smartcards, tokens without exportable private keys.
Constructor and Description |
---|
ExternalSignature(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 certificate)
Creates a detached PKCS#7Detached signature using a X509Certificate2.
|
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 |
getCertificate()
The certificate with the private key.
|
close, getAuthority, getByteRange, getContactInfo, getCustomAppearance, getDate, getImageInternal, getLocation, getReason, getSignatureReferences, getTimestampSettings, isShowProperties, setAuthority, setContactInfo, setCustomAppearance, setDate, setImage, setImageInternal, setLocation, setReason, setShowProperties, setTimestampSettings, verify
public ExternalSignature(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 certificate)
Creates a detached PKCS#7Detached signature using a X509Certificate2. It supports usb smartcards, tokens without exportable private keys.
certificate
- The certificate with the private key