mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-21 00:56:28 +08:00
5cbffcfe77
- integrate 'LoadPrivateKey' in the interface to allow to implement cert stores which require a passcode to load/store certificates Change of behavior: - Introduce a 'NoPrivateKeys' flag to reduce the risk of leaking a private key to a unsecure store. - CertificateStoreIdentifier opens 'NoPrivateKey' stores - CertificateTrustList opens 'NoPrivateKey' stores - CertificateIdentifier opens store with private keys for application or GDS authority certificates - CertificateTrustList reuses a store if it is not disposed. A user can just close the store to keep the list of certificates in memory. - DirectoryStore `Load` does not read private keys anymore, only file names for delete. Reading all private keys caused false errors, e.g. here: #1670 Co-authored-by: mheege-abb <marcus.heege@de.abb.com> Co-authored-by: mheege-abb <85437567+mheege-abb@users.noreply.github.com>