private async Task <string[]> GetCertificates()
        {
            var publicKeyTask       = _digitalSigner.GetPublicKey();
            var publicKeysChainTask = _digitalSigner.GetPublicKeyChain();
            await Task.WhenAll(publicKeyTask, publicKeysChainTask);

            var keys = new List <string> {
                publicKeyTask.Result
            };

            keys.AddRange(publicKeysChainTask.Result);

            return(keys.ToArray());
        }