Discuss this help topic in SecureBlackbox Forum

TElRSAKeyMaterial.EncodePrivateKey

TElRSAKeyMaterial     See also     


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


This topic is under development…

Declaration

[C#]
    bool EncodePrivateKey(byte[] PublicModulus, byte[] PublicExponent, byte[] PrivateExponent, ref byte[] OutBuffer, ref int OutSize);
    bool EncodePrivateKey(byte[] N, int NIndex, int NSize, byte[] E, int EIndex, int ESize, byte[] D, int DIndex, int DSize, byte[] P, int PIndex, int PSize, byte[] Q, int QIndex, int QSize, byte[] DP, int DPIndex, int DPSize, byte[] DQ, int DQIndex, int DQSize, byte[] QInv, int QInvIndex, int QInvSize, ref byte[] OutBuffer, int OutIndex, ref int OutSize);
    bool EncodePrivateKey(byte[] N, int NIndex, int NSize, byte[] E, int EIndex, int ESize, byte[] D, int DIndex, int DSize, byte[] P, int PIndex, int PSize, byte[] Q, int QIndex, int QSize, ref byte[] OutBuffer, int OutIndex, ref int OutSize);

[VB.NET]
    Function EncodePrivateKey(ByVal PublicModulus As Byte(), ByVal PublicExponent As Byte(), ByVal PrivateExponent As Byte(), ByRef OutBuffer As Byte(), ByRef OutSize As Integer) As Boolean
    Function EncodePrivateKey(ByVal N As Byte(), ByVal NIndex As Integer, ByVal NSize As Integer, ByVal E As Byte(), ByVal EIndex As Integer, ByVal ESize As Integer, ByVal D As Byte(), ByVal DIndex As Integer, ByVal DSize As Integer, ByVal P As Byte(), ByVal PIndex As Integer, ByVal PSize As Integer, ByVal Q As Byte(), ByVal QIndex As Integer, ByVal QSize As Integer, ByVal DP As Byte(), ByVal DPIndex As Integer, ByVal DPSize As Integer, ByVal DQ As Byte(), ByVal DQIndex As Integer, ByVal DQSize As Integer, ByVal QInv As Byte(), ByVal QInvIndex As Integer, ByVal QInvSize As Integer, ByRef OutBuffer As Byte(), ByVal OutIndex As Integer, ByRef OutSize As Integer) As Boolean
    Function EncodePrivateKey(ByVal N As Byte(), ByVal NIndex As Integer, ByVal NSize As Integer, ByVal E As Byte(), ByVal EIndex As Integer, ByVal ESize As Integer, ByVal D As Byte(), ByVal DIndex As Integer, ByVal DSize As Integer, ByVal P As Byte(), ByVal PIndex As Integer, ByVal PSize As Integer, ByVal Q As Byte(), ByVal QIndex As Integer, ByVal QSize As Integer, ByRef OutBuffer As Byte(), ByVal OutIndex As Integer, ByRef OutSize As Integer) As Boolean

[Pascal]
    function EncodePrivateKey(PublicModulus : pointer; PublicModulusSize : integer; PublicExponent : pointer; PublicExponentSize : integer; PrivateExponent : pointer; PrivateExponentSize : integer; OutBuffer : pointer; var OutSize : integer) : boolean;
    function EncodePrivateKey(N : pointer; NSize : integer; E : pointer; ESize : integer; D : pointer; DSize : integer; P : pointer; PSize : integer; Q : pointer; QSize : integer; DP : pointer; DPSize : integer; DQ : pointer; DQSize : integer; QInv : pointer; QInvSize : integer; OutBuffer : pointer; var OutSize : integer) : boolean;
    function EncodePrivateKey(N : pointer; NSize : integer; E : pointer; ESize : integer; D : pointer; DSize : integer; P : pointer; PSize : integer; Q : pointer; QSize : integer; OutBuffer : pointer; var OutSize : integer) : boolean;

[C++]
    bool EncodePrivateKey(void * PublicModulus, int32_t PublicModulusSize, void * PublicExponent, int32_t PublicExponentSize, void * PrivateExponent, int32_t PrivateExponentSize, void * OutBuffer, int32_t &OutSize);
    bool EncodePrivateKey(void * N, int32_t NSize, void * E, int32_t ESize, void * D, int32_t DSize, void * P, int32_t PSize, void * Q, int32_t QSize, void * DP, int32_t DPSize, void * DQ, int32_t DQSize, void * QInv, int32_t QInvSize, void * OutBuffer, int32_t &OutSize);
    bool EncodePrivateKey(void * N, int32_t NSize, void * E, int32_t ESize, void * D, int32_t DSize, void * P, int32_t PSize, void * Q, int32_t QSize, void * OutBuffer, int32_t &OutSize);

[PHP]
    bool EncodePrivateKey(TSBPointer|array of byte|string|NULL $PublicModulus, integer $PublicModulusSize, TSBPointer|array of byte|string|NULL $PublicExponent, integer $PublicExponentSize, TSBPointer|array of byte|string|NULL $PrivateExponent, integer $PrivateExponentSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize)
    bool EncodePrivateKey(TSBPointer|array of byte|string|NULL $N, integer $NSize, TSBPointer|array of byte|string|NULL $E, integer $ESize, TSBPointer|array of byte|string|NULL $D, integer $DSize, TSBPointer|array of byte|string|NULL $P, integer $PSize, TSBPointer|array of byte|string|NULL $Q, integer $QSize, TSBPointer|array of byte|string|NULL $DP, integer $DPSize, TSBPointer|array of byte|string|NULL $DQ, integer $DQSize, TSBPointer|array of byte|string|NULL $QInv, integer $QInvSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize)
    bool EncodePrivateKey(TSBPointer|array of byte|string|NULL $N, integer $NSize, TSBPointer|array of byte|string|NULL $E, integer $ESize, TSBPointer|array of byte|string|NULL $D, integer $DSize, TSBPointer|array of byte|string|NULL $P, integer $PSize, TSBPointer|array of byte|string|NULL $Q, integer $QSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize)

[Java]
    boolean encodePrivateKey(byte[] PublicModulus, byte[] PublicExponent, byte[] PrivateExponent, byte[] OutBuffer, TSBInteger OutSize);
    boolean encodePrivateKey(byte[] N, int NIndex, int NSize, byte[] E, int EIndex, int ESize, byte[] D, int DIndex, int DSize, byte[] P, int PIndex, int PSize, byte[] Q, int QIndex, int QSize, byte[] DP, int DPIndex, int DPSize, byte[] DQ, int DQIndex, int DQSize, byte[] QInv, int QInvIndex, int QInvSize, byte[] OutBuffer, int OutIndex, TSBInteger OutSize);
    boolean encodePrivateKey(byte[] N, int NIndex, int NSize, byte[] E, int EIndex, int ESize, byte[] D, int DIndex, int DSize, byte[] P, int PIndex, int PSize, byte[] Q, int QIndex, int QSize, byte[] OutBuffer, int OutIndex, TSBInteger OutSize);

Parameters

  • D -
  • DIndex -
  • DP -
  • DPIndex -
  • DPSize -
  • DQ -
  • DQIndex -
  • DQSize -
  • DSize -
  • E -
  • EIndex -
  • ESize -
  • N -
  • NIndex -
  • NSize -
  • OutBuffer -
  • OutIndex -
  • OutSize -
  • P -
  • PIndex -
  • PSize -
  • PrivateExponent -
  • PrivateExponentSize -
  • PublicExponent -
  • PublicExponentSize -
  • PublicModulus -
  • PublicModulusSize -
  • Q -
  • QIndex -
  • QInv -
  • QInvIndex -
  • QInvSize -
  • QSize -

Return value

    …

Description

    …

See also:         

Discuss this help topic in SecureBlackbox Forum