brutal/Brutal.RakNet/Generated/Classes/PublicKey.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

21 lines
773 B
C#

using System;
using System.Runtime.InteropServices;
namespace Brutal.RakNetApi
{
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct PublicKey
{
/// <summary>How to interpret the public key, see above</summary>
public PublicKeyMode PublicKeyMode;
/// <summary>Pointer to a public key of length cat::EasyHandshake::PUBLIC_KEY_BYTES. See the Encryption sample.</summary>
public byte* RemoteServerPublicKey;
/// <summary>(Optional) Pointer to a public key of length cat::EasyHandshake::PUBLIC_KEY_BYTES</summary>
public byte* MyPublicKey;
/// <summary>(Optional) Pointer to a private key of length cat::EasyHandshake::PRIVATE_KEY_BYTES</summary>
public byte* MyPrivateKey;
}
}