Discuss this help topic in SecureBlackbox Forum

TElCustomCertStorage.SaveToStreamPKCS7

TElCustomCertStorage     See also     


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


Saves the certificates contained in the storage to the stream in PKCS7 format.

Declaration

[C#]
    bool SaveToStreamPKCS7(System.IO.Stream Stream);

[VB.NET]
    Function SaveToStreamPKCS7(ByVal Stream As System.IO.Stream) As Boolean

[Pascal]
    function SaveToStreamPKCS7(Stream: TStream): integer;

[C++]
    bool SaveToStreamPKCS7(TStream &Stream);
    bool SaveToStreamPKCS7(TStream *Stream);

[PHP]
    bool SaveToStreamPKCS7(TStream $Stream)

[Java]
    boolean saveToStreamPKCS7(TElStream Stream);
    boolean saveToStreamPKCS7(OutputStream Stream);

Parameters

  • Stream - the stream to which the certificates are written.

Return value

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

PKCS7 Error codes

Description

    Use this method in derived classes to save currently stored certificates in PKCS7 format.

See also:     LoadFromBufferPKCS7     LoadFromStreamPKCS7     SaveToBufferPKCS7    

Discuss this help topic in SecureBlackbox Forum