EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElX509Certificate.LoadFromBufferSPC

TElX509Certificate     See also    


 

Loads the certificate from the memory buffer.

 
 

Declaration

[C#]
    int LoadFromBufferSPC([in] byte[] Buffer);

[VB.NET]
    Function LoadFromBufferSPC(ByVal Buffer As Byte()) As Integer

[Pascal]
    function LoadFromBufferSPC(Buffer : pointer; Size : integer) : integer;

[VB6]
    Sub IElCertificateX.LoadFromBufferSPC(Buffer As Byte())

[ActiveX]
    HRESULT _stdcall IElCertificateX.LoadFromBufferSPC([in] VARIANT Buffer);

[DLL]
    not implemented;
 
 

Parameters

  • Buffer - the buffer from which the certificate is loaded.
  • Size - the size of the buffer from which the data is loaded.
 
 

Return value

    0 on success.
    SPC error code otherwise.

 
 

SPC Error Codes

[.NET] [Pascal] Value Description
SB_X509_ERROR_BUFFER_TOO_SMALL 20487 (0x5007) Buffer is to small.
Declared in
[.NET] [Pascal]
Namespace: SBX509
Assembly: SecureBlackbox
Unit: SBX509

 
 

Description

    This method attempts to read the certificate from the provided memory location of the given size. The certificate must have been saved in SPC (PKCS#7) format.

 
 

See also:     LoadKeyFromBufferPVK     LoadFromBuffer     LoadFromBufferPFX     LoadFromStream     SaveToBuffer    

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