Discuss this help topic in SecureBlackbox Forum


TElX509Certificate     See also     

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

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)


  • 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