Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.SaveToStreamSPC

TElX509Certificate     See also     


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


Writes the certificate to the stream in SPC format.

Declaration

[C#]
    int SaveToStreamSPC(System.IO.Stream Stream);

[VB.NET]
    Function SaveToStreamSPC(ByVal Stream As System.IO.Stream) As Integer

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

[C++]
    int32_t SaveToStreamSPC(TStream &Stream);
    int32_t SaveToStreamSPC(TStream *Stream);

[PHP]
    integer SaveToStreamSPC(TStream $Stream)

[Java]
    int saveToStreamSPC(TElStream Stream);
    int saveToStreamSPC(OutputStream Stream);

Parameters

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

Return value

    0 on success.
    SPC error code otherwise.

Description

    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