Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.IsKeyValid

TElX509Certificate     


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


Verifies whether the private key is valid.

Declaration

[C#]
    bool IsKeyValid();

[VB.NET]
    Function IsKeyValid() As Boolean

[Pascal]
    function IsKeyValid : boolean;

[C++]
    bool IsKeyValid();

[PHP]
    bool IsKeyValid()

[Java]
    boolean 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