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.
Implements
ISupplier<RsaKeyParameters>
Inherited Members
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 |