Discuss this help topic in SecureBlackbox Forum

TElPEMProcessor.PEMDecode

TElPEMProcessor     See also     


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


Converts PEM-encoded data to its native (binary) representation

Declaration

[C#/Java]
    int PEMDecode(byte[] InBuffer, ref byte[] OutBuffer);

[VB.NET]
    Function PEMDecode(ByVal InBuffer As Byte(), ByRef OutBuffer As Byte()) As Integer

[Pascal]
    function PEMDecode(const InBuffer: ByteArray; var OutBuffer : ByteArray) : integer;
    function PDecode(InBuffer : pointer; InSize : integer; OutBuffer : pointer; var OutSize : integer; ) : integer;

[C++]
    int32_t PEMDecode(const std::vector<uint8_t> &InBuffer, std::vector<uint8_t> &OutBuffer);
    int32_t PEMDecode(void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize);

[PHP]
    integer PEMDecode(array of byte|string|NULL $InBuffer, array of byte|string &$OutBuffer)
    integer PEMDecode(TSBPointer|array of byte|string|NULL $InBuffer, integer $InSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize)

Parameters

  • InBuffer - Reference to the buffer with input data
  • InSize - Size of input data in bytes
  • OutBuffer - Reference to the buffer where output data should be stored
  • OutSize - Size of OutBuffer in bytes.

Return value

     True on success,
     False otherwise.

Description

    Use this method to convert PEM-encoded data to its native (binary) representation

See also:     PEMEncode     Header     Passphrase    

Discuss this help topic in SecureBlackbox Forum