Discuss this help topic in SecureBlackbox Forum

TElCertificateRequest.LoadFromBuffer

TElCertificateRequest     See also     


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


This method loads Certificate Request from buffer. The buffer should contain certificate request data in PKCS#10 format.

Declaration

[C#]
    void LoadFromBuffer(byte[] Buffer);

[VB.NET]
    Sub LoadFromBuffer(ByVal Buffer As Byte())

[Pascal]
    procedure LoadFromBuffer( Buffer : pointer; Size : integer);

[C++]
    void LoadFromBuffer(void * Buffer, int32_t Size);

[PHP]
    void LoadFromBuffer(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)

[Java]
    void loadFromBuffer(byte[] Buffer);

Parameters

  • Buffer - pointer to buffer with certificate request data
  • Size - the length of certificate request data in bytes

Description

    Use this method to load Certificate Request. In case when buffer contains non-valid PKCS10 data, the EElCertificateRequestException is raised.

    Note, that this method doesn't check signature validity. You should call the ValidateSignature method to perform validation.

See also:     ValidateSignature     SaveToBuffer    

Discuss this help topic in SecureBlackbox Forum