Discuss this help topic in SecureBlackbox Forum

TElSSLPGPCertificateTypeHandler.OnKeyFind

TElSSLPGPCertificateTypeHandler     See also     


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


This event is fired when the other side of communiation has sent a key fingerprint instead of the complete OpenPGP key.

Declaration

[C#/Java]
    event TElPGPSSLKeyFindEvent OnKeyFind;
    delegate void TElPGPSSLKeyFindEvent(Object Sender, byte[] KeyFP, ref TElPGPPublicKey Key);

[VB.NET]
    Event OnKeyFind As TElPGPSSLKeyFindEvent
    Delegate Sub TElPGPSSLKeyFindEvent(ByVal Sender As Object, ByVal KeyFP As Byte(), ByRef Key As TElPGPPublicKey)

[Pascal]
    Property OnKeyFind : TElPGPSSLKeyFindEvent;
    TElPGPSSLKeyFindEvent = function(Sender: TObject; KeyFP : TSBKeyFP; var Key : TElPGPPublicKey) of object;
    TSBKeyFP = array of byte;

[C++]
    void get_OnKeyFind(TElPGPSSLKeyFindEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnKeyFind(TElPGPSSLKeyFindEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElPGPSSLKeyFindEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pKeyFP[], int32_t szKeyFP, TElPGPPublicKeyHandle &Key);

[PHP]
    TElPGPSSLKeyFindEvent|callable|NULL get_OnKeyFind()
    void set_OnKeyFind(TElPGPSSLKeyFindEvent|callable|NULL $Value)
    callable TElPGPSSLKeyFindEvent(TObject $Sender, string $KeyFP, TElPGPPublicKey &$Key)

Parameters

  • KeyFP - The fingerprint of the key
  • Key - Assign the found key to this parameter
  • pKeyFP -
  • szKeyFP - the length of pcKeyFP.

Description

    This event is fired when the other side of communication has sent a key fingerprint instead of the key itself. The application should find the corresponding key and give it to the component. If the key is not found, the handshake will fail.

See also:     OnKeyValidate    

Discuss this help topic in SecureBlackbox Forum