/// <summary>
 /// Returns if a self signed certificate is properly signed.
 /// </summary>
 private static bool IsSignatureValid(X509Certificate2 cert)
 {
     return(X509Utils.VerifySelfSigned(cert));
 }