milan
Members-
Content Count
8 -
Joined
-
Last visited
Everything posted by milan
-
OverbyteIcsPemTool: Import a Windows Ceritificate Store to…
milan posted a topic in ICS - Internet Component Suite
I try code from OverbyteIcsPemTool to export certificate from 'MY' windows store: xTmp := f_d2i_X509(nil, @pCertContext.pbCertEncoded, pCertContext.cbCertEncoded); if Assigned(xTmp) then begin X.X509 := xTmp; f_X509_free(xTmp); … end; however, this does not return private key (X.PrivateKey := nil). It does some additional code? Milan -
OverbyteIcsPemTool: Import a Windows Ceritificate Store to…
milan replied to milan's topic in ICS - Internet Component Suite
But I need to communicate with a web service (REST), that requires certificate authorization. And clients often have it on a USB token or in windows store without the possibility of export. So ICS cannot be used? -
OverbyteIcsPemTool: Import a Windows Ceritificate Store to…
milan replied to milan's topic in ICS - Internet Component Suite
So they can't use certificates from USB token, that can't be exported? Uf! Milan -
OverbyteIcsPemTool: Import a Windows Ceritificate Store to…
milan replied to milan's topic in ICS - Internet Component Suite
I need to solve this in the application, because of clients that do not have a certificate file and do not want or cannot export it. I'll do it with k and then take it through the buffer. Thank you! -
TSslHttpRest.RestParams.GetParameters - JSON value "true" vs true
milan posted a topic in ICS - Internet Component Suite
The OverbyteIcsHttpRestTst.dproj sample has a grid titled REST Parameters where i enter Name - "verify" and Value - "true". I need JSON {"verify":true} but method RestParams.GetParameters return {"verify":"true"}. Parameter aRaw make nothing. -
TSslHttpRest.RestParams.GetParameters - JSON value "true" vs true
milan replied to milan's topic in ICS - Internet Component Suite
Thank you very much. In the meantime I will set HttpRest.ContentTypePost : = ''; (instead 'application/x-www-form-urlencoded' set from Create) and code in OverbyteIcsSslHttpRest.pas: line 1818 { V8.64 set Json content type if empty } if (Params <> '') and (FContentPost = '') then begin if (Params[1] = '{') or (Params[1] = '[') then FContentPost := 'application/json; charset=UTF-8'; { V8.61 added UTF8 } will come into effect. Milan -
TSslHttpRest.RestParams.GetParameters - JSON value "true" vs true
milan replied to milan's topic in ICS - Internet Component Suite
But if it does not take place function GetParams, will stay after THttpCli.Create FContentPost := 'application/x-www-form-urlencoded'; because it will not be replaced: OverbyteIcsSslHttpRest.pas: ... line 1818 { V8.64 set Json content type if empty } if (Params <> '') and (FContentPost = '') then begin if (Params[1] = '{') or (Params[1] = '[') then FContentPost := 'application/json; charset=UTF-8'; { V8.61 added UTF8 } excuse my English Milan -
TSslHttpRest.RestParams.GetParameters - JSON value "true" vs true
milan replied to milan's topic in ICS - Internet Component Suite
Thank you and at the same time please: I construct the Json manually, but where to assign in? Milan