Gets the PEM string for a particular certificate.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static string GetCertificatePEM(
	X509Certificate2 certificate
)
Visual Basic
Public Shared Function GetCertificatePEM ( _
	certificate As X509Certificate2 _
) As String
Visual C++
public:
static String^ GetCertificatePEM(
	X509Certificate2^ certificate
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
The certificate to obtain the PEM string from.

Return Value

The PEM string of the certificate.

See Also