Discuss this help topic in SecureBlackbox Forum


TElSSLPGPCertificateTypeHandler     See also     

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

This event is fired when the component needs to validate the OpenPGP key presented by the other side.


    event TElPGPSSLKeyValidateEvent OnKeyValidate;
    delegate void TElPGPSSLKeyValidateEvent(Object Sender, TElPGPPublicKey Key, ref TSBPGPSignatureValidity Validity);

    Event OnKeyValidate As TElPGPSSLKeyValidateEvent
    Delegate Sub TElPGPSSLKeyValidateEvent(ByVal Sender As Object, ByVal Key As TElPGPPublicKey, ByRef Validity As TSBPGPSignatureValidity)

    Property OnKeyValidate : TElPGPSSLKeyValidateEvent;
    TElPGPSSLKeyValidateEvent = function(Sender: TObject; Key : TElPGPPublicKey; var Validity : TSBPGPSignatureValidity) of object;

    void get_OnKeyValidate(TElPGPSSLKeyValidateEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnKeyValidate(TElPGPSSLKeyValidateEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElPGPSSLKeyValidateEvent)(void * _ObjectData, TObjectHandle Sender, TElPGPPublicKeyHandle Key, TSBPGPSignatureValidityRaw &Validity);

    TElPGPSSLKeyValidateEvent|callable|NULL get_OnKeyValidate()
    void set_OnKeyValidate(TElPGPSSLKeyValidateEvent|callable|NULL $Value)
    callable TElPGPSSLKeyValidateEvent(TObject $Sender, TElPGPPublicKey $Key, integer &$Validity)

    TElPGPSSLKeyValidateEvent getOnKeyValidate();
    void setOnKeyValidate(TElPGPSSLKeyValidateEvent Value);
    TElPGPSSLKeyValidateEvent.Callback OnKeyValidate = new TElPGPSSLKeyValidateEvent.Callback() {
        public TSBPGPSignatureValidity TElPGPSSLKeyValidateEventCallback(TObject Sender, TElPGPPublicKey Key, TSBPGPSignatureValidity Validity) {


  • Key - The key to be validated
  • Validity - Set this parameter to the validity of the key



    This event is used to validate the OpenPGP key presented by the other side. The application must check the key and set Validity parameter of the event according to results of verification.

See also:     OnKeyFind    

Discuss this help topic in SecureBlackbox Forum