Click or drag to resize

ExtensionMethodsGetAsPemString Method

Get serialized public certificate in base64 format

Namespace: SanteDB.Core
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public static string GetAsPemString(
	this X509Certificate2 certificate
)

Parameters

certificate  X509Certificate2

[Missing <param name="certificate"/> documentation for "M:SanteDB.Core.ExtensionMethods.GetAsPemString(System.Security.Cryptography.X509Certificates.X509Certificate2)"]

Return Value

String

[Missing <returns> documentation for "M:SanteDB.Core.ExtensionMethods.GetAsPemString(System.Security.Cryptography.X509Certificates.X509Certificate2)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type X509Certificate2. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also