Table of Contents

Class PemCertificateProvider

Namespace
Steeltoe.Common.Security
Assembly
Steeltoe.Common.Security.dll
public class PemCertificateProvider : ConfigurationProvider, IConfigurationProvider
Inheritance
PemCertificateProvider
Implements
Inherited Members

Constructors

PemCertificateProvider(IConfigurationRoot, IConfigurationRoot)

public PemCertificateProvider(IConfigurationRoot certFileProvider, IConfigurationRoot keyFileProvider)

Parameters

certFileProvider IConfigurationRoot
keyFileProvider IConfigurationRoot

Methods

Load()

Loads (or reloads) the data for this provider.

public override void Load()

TryGet(string, out string)

Attempts to find a value with the given key, returns true if one is found, false otherwise.

public override bool TryGet(string key, out string value)

Parameters

key string

The key to lookup.

value string

The value found at key if one is found.

Returns

bool

True if key has a value, false otherwise.