/// <summary>
 /// Load a RSA key out of a PKCS#12 container.
 /// </summary>
 public static RSA LoadPrivateKey(string pkcs12KeyFilePath, string signingKeyAlias, string signingKeyPassword,
                                  X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet)
 {
     return(AuthenticationUtils.LoadSigningKey(pkcs12KeyFilePath, signingKeyAlias, signingKeyPassword, keyStorageFlags));
 }
 /// <summary>
 /// Load a RSACryptoServiceProvider object out of a PKCS#12 container.
 /// </summary>
 public static RSACryptoServiceProvider LoadPrivateKey(string pkcs12KeyFilePath, string signingKeyAlias, string signingKeyPassword,
                                                       X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.Exportable)
 {
     return(AuthenticationUtils.LoadSigningKey(pkcs12KeyFilePath, signingKeyAlias, signingKeyPassword, keyStorageFlags));
 }