src/openSourceC.DotNetLibrary.Core/XmlSerialize.cs
/// <summary>
///		Decrypts and deserializes the specified object using the specified key and
///		initialization vector and returns a base 64 encoded string of the encrypted data.
/// </summary>
/// <typeparam name="TObject">The type of the object to deserialize.</typeparam>
/// <param name="base64XmlString">The string to be decrypted and deserialized.</param>
/// <param name="key">Encryption key.</param>
/// <param name="iv">Encryption initialization vector.</param>
/// <returns>
///		An object of type <typeparamref name="TObject"/>.
/// </returns>
Decrypts and deserializes the specified object using the specified key and
initialization vector and returns a base 64 encoded string of the encrypted data.
Decrypts and deserializes the specified object using the specified key and initialization vector and returns a base 64 encoded string of the encrypted data .
public static TObject? DecryptFromBase64String<TObject>(string base64XmlString, byte[] key, byte[] iv)
		{
			return DecryptFromBase64String<TObject, RijndaelManaged>(base64XmlString, key, iv);
		}
public static TObject ? DecryptFromBase64String < TObject > ( string base64XmlString , byte [ ] key , byte [ ] iv ) { return DecryptFromBase64String < TObject , RijndaelManaged > ( base64XmlString , key , iv ) ; }
Decrypts and deserializes the specified object using the specified key and
initialization vector and returns a base 64 encoded string of the encrypted data.
Decrypts and deserializes the specified object using the specified key and initialization vector and returns a base 64 encoded string of the encrypted data .
// RijndaelManaged // DESCryptoServiceProvider // RC2CryptoServiceProvider // TripleDESCryptoServiceProvider
An object of type .
An object of type .
base64XmlString
string
The string to be decrypted and deserialized.
The string to be decrypted and deserialized .
key
byte[]
None
iv
byte[]
Encryption initialization vector.
Encryption initialization vector .
typeparam
The type of the object to deserialize.
The type of the object to deserialize .