1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-06 02:23:57 +00:00

[PM-5731] feat: implement signing

This commit is contained in:
Andreas Coroiu
2024-01-29 14:43:14 +01:00
parent 7ca9e61e93
commit 5d5d113369
8 changed files with 35 additions and 68 deletions

View File

@@ -1,6 +0,0 @@
namespace Bit.Core.Models.Domain
{
public enum CryptoEcdsaAlgorithm : byte {
P256Sha256 = 0,
}
}

View File

@@ -1,13 +0,0 @@
namespace Bit.Core.Models.Domain
{
public struct CryptoSignEcdsaOptions : ICryptoSignOptions
{
public enum DsaSignatureFormat : byte {
IeeeP1363FixedFieldConcatenation = 0,
Rfc3279DerSequence = 1
}
public CryptoEcdsaAlgorithm Algorithm { get; set; }
public DsaSignatureFormat SignatureFormat { get; set; }
}
}

View File

@@ -1,6 +0,0 @@
namespace Bit.Core.Models.Domain
{
public interface ICryptoSignOptions
{
}
}