< Summary

Class:SharpHoundCommonLib.OutputTypes.CertificateExtension
Assembly:SharpHoundCommonLib
File(s):D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\OutputTypes\CertificateExtension.cs
Covered lines:0
Uncovered lines:7
Coverable lines:7
Total lines:17
Line coverage:0% (0 of 7)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%100%

File(s)

D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\OutputTypes\CertificateExtension.cs

#LineLine coverage
 1using System.Security.Cryptography;
 2using System.Security.Cryptography.X509Certificates;
 3
 4namespace SharpHoundCommonLib.OutputTypes
 5{
 6    public class CertificateExtension
 7    {
 08        public Oid Oid { get; set; }
 09        public bool Critical { get; set; }
 10
 011        public CertificateExtension(X509Extension extension)
 012        {
 013            Oid = new Oid(extension.Oid);
 014            Critical = extension.Critical;
 015        }
 16    }
 17}