private BasicOcspResponse(Asn1Sequence seq) { tbsResponseData = ResponseData.GetInstance(seq[0]); signatureAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]); signature = (DerBitString)seq[2]; if (seq.Count > 3) { certs = Asn1Sequence.GetInstance((Asn1TaggedObject)seq[3], explicitly: true); } }
public static ResponseData GetInstance(Asn1TaggedObject obj, bool explicitly) { return(ResponseData.GetInstance(Asn1Sequence.GetInstance(obj, explicitly))); }