com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ExternalSignature



  • public class ExternalSignature
    extends Signature

    Creates a detached PKCS#7Detached signature using a X509Certificate2. It supports usb smartcards, tokens without exportable private keys.

    • Constructor Detail

      • ExternalSignature

        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.

        Parameters:
        certificate - The certificate with the private key
    • Method Detail

      • getCertificate

        public final com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 getCertificate()

        The certificate with the private key.

        Returns:
        X509Certificate2 instance with the private key