EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElX509Certificate.RSAParams

TElX509Certificate    


 

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;

[VB6]
    Property IElCertificateX.RSAParams As IElRSAParamsX

[ActiveX]
    HRESULT _stdcall IElCertificateX.RSAParams([out, retval] IUnknown ** Value);

[DLL]
    __stdcall BOOL SBX509GetRSAParams(HANDLE handle, void* pRSAModulus, int* nRSAModulusSize, void* pRSAPublicKey, int* nRSAPublicKeySize);
 
 

Parameters

  • [DLL]handle - handle to the TElX509Certificate object that was returned by Constructor
  • RSAModulus (pRSAModulus) - Modulus RSA parameter. [ActiveX] Buffer should contain a one-dimensional zero-based safe array with elements of type unsigned char (byte).
  • RSAModulusSize (nRSAModulusSize) - the size of the buffer with Modulus RSA buffer.
  • RSAPublicKey (pRSAPublicKey) - Public Key RSA parameter. [ActiveX] Buffer should contain a one-dimensional zero-based safe array with elements of type unsigned char (byte).
  • RSAPublicKeySize (nRSAPublicKeySize) - the size of the buffer with Public Key RSA buffer.
  • [ActiveX]Value - An instance of the IEnumVARIANT interface used to obtain the parameters. The enumeration contains 4 VARIANT values. Each of this parameter is a one-dimensional zero-based safe array with elements of type unsigned char (byte).
 
 

Description

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

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation