reckfellENGINE

X509Certificate

An X.509 certificate for TLS trust or server setup.

On this page
class X509CertificateReckfellSharpInherits Resource

Loads and saves certificates. Successfully loading a file does not establish a trusted chain, matching server identity or valid dates. Pass a private CA certificate to TlsOptions.Client while retaining name verification.

A trust certificate is not a private key. A client project contains the required public CA certificate; the server private key stays on the server. A asset:// path must actually be included in the target export.

Working example.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

X509CertificateConstructor
# X509Certificate
C#
public X509Certificate();

Methods4

LoadError
# Load
C#
public Error Load(string path);

Loads a certificate from a PEM file and returns Error. Successful file parsing does not establish server trust, identity or validity dates.

Parameters
NameTypeDefault
pathstring—
Returns Error
LoadFromStringError
# LoadFromString
C#
public Error LoadFromString(string @string);

Loads a certificate from the given string.

Parameters
NameTypeDefault
stringstring—
Returns Error
SaveError
# Save
C#
public Error Save(string path);

Saves a certificate to the given path (should be a "*.crt" file).

Parameters
NameTypeDefault
pathstring—
Returns Error
SaveToStringstring
# SaveToString
C#
public string SaveToString();

Returns a string representation of the certificate, or an empty string if the certificate is invalid.

Returns string
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.