Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.IsKeyValid

TElX509Certificate     


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


Verifies whether the private key is valid.

Declaration

[C#/Java]
    bool IsKeyValid();

[VB.NET]
    Function IsKeyValid() As Boolean

[Pascal]
    function IsKeyValid : boolean;

[C++]
    bool IsKeyValid();

[PHP]
    bool IsKeyValid()

Return value

    True if private key is valid.
    False otherwise.

Description

    Use this method to verify whether the private key is valid, for example whether the private key corresponds to the public key included to the certificate. Key integrity is also checked for RSA keys.

Discuss this help topic in SecureBlackbox Forum