EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPGPWriter.OnKeyPassphrase

TElPGPWriter     See also    


 

This event is fired when the password for user's key must be asked.

 
 

Declaration

[C#]
    event TSBPGPKeyPassphraseEvent OnKeyPassphrase;
    delegate void TSBPGPKeyPassphraseEvent(object Sender, TElPGPCustomSecretKey Key, ref string Passphrase, ref bool Cancel)

[VB.NET]
    Event OnKeyPassphrase As TSBPGPKeyPassphraseEvent
    Delegate Sub TSBPGPKeyPassphraseEvent(ByVal Sender As Object, ByVal Key As TElPGPCustomSecretKey, ByRef Passphrase As String, ByRef Cancel As Boolean)

[Pascal]
    property OnKeyPassphrase : TSBPGPKeyPassphraseEvent;
    TSBPGPKeyPassphraseEvent = procedure(Sender: TObject; Key : TElPGPCustomSecretKey; var Passphrase: string; var Cancel: boolean) of object;

[VB6]
    Event IElPGPWriterXEvents.OnKeyPassphrase( ByVal Key As IElPGPCustomSecretKeyX, ByVal Passphrase As String, ByRef Cancel As Boolean )

[ActiveX]
    void IElPGPWriterXEvents.OnKeyPassphrase( [in] IElPGPCustomSecretKeyX * Key, [in, out] BSTR * Passphrase, [in, out] VARIANT_BOOL * Cancel);

[DLL]
    not implemented;
 
 

Parameters

  • Key - key which needs password.
  • Passphrase - password.
  • Cancel - setting the parameter to True stops requesting the password even if the user has not entered correct password.
 
 

Description

    This event is fired when the password must be specified for a key. The event is fired until correct password is entered or Cancel parameter is set to True.

 
 

See also:     EncryptionType    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation