Table of Contents

Namespace Arc4u.Security.CustomRootCA

Classes

CARootOption

Describes a custom root certificate authority. Only one of CaPem, CaFilePath and Store must be defined.

CARootOptionKeys

The names of the CARootOption registered with AddCustomRootCA in a service collection. The named options cannot otherwise be listed; the names are kept per service collection (and not in a static list) so that several hosts in the same process (for example integration tests) do not see the root CAs of each other.

CustomRootCaExtensions

Extension methods to register custom root certificate authorities (CA) that must be trusted, for example when calling a service whose certificate is signed by a private CA. Each root CA is registered as a named CARootOption, and its name is added to the CARootOptionKeys of the service collection.