1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| using LifePayment.Domain.Shared;
| using Microsoft.Extensions.Options;
| using System.Text;
| using Volo.Abp.DependencyInjection;
| using ZeroD.IO;
|
| namespace LifePayment.Domain
| {
| public class WxPayRsaHelper : RSABase, ISingletonDependency
| {
| public WxPayRsaHelper(IOptionsMonitor<WxPayOption> optionsMonitor)
| : base(RSAType.RSA2, Encoding.UTF8, optionsMonitor.CurrentValue.APIPrivateKey, optionsMonitor.CurrentValue.APIPublicKey)
| {
| }
| }
| }
|
|