Show / Hide Table of Contents

Class FileBasedKeySupplier

A Session Key Supplier that gets the private key and it's pass phrase from files

Inheritance
object
FileBasedKeySupplier
Implements
ISessionKeySupplier
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Implements

ISessionKeySupplier
In this article
Back to top