private OcspResponse( Asn1Sequence seq) { responseStatus = new OcspResponseStatus( DerEnumerated.GetInstance(seq[0])); if (seq.Count == 2) { responseBytes = ResponseBytes.GetInstance( (Asn1TaggedObject)seq[1], true); } }
public OcspResponse( OcspResponseStatus responseStatus, ResponseBytes responseBytes) { if (responseStatus == null) { throw new ArgumentNullException("responseStatus"); } this.responseStatus = responseStatus; this.responseBytes = responseBytes; }