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

Apq.Cfg.Crypto

Apq.Cfg.Crypto.CfgBuilderExtensions

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

添加 RSA 加密支持(从 PEM 字符串)

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

Parameters

builder Apq.Cfg.CfgBuilder

pem System.String

configure System.Action<EncryptionOptions>

Returns

Apq.Cfg.CfgBuilder