Interface SecurityLockPKIInterface

  • All Superinterfaces:
    SecurityLock

    public interface SecurityLockPKIInterface
    extends SecurityLock
    This is a Security Lock factory that can be used to instantiate different varieties of the password-based Security Locks.

    Note: When the abstract methods declared in this class are implemented by the user, they will be contained in the objects that newInstance() methods return.

    • Method Detail

      • buildRecipients

        byte[] buildRecipients​(java.lang.String filterName,
                               Identities recipients,
                               boolean inCrypt,
                               java.util.Map encryptParams)
                        throws PDFSecurityException

        Builds the recipients, which has the encrypted enveloped data packet. This enveloped data packet is encrypted using the identities and encrypt parameters. Returns encrypted enveloped data packet, which contains all the information like algorithms used and encrypted data.

        Parameters:
        filterName -
        recipients -
        inCrypt -
        encryptParams -
        Returns:
        byte[]
        Throws:
        PDFSecurityException