Discuss this help topic in SecureBlackbox Forum

TElCertificateRevocationListEx.SaveToStreamPEM

TElCertificateRevocationListEx     See also     


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


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

Declaration

[C#/Java]
    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)

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