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