mirror of
https://github.com/MAKS-IT-COM/maksit-certs-ui.git
synced 2025-12-31 12:10:03 +01:00
using corrections
This commit is contained in:
parent
75de1897d8
commit
3e08f9093c
@ -3,17 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
using System;
|
using Newtonsoft.Json;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
using System;
|
using System.Security.Cryptography;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,17 +1,4 @@
|
|||||||
using System;
|
namespace ACMEv2
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
|
||||||
{
|
{
|
||||||
public class CertificateCache
|
public class CertificateCache
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
using System;
|
using Newtonsoft.Json;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
using System;
|
using Newtonsoft.Json;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
interface IHasLocation
|
interface IHasLocation
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
* JSON Web Key (JWK)
|
* JSON Web Key (JWK)
|
||||||
* https://tools.ietf.org/html/rfc7517
|
* https://tools.ietf.org/html/rfc7517
|
||||||
* https://www.gnupg.org/documentation/manuals/gcrypt-devel/RSA-key-parameters.html
|
* https://www.gnupg.org/documentation/manuals/gcrypt-devel/RSA-key-parameters.html
|
||||||
|
* https://static.javadoc.io/com.nimbusds/nimbus-jose-jwt/2.15.2/com/nimbusds/jose/jwk/RSAKey.html
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -46,44 +47,59 @@ namespace ACMEv2
|
|||||||
public string Use { get; set; }
|
public string Use { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// RSA public modulus n.
|
/// The the modulus value for the public RSA key. It is represented as the Base64URL encoding of value's big endian representation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("n")]
|
[JsonProperty("n")]
|
||||||
public string Modulus { get; set; }
|
public string Modulus { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// RSA public exponent e.
|
/// The exponent value for the public RSA key. It is represented as the Base64URL encoding of value's big endian representation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("e")]
|
[JsonProperty("e")]
|
||||||
public string Exponent { get; set; }
|
public string Exponent { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// RSA secret exponent d = e^-1 \bmod (p-1)(q-1).
|
/// The private exponent. It is represented as the Base64URL encoding of the value's big endian representation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("d")]
|
[JsonProperty("d")]
|
||||||
public string D { get; set; }
|
public string D { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// RSA secret prime p.
|
/// The first prime factor. It is represented as the Base64URL encoding of the value's big endian representation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("p")]
|
[JsonProperty("p")]
|
||||||
public string P { get; set; }
|
public string P { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// RSA secret prime q with p < q.
|
/// The second prime factor. It is represented as the Base64URL encoding of the value's big endian representation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("q")]
|
[JsonProperty("q")]
|
||||||
public string Q { get; set; }
|
public string Q { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The first factor Chinese Remainder Theorem exponent. It is represented as the Base64URL encoding of the value's big endian representation.
|
||||||
|
/// </summary>
|
||||||
[JsonProperty("dp")]
|
[JsonProperty("dp")]
|
||||||
public string DP { get; set; }
|
public string DP { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The second factor Chinese Remainder Theorem exponent. It is represented as the Base64URL encoding of the value's big endian representation.
|
||||||
|
/// </summary>
|
||||||
[JsonProperty("dq")]
|
[JsonProperty("dq")]
|
||||||
public string DQ { get; set; }
|
public string DQ { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The first Chinese Remainder Theorem coefficient. It is represented as the Base64URL encoding of the value's big endian representation.
|
||||||
|
/// </summary>
|
||||||
[JsonProperty("qi")]
|
[JsonProperty("qi")]
|
||||||
public string InverseQ { get; set; }
|
public string InverseQ { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The other primes information, should they exist, null or an empty list if not specified.
|
||||||
|
/// </summary>
|
||||||
|
[JsonProperty("oth")]
|
||||||
|
public string OthInf { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "alg" (Algorithm) Parameter
|
/// "alg" (Algorithm) Parameter
|
||||||
/// <para>
|
/// <para>
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
using System;
|
using Newtonsoft.Json;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using Newtonsoft.Json;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
using System;
|
using Newtonsoft.Json;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
namespace ACMEv2
|
namespace ACMEv2
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,15 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
|
|
||||||
using ACMEv2;
|
using ACMEv2;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user