An X509 certificate (e.g. for SSL).
    public class X509Certificate : Resource

The X509Certificate class represents an X509 certificate. Certificates can be loaded and saved like any other Resource.

They can be used as the server certificate in StreamPeerSSL.AcceptStream(Godot.StreamPeer, Godot.CryptoKey, Godot.X509Certificate, Godot.X509Certificate) (along with the proper CryptoKey), and to specify the only certificate that should be accepted when connecting to an SSL server via StreamPeerSSL.ConnectToStream(Godot.StreamPeer, bool, string, Godot.X509Certificate).

Inheritance Chain

Constructors

    public X509Certificate()

Methods

    public Error Load(string path)

Loads a certificate from path (“*.crt” file).

    public Error Save(string path)

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

Tags: