internal static ICryptoStorage Deserialize(Stream source) { source.ThrowIfNull(nameof(source)); return((ICryptoStorage)GenericSerializer.Deserialize(source, EnumToConstuctorMappings, FormatExceptionMessage)); }
internal static IKeyDerivationFunction Deserialize(Stream source) { source.ThrowIfNull(nameof(source)); return((IKeyDerivationFunction)GenericSerializer.Deserialize(source, EnumToConstuctorMappings, FormatExceptionMessage)); }