Discuss this help topic in SecureBlackbox Forum

TElCertificateRevocationListEx.SaveToStreamPEM

TElCertificateRevocationListEx     See also     


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


Writes the certificate revocation list to the stream in PEM format.

Declaration

[C#]
    int SaveToStreamPEM(System.IO.Stream Stream, TElX509Certificate Certificate, string Passphrase);

[VB.NET]
    Function SaveToStreamPEM(ByVal Stream As System.IO.Stream, ByVal Certificate As TElX509Certificate, ByVal Passphrase As String) As Integer

[Pascal]
    function SaveToStreamPEM(Stream : TStream; Certificate : TElX509Certificate; const Passphrase : string = ''): integer;

[C++]
    int32_t SaveToStreamPEM(TStream &Stream, TElX509Certificate &Certificate, const std::string &Passphrase);
    int32_t SaveToStreamPEM(TStream *Stream, TElX509Certificate *Certificate, const std::string &Passphrase);

[PHP]
    integer SaveToStreamPEM(TStream $Stream, TElX509Certificate $Certificate, string $Passphrase)

[Java]
    int saveToStreamPEM(TElStream Stream, TElX509Certificate Certificate, String Passphrase);
    int saveToStreamPEM(OutputStream Stream, TElX509Certificate Certificate, String Passphrase);

Parameters

  • Stream - The stream to which the CRL is written.
  • PassPhrase - The pass phrase to encrypt the CRL. If CRL shouldn't be encrypted, set this parameter to empty string
  • Certificate - certificate to sign the CRL

Return value

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

CRL Error codes

Description

    Use this method to write the certificate revocation list to stream. The CRL is saved in PEM format.

See also:     SaveToBufferPEM     SaveToStream    

Discuss this help topic in SecureBlackbox Forum