public void LoadFromCerAzureBlob(string connectionString, string containerName, string blobName, string targetFolder)
            {
                X509Certificate2 x509Certificate2 = CertificateHelpers.GetCertificateInfo(connectionString, containerName, blobName, targetFolder);

                FileName         = blobName;
                Hash             = x509Certificate2.Thumbprint;
                FriendlyName     = x509Certificate2.FriendlyName;
                Issuer           = x509Certificate2.Issuer;
                Subject          = x509Certificate2.Subject;
                Version          = x509Certificate2.Version;
                IssueDate        = x509Certificate2.NotBefore;
                ExpiryDate       = x509Certificate2.NotAfter;
                Base64Encoding   = Convert.ToBase64String(x509Certificate2.GetRawCertData());
                DetailsAvailable = true;
            }
            public void LoadFromCertificateFile(string certificateFile, string blobName)
            {
                X509Certificate2 x509Certificate2 = CertificateHelpers.GetCertificateInfo(certificateFile);

                FileName         = blobName;
                Hash             = x509Certificate2.Thumbprint;
                FriendlyName     = x509Certificate2.FriendlyName;
                Issuer           = x509Certificate2.Issuer;
                Subject          = x509Certificate2.Subject;
                Version          = x509Certificate2.Version;
                IssueDate        = x509Certificate2.NotBefore;
                ExpiryDate       = x509Certificate2.NotAfter;
                Base64Encoding   = Convert.ToBase64String(x509Certificate2.GetRawCertData());
                DetailsAvailable = true;
            }