public async Task ACME_Test_05_NewKey() { AcmeAccount Account = await this.client.GetAccount(); await Account.NewKey(); CspParameters CspParams = new CspParameters() { Flags = CspProviderFlags.UseMachineKeyStore, KeyContainerName = directory }; using (RSACryptoServiceProvider RSA = new RSACryptoServiceProvider(4096, CspParams)) { RSA.ImportParameters(this.client.ExportAccountKey(true)); } }
public async Task ACME_Test_05_NewKey() { AcmeAccount Account = await this.client.GetAccount(); await Account.NewKey(); }