public void SetSigningCertificate(X509Certificate2 certificate)
 {
     SigningKey = certificate.GetPrivateKeyAlgorithm();
 }