EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElCertificateRevocationList.LoadFromBufferPEM

TElCertificateRevocationList     See also    


 

Loads the certificate revocation list from the memory buffer. Buffer should contain certificate revocation list in PEM format.

 
 

Declaration

[C#]
    int LoadFromBufferPEM(byte[] Buffer, string passphrase);

[VB.NET]
    function LoadFromBufferPEM(Buffer() As Byte, passphrase As String) As Integer

[Pascal]
    function LoadFromBufferPEM(Buffer: pointer; Size: integer; const Passphrase: string = '') : integer;

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Parameters

  • Buffer - the buffer from which the CRL is loaded.
  • Size - the size of the buffer from which the data is loaded.
  • PassPhrase - the pass phrase to decrypt the data. If CRL is not encrypted, set this parameter to empty string.
 
 

Return value

    0 on success.
    PEM error code otherwise.

 
 

PEM Error Codes

[.NET] [Pascal] Value Description
PEM_DECODE_RESULT_INVALID_FORMAT 7425 (0x1D01) Buffer doesn't contain a valid PEM sequence
PEM_DECODE_RESULT_INVALID_PASSPHRASE 7426 (0x1D02) A non-valid passphrase was specified
PEM_DECODE_RESULT_NOT_ENOUGH_SPACE 7427 (0x1D03) There is no enough space to write encoded/decoded data
PEM_DECODE_RESULT_UNKNOWN_CIPHER 7428 (0x1D04) The message was encrypted using unknown cipher
Declared in
[.NET] [Pascal]
Namespace: SBPEM
Assembly: SecureBlackbox
Unit: SBPEM

 
 

Description

    This method attempts to read the certificate revocation list from the provided memory location of the given size. The CRL must have been saved in PEM format.

 
 

See also:     LoadFromBuffer     LoadFromStreamPEM     SaveToBufferPEM    

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