Discuss this help topic in SecureBlackbox Forum


TElX509Certificate     See also     

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

Writes the certificate to the stream in SPC format.


    int SaveToStreamSPC(System.IO.Stream Stream);

    Function SaveToStreamSPC(ByVal Stream As System.IO.Stream) As Integer

    function SaveToStreamSPC(Stream : TStream) : integer;

    int32_t SaveToStreamSPC(TStream &Stream);
    int32_t SaveToStreamSPC(TStream *Stream);

    integer SaveToStreamSPC(TStream $Stream)

    int saveToStreamSPC(TElStream Stream);
    int saveToStreamSPC(OutputStream Stream);


  • Stream - The stream to which the certificate is written.

Return value

    0 on success.
    SPC error code otherwise.


    Use this method to write the certificate to stream. The certificate is saved in SPC (PKCS#7) format.

See also:     LoadFromStreamSPC     SaveToBufferSPC     LoadFromBuffer     SaveToStream    

Discuss this help topic in SecureBlackbox Forum