Discuss this help topic in SecureBlackbox Forum


TElCustomCertStorage     See also     

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

Use this method to load multiple certificates stored in PKCS7 format from stream.


    int LoadFromStreamPKCS7(System.IO.Stream Stream, int Count);

    Function LoadFromStreamPKCS7(ByVal Stream As System.IO.Stream, ByVal Count As Integer) As Integer

    function LoadFromStreamPKCS7(Stream: TStream; Count: integer = 0): integer;

    int32_t LoadFromStreamPKCS7(TStream &Stream, int32_t Count);
    int32_t LoadFromStreamPKCS7(TStream *Stream, int32_t Count);

    integer LoadFromStreamPKCS7(TStream $Stream, integer $Count)


  • Stream - The stream from which the certificates are loaded.
  • Count - Optional parameter that specified the number of bytes to be read. If this parameter is zero, the stream is read till the end.

Return value

    0 if certificates were successfully loaded.
    PKCS7 error code otherwise.

PKCS7 Error codes


    Use this method to load certificates in PKCS#7 format from the stream.

See also:     LoadFromBufferPKCS7     SaveToBufferPKCS7     SaveToStreamPKCS7    

Discuss this help topic in SecureBlackbox Forum