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 [method StreamPeerSSL.accept_stream] (along with the proper [CryptoKey]), and to specify the only certificate that should be accepted when connecting to an SSL server via [method StreamPeerSSL.connect_to_stream].
</description>
<tutorials>
</tutorials>
<methods>
<methodname="load">
<returntype="int"enum="Error"/>
<argumentindex="0"name="path"type="String"/>
<description>
Loads a certificate from [code]path[/code] ("*.crt" file).
</description>
</method>
<methodname="save">
<returntype="int"enum="Error"/>
<argumentindex="0"name="path"type="String"/>
<description>
Saves a certificate to the given [code]path[/code] (should be a "*.crt" file).