mirror of
https://github.com/NecroticBamboo/QRBee.git
synced 2025-12-21 12:11:53 +00:00
40 lines
995 B
C#
40 lines
995 B
C#
using System.Security.Cryptography;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
|
|
namespace QRBee.Core.Security
|
|
{
|
|
/// <summary>
|
|
/// Private key handler for API server
|
|
/// </summary>
|
|
public class PrivateKeyHandlerBase : IPrivateKeyHandler
|
|
{
|
|
|
|
protected string CommonName { get; set; }
|
|
protected string CertificatePassword { get; set; }
|
|
public bool Exists()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public string GeneratePrivateKey(string? subjectName = null)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public string CreateCertificateRequest()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void AttachCertificate(X509Certificate2 cert)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public X509Certificate2 LoadPrivateKey()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|