com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class PKCS1



  • 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 Detail

      • PKCS1

        public PKCS1(InputStream image)

        Initializes new instance of the PKCS1 class.

        Parameters:
        image - This image will define signature appearance on the page.
      • PKCS1

        public PKCS1()

        Inititalizes new instance of the PKCS1 class.

      • PKCS1

        public PKCS1(String pfx,
             String password)

        Inititalizes new instance of the PKCS1 class.

        Parameters:
        pfx - Pfx file which contains certificate for signing.
        password - Password for certificate.
      • PKCS1

        public PKCS1(InputStream pfx,
             String password)

        Inititalizes new instance of the PKCS1 class.

        Parameters:
        pfx - Stream with certificate data organized as pfx.
        password - Password to get access to the private key in the certificate.