Discuss this help topic in SecureBlackbox Forum

TElPDFDocument.OnDecryptionInfoNeeded

TElPDFDocument     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when the component needs decryption information from user.

Declaration

[C#]
    event TNotifyEvent OnDecryptionInfoNeeded;
    delegate void TNotifyEvent(Object Sender);

[VB.NET]
    Event OnDecryptionInfoNeeded As TNotifyEvent
    Delegate Sub TNotifyEvent(ByVal Sender As Object)

[Pascal]
    property OnDecryptionInfoNeeded : TNotifyEvent;
    TNotifyEvent = procedure(Sender : TObject) of object;

[C++]
    void get_OnDecryptionInfoNeeded(TNotifyEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDecryptionInfoNeeded(TNotifyEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TNotifyEvent)(void * _ObjectData, TObjectHandle Sender);

[PHP]
    TNotifyEvent|callable|NULL get_OnDecryptionInfoNeeded()
    void set_OnDecryptionInfoNeeded(TNotifyEvent|callable|NULL $Value)
    callable TNotifyEvent(TObject $Sender)

[Java]
    TNotifyEvent getOnDecryptionInfoNeeded();
    void setOnDecryptionInfoNeeded(TNotifyEvent Value);
    TNotifyEvent.Callback OnDecryptionInfoNeeded = new TNotifyEvent.Callback() {
        public void TNotifyEventCallback(TObject Sender) {
            //...
        }
    }

Description

    This event is fired by TElPDFDocument when it needs decryption information from user. Some documents, presumably created by newer software, cannot be even opened by the component without having decryption information (password or private key).

See also:     Open    

Discuss this help topic in SecureBlackbox Forum