Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.KeyCorresponds

TElX509Certificate     


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


Checks whether a key corresponds to the certificate

Declaration

[C#]
    bool KeyCorresponds(byte[] KeyBuffer);

[VB.NET]
    Function KeyCorresponds(ByVal KeyBuffer As Byte()) As Boolean

[Pascal]
    function KeyCorresponds(KeyBuffer : pointer; KeySize : integer) : boolean;

[C++]
    bool KeyCorresponds(void * KeyBuffer, int32_t KeySize);

[PHP]
    bool KeyCorresponds(TSBPointer|array of byte|string|NULL $KeyBuffer, integer $KeySize)

[Java]
    boolean keyCorresponds(byte[] KeyBuffer);

Parameters

  • KeyBuffer - buffer containing the private key under question.
  • KeySize - size of the key data in bytes.

Return value

    True if the provided key corresponds to the certificate and False otherwise.

Description

    This method checks if the provided private key corresponds to the certificate.

Discuss this help topic in SecureBlackbox Forum