//https://tools.ietf.org/html/rfc5280#section-4.1 public X509Certificate(Asn1Sequence node) { var i = 0; var subnode = node.Nodes[i++]; Tbs = new X509TbsCertificate((Asn1Sequence)subnode); subnode = node.Nodes[i++]; SignatureAlgorithm = new X509AlgorithmIdentifier((Asn1Sequence)subnode); subnode = node.Nodes[i++]; SignatureValue = (Asn1BitString)subnode; }
public X509Certificate() { Tbs = new X509TbsCertificate(); }