Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.cpp @ 2022:fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 17 Jun 2016 17:09:50 +0200 |
parents | 9c9332e486ca |
children | d108412411e5 |
comparison
equal
deleted
inserted
replaced
2021:bd143a77eb7a | 2022:fefbe71c2272 |
---|---|
1809 } | 1809 } |
1810 | 1810 |
1811 client.SetClientCertificate(certificate, key, password); | 1811 client.SetClientCertificate(certificate, key, password); |
1812 } | 1812 } |
1813 | 1813 |
1814 client.SetPkcs11Enabled(p.pkcs11); | |
1815 | |
1814 for (uint32_t i = 0; i < p.headersCount; i++) | 1816 for (uint32_t i = 0; i < p.headersCount; i++) |
1815 { | 1817 { |
1816 if (p.headersKeys[i] == NULL || | 1818 if (p.headersKeys[i] == NULL || |
1817 p.headersValues[i] == NULL) | 1819 p.headersValues[i] == NULL) |
1818 { | 1820 { |