Skip to main content

X509Certificate Class

NuGet: GHIElectronics.TinyCLR.Networking
Assembly: GHIElectronics.TinyCLR.Networking
Namespace: System.Security.Cryptography.X509Certificates

Represents an X.509 certificate.

public class X509Certificate

Constructors

X509Certificate(byte[] certificate)

public X509Certificate(byte[] certificate)

Initializes a new certificate from the specified raw certificate data.

Properties

PrivateKey

public byte[] PrivateKey { get; set; }

The private key associated with the certificate.

Password

public string Password { get; set; }

The password used to access the certificate's private key.

Methods

GetRawCertData()

public byte[] GetRawCertData()

Returns the raw data of the certificate.

Returns byte[]