Table of Contents

Class EndpointInfo

Namespace
chia.dotnet
Assembly
chia-dotnet.dll

Information about how to connect and authenticate with the RPC endpoint

public record EndpointInfo : IEquatable<EndpointInfo>
Inheritance
EndpointInfo
Implements
Inherited Members
Extension Methods

Remarks

Using CertPath/KeyPath vs Cert/Key are independent of each other

Properties

Cert

The loaded cert as base 64 encoded blob

public string Cert { get; init; }

Property Value

string
Information about how to connect and authenticate with the RPC endpoint

CertPath

The full file system path to the public certificate used to authenticate with the endpoint (.crt)

public string CertPath { get; init; }

Property Value

string
Information about how to connect and authenticate with the RPC endpoint

Key

The loaded key as base 64 encoded blob

public string Key { get; init; }

Property Value

string
Information about how to connect and authenticate with the RPC endpoint

KeyPath

The full file system path to the base64 encoded RSA private key to authenticate with the endpoint (.key)

public string KeyPath { get; init; }

Property Value

string
Information about how to connect and authenticate with the RPC endpoint

Uri

The Uri of the RPC endpoint

public Uri Uri { get; init; }

Property Value

Uri
Information about how to connect and authenticate with the RPC endpoint

Methods

GetCert()

public X509Certificate2Collection GetCert()

Returns

X509Certificate2Collection
Information about how to connect and authenticate with the RPC endpoint

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.