Apq.Cfg.Crypto.CfgBuilderExtensions.AddRsaEncryption(thisApq.Cfg.CfgBuilder,string,System.Action_Apq.Cfg.Crypto.EncryptionOptions_).md 1.6 KB

Apq.Cfg.Crypto

Apq.Cfg.Crypto.CfgBuilderExtensions

CfgBuilderExtensions.AddRsaEncryption(this CfgBuilder, string, Action<EncryptionOptions>) Method

添加 RSA 加密支持(从 PEM 文件)

public static Apq.Cfg.CfgBuilder AddRsaEncryption(this Apq.Cfg.CfgBuilder builder, string pemFilePath, System.Action<Apq.Cfg.Crypto.EncryptionOptions>? configure=null);

Parameters

builder Apq.Cfg.CfgBuilder

pemFilePath System.String

configure System.Action<EncryptionOptions>

Returns

Apq.Cfg.CfgBuilder