Show / Hide Table of Contents

Class FileSecurePrivateKeySupplier

A file-based key provider with additional security checks. Before reading private key from a pem key file, this class checks the following: the key file to be encrypted (protected by pass phrase), the key file has minimum key length of 2048, and the encryption mode is CBC.

Inheritance
object
FilePrivateKeySupplier
FileSecurePrivateKeySupplier
Implements
ISupplier<RsaKeyParameters>
Inherited Members
FilePrivateKeySupplier.pemFilePath
FilePrivateKeySupplier.passPhrase
FilePrivateKeySupplier.key
FilePrivateKeySupplier.GetKey()
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 FileSecurePrivateKeySupplier : FilePrivateKeySupplier, ISupplier<RsaKeyParameters>

Constructors

FileSecurePrivateKeySupplier(string, SecureString)

Declaration
public FileSecurePrivateKeySupplier(string pemFilePath, SecureString passPhrase)
Parameters
Type Name Description
string pemFilePath
SecureString passPhrase

Implements

ISupplier<T>
In this article
Back to top