public KeyConfigurationInputModel(KeyMaterialConfiguration keysConfig)
        {
            if (keysConfig.SigningCertificate != null)
            {
                SigningCertificate = keysConfig.SigningCertificate.Subject;
            }
            if (keysConfig.DecryptionCertificate != null)
            {
                DecryptionCertificate = keysConfig.DecryptionCertificate.Subject;
            }

            SymmetricSigningKey = keysConfig.SymmetricSigningKey;
        }
 public KeyConfigurationViewModel(KeyMaterialConfiguration config)
 {
     this.Keys = new KeyConfigurationInputModel(config);
     if (config.SigningCertificate != null)
     {
         SigningCertificateThumbprint = config.SigningCertificate.Thumbprint;
     }
 }