public WSTrustRequestSecurityTokenResponseReader(
     string negotiationType,
     XmlDictionaryReader reader,
     SecurityTokenSerializer serializer,
     SecurityTokenResolver resolver)
 {
     this.negotiation_type = negotiationType;
     this.reader           = reader;
     this.serializer       = serializer;
     this.resolver         = resolver;
     res = new WstRequestSecurityTokenResponse(serializer);
 }
 public WstRequestSecurityTokenResponseWriter(WstRequestSecurityTokenResponse res, SecurityTokenSerializer serializer)
     : base(true)
 {
     this.res        = res;
     this.serializer = serializer;
 }