Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.GetRSAParams

TElX509Certificate     


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


Returns parameters for RSA algorithm

Declaration

[C#]
    bool GetRSAParams(ref byte[] RSAModulus, ref int RSAModulusSize, ref byte[] RSAPublicKey, ref int RSAPublicKeySize);

[VB.NET]
    Function GetRSAParams(ByRef RSAModulus As Byte(), ByRef RSAModulusSize As Integer, ByRef RSAPublicKey As Byte(), ByRef RSAPublicKeySize As Integer) As Boolean

[Pascal]
    function GetRSAParams( RSAModulus : pointer; var RSAModulusSize : integer; RSAPublicKey : pointer; var RSAPublicKeySize : integer) : boolean;

[C++]
    bool GetRSAParams(void * RSAModulus, int32_t &RSAModulusSize, void * RSAPublicKey, int32_t &RSAPublicKeySize);

[PHP]
    bool GetRSAParams(TSBPointer|array of byte|string|NULL $RSAModulus, integer &$RSAModulusSize, TSBPointer|array of byte|string|NULL $RSAPublicKey, integer &$RSAPublicKeySize)

[Java]
    boolean getRSAParams(byte[][] RSAModulus, int[] RSAModulusSize, byte[][] RSAPublicKey, int[] RSAPublicKeySize);
    TElRSAParams getRSAParams();

Parameters

  • RSAModulus - Modulus RSA parameter.
  • RSAModulusSize - the size of the buffer with Modulus RSA buffer.
  • RSAPublicKey - Public Key RSA parameter.
  • RSAPublicKeySize - the size of the buffer with Public Key RSA buffer.

Description

    Use this function to obtain parameters of RSA portion of the certificate.

Discuss this help topic in SecureBlackbox Forum