< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Certificates.RsaJwk
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Certificates/RsaJwk.cs
Tag: Kestrun/Kestrun@0d738bf294e6281b936d031e1979d928007495ff
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 70
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 11/19/2025 - 02:25:56 Line coverage: 0% (0/10) Total lines: 70 Tag: Kestrun/Kestrun@98ff905e5605a920343154665980a71211a03c6d

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Kty()100%210%
get_N()100%210%
get_E()100%210%
get_D()100%210%
get_P()100%210%
get_Q()100%210%
get_DP()100%210%
get_DQ()100%210%
get_QI()100%210%
get_Kid()100%210%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Certificates/RsaJwk.cs

#LineLine coverage
 1
 2using System.Text.Json.Serialization;
 3
 4namespace Kestrun.Certificates;
 5
 6/// <summary>
 7/// Represents an RSA JSON Web Key (JWK).
 8/// </summary>
 9public sealed class RsaJwk
 10{
 11    /// <summary>
 12    /// Key Type - should be "RSA"
 13    /// </summary>
 14    [JsonPropertyName("kty")]
 015    public string Kty { get; set; } = "RSA";
 16
 17    /// <summary>
 18    /// Modulus
 19    /// </summary>
 20    [JsonPropertyName("n")]
 021    public string? N { get; set; }
 22
 23    /// <summary>
 24    /// Exponent
 25    /// </summary>
 26    [JsonPropertyName("e")]
 027    public string? E { get; set; }
 28
 29    /// <summary>
 30    /// Private Exponent
 31    /// </summary>
 32    [JsonPropertyName("d")]
 033    public string? D { get; set; }
 34
 35    /// <summary>
 36    /// First Prime Factor
 37    /// </summary>
 38    [JsonPropertyName("p")]
 039    public string? P { get; set; }
 40
 41    /// <summary>
 42    /// Second Prime Factor
 43    /// </summary>
 44    [JsonPropertyName("q")]
 045    public string? Q { get; set; }
 46
 47    /// <summary>
 48    /// First Factor CRT Exponent
 49    /// </summary>
 50    [JsonPropertyName("dp")]
 051    public string? DP { get; set; }
 52
 53    /// <summary>
 54    /// Second Factor CRT Exponent
 55    /// </summary>
 56    [JsonPropertyName("dq")]
 057    public string? DQ { get; set; }
 58
 59    /// <summary>
 60    /// CRT Coefficient
 61    /// </summary>
 62    [JsonPropertyName("qi")]
 063    public string? QI { get; set; }
 64
 65    /// <summary>
 66    /// Key ID
 67    /// </summary>
 68    [JsonPropertyName("kid")]
 069    public string? Kid { get; set; }
 70}