private OcspReq( Asn1InputStream aIn) { try { this.req = OcspRequest.GetInstance(aIn.ReadObject()); } catch (ArgumentException e) { throw new IOException("malformed request: " + e.Message); } catch (InvalidCastException e) { throw new IOException("malformed request: " + e.Message); } }
public OcspReq( OcspRequest req) { this.req = req; }
public static OcspRequest GetInstance(Asn1TaggedObject obj, bool explicitly) { return(OcspRequest.GetInstance(Asn1Sequence.GetInstance(obj, explicitly))); }