grijjy / GrijjyFoundation

Foundation classes used by other Grijjy repositories
Other
244 stars 86 forks source link

TgoHttpClient: Possibility to specify password for private key in PEM format #25

Open evgeny-k opened 4 years ago

evgeny-k commented 4 years ago

nowadays TgoHttpClient has

    { Certificate in PEM format }
    property Certificate: TBytes read FCertificate write FCertificate;
    { Private key in PEM format }
    property PrivateKey: TBytes read FPrivateKey write FPrivateKey;

but hasn't

    { Password for private key }
    property Password: String read GetPassword write SetPassword;

workaround: add this property to TgoHttpClient or give access to FConnection: TgoSocketConnection;