using System.Text.Json.Serialization;
namespace ProtonVPN.OperatingSystems.WebAuthn;
///
/// The inputs to the hmac secret if it was created during registration.
///
/// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-hmac-secret-extension
public class HMACGetSecretInput
{
///
/// 32-byte random data.
///
[JsonPropertyName("salt1")]
public byte[] Salt1 { get; set; }
///
/// Optional additional 32-byte random data. Used when the platform wants to roll over the symmetric secret in one operation.
///
[JsonPropertyName("salt2")]
public byte[] Salt2 { get; set; }
}