EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElCertificateRequest.SaveToBufferPEM

TElCertificateRequest     See also    


 

Saves the Certificate Request to buffer in PEM format.

 
 

Declaration

[C#]
    bool SaveToBufferPEM(out byte[] Buffer);
    bool SaveToBufferPEM(ref byte[] Buffer, ref int Size);

[VB.NET]
    Function SaveToBufferPEM(ByRef Buffer As Byte()) As Boolean
    Function SaveToBufferPEM(ByRef Buffer As Byte(), ByRef Size As Integer) As Boolean

[Pascal]
    function SaveToBufferPEM(out Buffer : ByteArray) : boolean;
    function SaveToBufferPEM(var Buffer : ByteArray; var Size : integer) : boolean;

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Parameters

  • Buffer - pointer to the buffer where to put the certificate request data
  • Size - the size of the buffer to which the data is saved. When the method returns, Size parameter contains the size of the data that were saved, or, if the buffer was too small, the size of the buffer enough to hold the data.
 
 

Return value

    True on success.
    False if the buffer size is too small. In this case this method sets Size parameter to the actual size of encoded certificate.

 
 

Description

    This method saves the Certificate Request to the provided memory location of the given size. If the buffer is too small (or empty), Size parameter is set to the size which will be enough to hold the whole data. The Certificate Request is saved in PEM format.

 
 

See also:     LoadFromBufferPEM     SaveToBuffer    

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