/// <summary>X509PfxToXml</summary>
 /// <param name="certificateFilePath">X.509鍵(*.pfx)</param>
 /// <param name="password">string</param>
 /// <param name="flg">X509KeyStorageFlags</param>
 /// <returns>Xml公開鍵</returns>
 public static string X509PfxToXml(
     string certificateFilePath, string password,
     X509KeyStorageFlags flg = X509KeyStorageFlags.DefaultKeySet)
 {
     return(RsaPublicKeyConverter.ParamToXml( // *.cer is PublicKey -> ExportParameters(false)
                RsaPublicKeyConverter.X509PfxToProvider(certificateFilePath, password, flg).ExportParameters(false)));
 }
 /// <summary>X509PfxToJwk</summary>
 /// <param name="certificateFilePath">X.509鍵(*.pfx)</param>
 /// <param name="password">string</param>
 /// <param name="settings">JsonSerializerSettings</param>
 /// <param name="flg">X509KeyStorageFlags</param>
 /// <returns>Jwk公開鍵</returns>
 public static string X509PfxToJwk(
     string certificateFilePath, string password,
     JsonSerializerSettings settings = null,
     X509KeyStorageFlags flg         = X509KeyStorageFlags.DefaultKeySet)
 {
     return(RsaPublicKeyConverter.ParamToJwk( // *.cer is PublicKey -> ExportParameters(false)
                RsaPublicKeyConverter.X509PfxToProvider(certificateFilePath, password, flg).ExportParameters(false), settings));
 }