Class FileBasedKeySupplier
A Session Key Supplier that gets the private key and it's pass phrase from files
Implements
Inherited Members
Namespace: Oci.Common.Auth
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class FileBasedKeySupplier : ISessionKeySupplier
Constructors
FileBasedKeySupplier(string, string)
Declaration
public FileBasedKeySupplier(string privateKeyPath, string passphrasePath)
Parameters
Type | Name | Description |
---|---|---|
string | privateKeyPath | |
string | passphrasePath |
Methods
GetKeyPair()
Returns the current RSA key pair.
Declaration
public AsymmetricCipherKeyPair GetKeyPair()
Returns
Type | Description |
---|---|
AsymmetricCipherKeyPair | The RSA key pair. |
RefreshKeys()
Refresh the Keys of the File Based Key Supplier
Declaration
public void RefreshKeys()
Exceptions
Type | Condition |
---|---|
ArgumentNullException |