Discuss this help topic in SecureBlackbox Forum

TElCertificateRequest.DetectCertReqFileFormat

TElCertificateRequest     See also     


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


Detects format of the input data

Declaration

[C#/Java]
    static int DetectCertReqFileFormat(string FileName);
    static int DetectCertReqFileFormat(System.IO.Stream Stream);

[VB.NET]
    Shared Function DetectCertReqFileFormat(ByVal FileName As String) As Integer
    Shared Function DetectCertReqFileFormat(ByVal Stream As System.IO.Stream) As Integer

[Pascal]
    class function DetectCertReqFileFormat(const FileName : string) : TSBCertReqFileFormat;
    class function DetectCertReqFileFormat(Stream : TStream) : TSBCertReqFileFormat;

[C++]
    static TSBCertReqFileFormat DetectCertReqFileFormat(const std::string &FileName);
    static TSBCertReqFileFormat DetectCertReqFileFormat(TStream &Stream);
    static TSBCertReqFileFormat DetectCertReqFileFormat(TStream *Stream);

[PHP]
    integer DetectCertReqFileFormat(string $FileName)
    integer DetectCertReqFileFormat(TStream $Stream)

Parameters

  • FileName -
  • Stream -
  • Data -

Return value

    Returns the file format.

Possible values:


Description

Use this method to detect, in which format the input data is stored. The format can be binary, text (PEM) or undefined in case the data is not a Certificate Request.

Discuss this help topic in SecureBlackbox Forum